export

package
v5.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRepoCommand

func InitRepoCommand() *cobra.Command

InitRepoCommand creates the `init-repo` command

func NewExportAclsCommand

func NewExportAclsCommand() *cobra.Command

NewExportAclsCommand creates `export acls` command

func NewExportAlertChannelsCommand

func NewExportAlertChannelsCommand() *cobra.Command

NewExportAlertChannelsCommand creates `export alert-channels` command

func NewExportAlertsCommand

func NewExportAlertsCommand() *cobra.Command

NewExportAlertsCommand creates `export alert-settings` command

func NewExportAuditChannelsCommand

func NewExportAuditChannelsCommand() *cobra.Command

NewExportAuditChannelsCommand creates `export audit-channels` command

func NewExportConnectionsCommand

func NewExportConnectionsCommand(client apiClient, writer fileWriter) *cobra.Command

NewExportConnectionsCommand creates `export connections`

func NewExportConnectorsCommand

func NewExportConnectorsCommand() *cobra.Command

NewExportConnectorsCommand creates `export connectors` command

func NewExportGroupCommand

func NewExportGroupCommand() *cobra.Command

NewExportGroupCommand creates the `export` command

func NewExportGroupsCommand

func NewExportGroupsCommand() *cobra.Command

NewExportGroupsCommand creates `export users`

func NewExportPoliciesCommand

func NewExportPoliciesCommand() *cobra.Command

NewExportPoliciesCommand creates `export policies` command

func NewExportProcessorsCommand

func NewExportProcessorsCommand() *cobra.Command

NewExportProcessorsCommand creates `export processors` command

func NewExportQuotasCommand

func NewExportQuotasCommand() *cobra.Command

NewExportQuotasCommand creates `export quotas` command

func NewExportSchemasCmd

func NewExportSchemasCmd() *cobra.Command

NewExportSchemasCmd to export schemas to yaml

func NewExportServiceAccountsCommand

func NewExportServiceAccountsCommand() *cobra.Command

NewExportServiceAccountsCommand creates `export serviceaccounts`

func NewExportTopicSettingsCmd

func NewExportTopicSettingsCmd() *cobra.Command

NewExportTopicSettingsCmd to export topic-settings to yaml

func NewExportTopicsCommand

func NewExportTopicsCommand() *cobra.Command

NewExportTopicsCommand creates `export topics` command

func WriteSchemas

func WriteSchemas(cmd *cobra.Command, client *api.Client, name string) error

WriteSchemas to a file

func WriteTopicSettings

func WriteTopicSettings(cmd *cobra.Command, client *api.Client) error

WriteTopicSettings to a file

Types

type OSFileWriter added in v5.5.1

type OSFileWriter struct{}

func (OSFileWriter) MkdirAll added in v5.5.1

func (w OSFileWriter) MkdirAll(landscape string, mode fs.FileMode) error

MkdirAll creates the landscape dir with the specified mode

func (OSFileWriter) WriteFile added in v5.5.1

func (w OSFileWriter) WriteFile(filePath string, content string, mode fs.FileMode) error

WriteFile writes the content to a file with the specified filename and mode.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL