Skip to content

Commit

Permalink
Renerate files
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
  • Loading branch information
ncdc committed Aug 23, 2017
1 parent 450099c commit d49aea0
Show file tree
Hide file tree
Showing 25 changed files with 520 additions and 11 deletions.
1 change: 1 addition & 0 deletions docs/cli-reference/ark.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ associated data.

```
--alsologtostderr log to standard error as well as files
-h, --help help for ark
--kubeconfig string Path to the kubeconfig file to use to talk to the Kubernetes apiserver. If unset, try the environment variable KUBECONFIG, as well as in-cluster configuration
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log_dir string If non-empty, write log files in this directory
Expand Down
7 changes: 7 additions & 0 deletions docs/cli-reference/ark_backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Work with backups

Work with backups

### Options

```
-h, --help help for backup
```

### Options inherited from parent commands

```
Expand All @@ -24,4 +30,5 @@ Work with backups
* [ark](ark.md) - Back up and restore Kubernetes cluster resources.
* [ark backup create](ark_backup_create.md) - Create a backup
* [ark backup get](ark_backup_get.md) - Get backups
* [ark backup logs](ark_backup_logs.md) - Get backup logs

3 changes: 2 additions & 1 deletion docs/cli-reference/ark_backup_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ Create a backup
Create a backup

```
ark backup create NAME
ark backup create NAME [flags]
```

### Options

```
--exclude-namespaces stringArray namespaces to exclude from the backup
--exclude-resources stringArray resources to exclude from the backup, formatted as resource.group, such as storageclasses.storage.k8s.io
-h, --help help for create
--include-namespaces stringArray namespaces to include in the backup (use '*' for all namespaces) (default *)
--include-resources stringArray resources to include in the backup, formatted as resource.group, such as storageclasses.storage.k8s.io (use '*' for all resources)
--label-columns stringArray a comma-separated list of labels to be displayed as columns
Expand Down
3 changes: 2 additions & 1 deletion docs/cli-reference/ark_backup_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ Get backups
Get backups

```
ark backup get
ark backup get [flags]
```

### Options

```
-h, --help help for get
--label-columns stringArray a comma-separated list of labels to be displayed as columns
-o, --output string Output display format. For create commands, display the object but do not send it to the server. Valid formats are 'table', 'json', and 'yaml'. (default "table")
-l, --selector string only show items matching this label selector
Expand Down
36 changes: 36 additions & 0 deletions docs/cli-reference/ark_backup_logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## ark backup logs

Get backup logs

### Synopsis


Get backup logs

```
ark backup logs BACKUP [flags]
```

### Options

```
-h, --help help for logs
--timeout duration how long to wait to receive logs (default 1m0s)
```

### Options inherited from parent commands

```
--alsologtostderr log to standard error as well as files
--kubeconfig string Path to the kubeconfig file to use to talk to the Kubernetes apiserver. If unset, try the environment variable KUBECONFIG, as well as in-cluster configuration
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log_dir string If non-empty, write log files in this directory
--logtostderr log to standard error instead of files
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level log level for V logs
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
```

### SEE ALSO
* [ark backup](ark_backup.md) - Work with backups

6 changes: 6 additions & 0 deletions docs/cli-reference/ark_restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Work with restores

Work with restores

### Options

```
-h, --help help for restore
```

### Options inherited from parent commands

```
Expand Down
3 changes: 2 additions & 1 deletion docs/cli-reference/ark_restore_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ Create a restore
Create a restore

```
ark restore create BACKUP
ark restore create BACKUP [flags]
```

### Options

```
-h, --help help for create
--label-columns stringArray a comma-separated list of labels to be displayed as columns
--labels mapStringString labels to apply to the restore
--namespace-mappings mapStringString namespace mappings from name in the backup to desired restored name in the form src1:dst1,src2:dst2,...
Expand Down
8 changes: 7 additions & 1 deletion docs/cli-reference/ark_restore_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ Delete a restore
Delete a restore

```
ark restore delete NAME
ark restore delete NAME [flags]
```

### Options

```
-h, --help help for delete
```

### Options inherited from parent commands
Expand Down
3 changes: 2 additions & 1 deletion docs/cli-reference/ark_restore_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ get restores
get restores

```
ark restore get
ark restore get [flags]
```

### Options

```
-h, --help help for get
--label-columns stringArray a comma-separated list of labels to be displayed as columns
-o, --output string Output display format. For create commands, display the object but do not send it to the server. Valid formats are 'table', 'json', and 'yaml'. (default "table")
-l, --selector string only show items matching this label selector
Expand Down
6 changes: 6 additions & 0 deletions docs/cli-reference/ark_schedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Work with schedules

Work with schedules

### Options

```
-h, --help help for schedule
```

### Options inherited from parent commands

```
Expand Down
3 changes: 2 additions & 1 deletion docs/cli-reference/ark_schedule_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ Create a schedule
Create a schedule

```
ark schedule create NAME
ark schedule create NAME [flags]
```

### Options

```
--exclude-namespaces stringArray namespaces to exclude from the backup
--exclude-resources stringArray resources to exclude from the backup, formatted as resource.group, such as storageclasses.storage.k8s.io
-h, --help help for create
--include-namespaces stringArray namespaces to include in the backup (use '*' for all namespaces) (default *)
--include-resources stringArray resources to include in the backup, formatted as resource.group, such as storageclasses.storage.k8s.io (use '*' for all resources)
--label-columns stringArray a comma-separated list of labels to be displayed as columns
Expand Down
8 changes: 7 additions & 1 deletion docs/cli-reference/ark_schedule_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ Delete a schedule
Delete a schedule

```
ark schedule delete NAME
ark schedule delete NAME [flags]
```

### Options

```
-h, --help help for delete
```

### Options inherited from parent commands
Expand Down
3 changes: 2 additions & 1 deletion docs/cli-reference/ark_schedule_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ Get schedules
Get schedules

```
ark schedule get
ark schedule get [flags]
```

### Options

```
-h, --help help for get
--label-columns stringArray a comma-separated list of labels to be displayed as columns
-o, --output string Output display format. For create commands, display the object but do not send it to the server. Valid formats are 'table', 'json', and 'yaml'. (default "table")
-l, --selector string only show items matching this label selector
Expand Down
5 changes: 3 additions & 2 deletions docs/cli-reference/ark_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ Run the ark server
Run the ark server

```
ark server
ark server [flags]
```

### Options

```
--kubeconfig string Path to the kubeconfig file to use to talk to the Kubernetes apiserver. If unset, try the environment variable KUBECONFIG, as well as in-cluster configuration
-h, --help help for server
```

### Options inherited from parent commands

```
--alsologtostderr log to standard error as well as files
--kubeconfig string Path to the kubeconfig file to use to talk to the Kubernetes apiserver. If unset, try the environment variable KUBECONFIG, as well as in-cluster configuration
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log_dir string If non-empty, write log files in this directory
--logtostderr log to standard error instead of files
Expand Down
8 changes: 7 additions & 1 deletion docs/cli-reference/ark_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ Print the ark version and associated image
Print the ark version and associated image

```
ark version
ark version [flags]
```

### Options

```
-h, --help help for version
```

### Options inherited from parent commands
Expand Down
5 changes: 5 additions & 0 deletions pkg/generated/clientset/typed/ark/v1/ark_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type ArkV1Interface interface {
RESTClient() rest.Interface
BackupsGetter
ConfigsGetter
DownloadRequestsGetter
RestoresGetter
SchedulesGetter
}
Expand All @@ -28,6 +29,10 @@ func (c *ArkV1Client) Configs(namespace string) ConfigInterface {
return newConfigs(c, namespace)
}

func (c *ArkV1Client) DownloadRequests(namespace string) DownloadRequestInterface {
return newDownloadRequests(c, namespace)
}

func (c *ArkV1Client) Restores(namespace string) RestoreInterface {
return newRestores(c, namespace)
}
Expand Down
Loading

0 comments on commit d49aea0

Please sign in to comment.