Documentation
¶
Index ¶
- Constants
- Variables
- func IsValidName(s string) (bool, error)
- func NewClusterCommand() *cobra.Command
- func NewCompletionCommand() *cobra.Command
- func NewComponentCommand() *cobra.Command
- func NewComponentListCommand() *cobra.Command
- func NewConfigCommand() *cobra.Command
- func NewConfigCreateContextCommand() *cobra.Command
- func NewConfigCurrentContextCommand() *cobra.Command
- func NewConfigDeleteContextCommand() *cobra.Command
- func NewConfigGetContextsCommand() *cobra.Command
- func NewConfigGetRuntimeCommand() *cobra.Command
- func NewConfigSetRuntimeCommand() *cobra.Command
- func NewConfigUseContextCommand() *cobra.Command
- func NewGitAuthCommand() *cobra.Command
- func NewGitIntegrationAddCommand(client *sdk.AppProxyAPI) *cobra.Command
- func NewGitIntegrationCommand(client *sdk.AppProxyAPI) *cobra.Command
- func NewGitIntegrationDeregisterCommand(client *sdk.AppProxyAPI) *cobra.Command
- func NewGitIntegrationEditCommand(client *sdk.AppProxyAPI) *cobra.Command
- func NewGitIntegrationGetCommand(client *sdk.AppProxyAPI) *cobra.Command
- func NewGitIntegrationListCommand(client *sdk.AppProxyAPI) *cobra.Command
- func NewGitIntegrationRegisterCommand(client *sdk.AppProxyAPI) *cobra.Command
- func NewGitIntegrationRemoveCommand(client *sdk.AppProxyAPI) *cobra.Command
- func NewGitSourceCommand() *cobra.Command
- func NewGitSourceCreateCommand() *cobra.Command
- func NewGitSourceDeleteCommand() *cobra.Command
- func NewGitSourceEditCommand() *cobra.Command
- func NewGitSourceListCommand() *cobra.Command
- func NewIntegrationCommand() *cobra.Command
- func NewPipelineCommand() *cobra.Command
- func NewPipelineGetCommand() *cobra.Command
- func NewPipelineListCommand() *cobra.Command
- func NewRoot() *cobra.Command
- func NewRuntimeCommand() *cobra.Command
- func NewRuntimeInstallCommand() *cobra.Command
- func NewRuntimeListCommand() *cobra.Command
- func NewRuntimeLogsCommand() *cobra.Command
- func NewRuntimeUninstallCommand() *cobra.Command
- func NewRuntimeUpgradeCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- func NewWorkflowCommand() *cobra.Command
- func NewWorkflowGetCommand() *cobra.Command
- func NewWorkflowListCommand() *cobra.Command
- func RunComponentList(ctx context.Context, runtimeName string) error
- func RunConfigCreateContext(ctx context.Context, context, apiKey, url string) error
- func RunConfigCurrentContext(ctx context.Context) error
- func RunConfigDeleteContext(ctx context.Context, context string) error
- func RunConfigGetContexts(ctx context.Context) error
- func RunConfigGetRuntime(ctx context.Context) error
- func RunConfigSetRuntime(ctx context.Context, runtime string) error
- func RunConfigUseContext(ctx context.Context, context string) error
- func RunGitAuthCommand(ctx context.Context, cmd *cobra.Command) error
- func RunGitIntegrationAddCommand(ctx context.Context, client sdk.AppProxyAPI, ...) error
- func RunGitIntegrationDeregisterCommand(ctx context.Context, client sdk.AppProxyAPI, name *string) error
- func RunGitIntegrationEditCommand(ctx context.Context, client sdk.AppProxyAPI, ...) error
- func RunGitIntegrationGetCommand(ctx context.Context, client sdk.AppProxyAPI, name *string, format string) error
- func RunGitIntegrationListCommand(ctx context.Context, client sdk.AppProxyAPI, format string) error
- func RunGitIntegrationRegisterCommand(ctx context.Context, client sdk.AppProxyAPI, ...) error
- func RunGitIntegrationRemoveCommand(ctx context.Context, client sdk.AppProxyAPI, name string) error
- func RunGitSourceCreate(ctx context.Context, opts *GitSourceCreateOptions) error
- func RunGitSourceDelete(ctx context.Context, opts *GitSourceDeleteOptions) error
- func RunGitSourceEdit(ctx context.Context, opts *GitSourceEditOptions) error
- func RunGitSourceList(ctx context.Context, runtimeName string, includeInternal bool) error
- func RunPipelineGet(ctx context.Context, name, namespace, runtime string) error
- func RunPipelineList(ctx context.Context, filterArgs model.PipelinesFilterArgs) error
- func RunWorkflowGet(ctx context.Context, uid string) error
- func RunWorkflowList(ctx context.Context, filterArgs model.WorkflowsFilterArgs) error
- type Callback
- type ClusterAddOptions
- type ClusterCreateArgoRolloutsOptions
- type ClusterRemoveOptions
- type GitIntegrationAddOptions
- type GitIntegrationRegistrationOpts
- type GitSourceCreateOptions
- type GitSourceDeleteOptions
- type GitSourceEditOptions
- type RuntimeInstallOptions
- type RuntimeUninstallOptions
- type RuntimeUpgradeOptions
- type SelectItem
Constants ¶
View Source
const ( Success summaryLogLevels = "Success" Failed summaryLogLevels = "Failed" Info summaryLogLevels = "Info" )
Variables ¶
View Source
var ( GREEN = "\033[32m" RED = "\033[31m" CYAN = "\033[36m" BOLD = "\033[1m" UNDERLINE = "\033[4m" COLOR_RESET = "\033[0m" UNDERLINE_RESET = "\033[24m" BOLD_RESET = "\033[22m" )
Functions ¶
func IsValidName ¶ added in v0.0.156
func NewClusterCommand ¶ added in v0.0.283
func NewCompletionCommand ¶ added in v0.0.254
func NewComponentCommand ¶ added in v0.0.68
func NewComponentListCommand ¶ added in v0.0.68
func NewConfigCommand ¶
func NewConfigGetRuntimeCommand ¶ added in v0.0.143
func NewConfigSetRuntimeCommand ¶ added in v0.0.143
func NewGitAuthCommand ¶ added in v0.0.293
func NewGitIntegrationAddCommand ¶ added in v0.0.143
func NewGitIntegrationAddCommand(client *sdk.AppProxyAPI) *cobra.Command
func NewGitIntegrationCommand ¶ added in v0.0.143
func NewGitIntegrationCommand(client *sdk.AppProxyAPI) *cobra.Command
func NewGitIntegrationDeregisterCommand ¶ added in v0.0.143
func NewGitIntegrationDeregisterCommand(client *sdk.AppProxyAPI) *cobra.Command
func NewGitIntegrationEditCommand ¶ added in v0.0.143
func NewGitIntegrationEditCommand(client *sdk.AppProxyAPI) *cobra.Command
func NewGitIntegrationGetCommand ¶ added in v0.0.143
func NewGitIntegrationGetCommand(client *sdk.AppProxyAPI) *cobra.Command
func NewGitIntegrationListCommand ¶ added in v0.0.143
func NewGitIntegrationListCommand(client *sdk.AppProxyAPI) *cobra.Command
func NewGitIntegrationRegisterCommand ¶ added in v0.0.143
func NewGitIntegrationRegisterCommand(client *sdk.AppProxyAPI) *cobra.Command
func NewGitIntegrationRemoveCommand ¶ added in v0.0.143
func NewGitIntegrationRemoveCommand(client *sdk.AppProxyAPI) *cobra.Command
func NewGitSourceCommand ¶
func NewGitSourceEditCommand ¶ added in v0.0.67
func NewGitSourceListCommand ¶ added in v0.0.66
func NewIntegrationCommand ¶ added in v0.0.143
func NewPipelineCommand ¶ added in v0.0.83
func NewPipelineGetCommand ¶ added in v0.0.83
func NewPipelineListCommand ¶ added in v0.0.83
func NewRuntimeCommand ¶
func NewRuntimeListCommand ¶
func NewRuntimeLogsCommand ¶ added in v0.0.386
func NewRuntimeUninstallCommand ¶ added in v0.0.86
func NewVersionCommand ¶
func NewWorkflowCommand ¶ added in v0.0.83
func NewWorkflowGetCommand ¶ added in v0.0.83
func NewWorkflowListCommand ¶ added in v0.0.83
func RunComponentList ¶ added in v0.0.68
func RunConfigCreateContext ¶
func RunConfigCurrentContext ¶
func RunConfigDeleteContext ¶
func RunConfigGetContexts ¶
func RunConfigGetRuntime ¶ added in v0.0.143
func RunConfigSetRuntime ¶ added in v0.0.143
func RunGitAuthCommand ¶ added in v0.0.293
func RunGitIntegrationAddCommand ¶ added in v0.0.143
func RunGitIntegrationAddCommand(ctx context.Context, client sdk.AppProxyAPI, opts *apmodel.AddGitIntegrationArgs) error
func RunGitIntegrationDeregisterCommand ¶ added in v0.0.143
func RunGitIntegrationEditCommand ¶ added in v0.0.143
func RunGitIntegrationEditCommand(ctx context.Context, client sdk.AppProxyAPI, opts *apmodel.EditGitIntegrationArgs) error
func RunGitIntegrationGetCommand ¶ added in v0.0.143
func RunGitIntegrationListCommand ¶ added in v0.0.143
func RunGitIntegrationRegisterCommand ¶ added in v0.0.143
func RunGitIntegrationRegisterCommand(ctx context.Context, client sdk.AppProxyAPI, opts *GitIntegrationRegistrationOpts) error
func RunGitIntegrationRemoveCommand ¶ added in v0.0.143
func RunGitSourceCreate ¶ added in v0.0.68
func RunGitSourceCreate(ctx context.Context, opts *GitSourceCreateOptions) error
func RunGitSourceDelete ¶ added in v0.0.68
func RunGitSourceDelete(ctx context.Context, opts *GitSourceDeleteOptions) error
func RunGitSourceEdit ¶ added in v0.0.68
func RunGitSourceEdit(ctx context.Context, opts *GitSourceEditOptions) error
func RunGitSourceList ¶ added in v0.0.66
func RunPipelineGet ¶ added in v0.0.83
func RunPipelineList ¶ added in v0.0.83
func RunPipelineList(ctx context.Context, filterArgs model.PipelinesFilterArgs) error
func RunWorkflowList ¶ added in v0.0.83
func RunWorkflowList(ctx context.Context, filterArgs model.WorkflowsFilterArgs) error
Types ¶
type ClusterAddOptions ¶ added in v0.0.283
type ClusterAddOptions struct {
// contains filtered or unexported fields
}
type ClusterCreateArgoRolloutsOptions ¶ added in v0.0.321
type ClusterCreateArgoRolloutsOptions struct {
// contains filtered or unexported fields
}
type ClusterRemoveOptions ¶ added in v0.0.298
type ClusterRemoveOptions struct {
// contains filtered or unexported fields
}
type GitIntegrationAddOptions ¶ added in v0.0.143
type GitIntegrationAddOptions struct {
Name string
Provider apmodel.GitProviders
SharingPolicy apmodel.SharingPolicy
}
type GitIntegrationRegistrationOpts ¶ added in v0.0.500
type GitSourceCreateOptions ¶
type GitSourceCreateOptions struct {
InsCloneOpts *git.CloneOptions
GsCloneOpts *git.CloneOptions
GsName string
RuntimeName string
CreateDemoResources bool
Exclude string
Include string
HostName string
IngressHost string
IngressClass string
IngressController routingutil.RoutingController
AccessMode platmodel.AccessMode
GatewayName string
GatewayNamespace string
GitProvider cfgit.Provider
// contains filtered or unexported fields
}
type GitSourceDeleteOptions ¶
type GitSourceEditOptions ¶ added in v0.0.67
type GitSourceEditOptions struct {
RuntimeName string
GsName string
InsCloneOpts *git.CloneOptions
GsCloneOpts *git.CloneOptions
Include *string
Exclude *string
}
type RuntimeInstallOptions ¶
type RuntimeInstallOptions struct {
RuntimeName string
RuntimeToken string
RuntimeStoreIV string
HostName string
InternalHostName string
IngressHost string
IngressClass string
InternalIngressHost string
IngressController routingutil.RoutingController
GatewayName string
GatewayNamespace string
Insecure bool
InstallDemoResources bool
SkipClusterChecks bool
DisableRollback bool
DisableTelemetry bool
FromRepo bool
Version *semver.Version
GsCloneOpts *apgit.CloneOptions
InsCloneOpts *apgit.CloneOptions
GitIntegrationCreationOpts *apmodel.AddGitIntegrationArgs
GitIntegrationRegistrationOpts *GitIntegrationRegistrationOpts
KubeFactory kube.Factory
CommonConfig *runtime.CommonConfig
NamespaceLabels map[string]string
InternalIngressAnnotation map[string]string
ExternalIngressAnnotation map[string]string
EnableGitProviders bool
AccessMode platmodel.AccessMode
InstallFeatures []runtime.InstallFeature
TunnelRegisterHost string
TunnelDomain string
TunnelSubdomain string
SkipIngress bool
// contains filtered or unexported fields
}
type RuntimeUninstallOptions ¶
type RuntimeUpgradeOptions ¶
type RuntimeUpgradeOptions struct {
RuntimeName string
Version *semver.Version
CloneOpts *apgit.CloneOptions
CommonConfig *runtime.CommonConfig
DisableTelemetry bool
}
type SelectItem ¶ added in v0.0.290
Click to show internal directories.
Click to hide internal directories.