Documentation
¶
Index ¶
- Variables
- func NewAppCommand() *cobra.Command
- func NewAppCreateCommand(opts *BaseOptions) *cobra.Command
- func NewAppDeleteCommand(opts *BaseOptions) *cobra.Command
- func NewAppListCommand(opts *BaseOptions) *cobra.Command
- func NewProjectCommand() *cobra.Command
- func NewProjectCreateCommand(opts *BaseOptions) *cobra.Command
- func NewProjectDeleteCommand(opts *BaseOptions) *cobra.Command
- func NewProjectListCommand(opts *BaseOptions) *cobra.Command
- func NewRepoBootstrapCommand() *cobra.Command
- func NewRepoCommand() *cobra.Command
- func NewRepoCreateCommand() *cobra.Command
- func NewRoot() *cobra.Command
- func NewVersionCommand() *cobra.Command
- func RunAppCreate(ctx context.Context, opts *AppCreateOptions) error
- func RunAppDelete(ctx context.Context, opts *AppDeleteOptions) error
- func RunAppList(ctx context.Context, opts *BaseOptions) error
- func RunProjectCreate(ctx context.Context, opts *ProjectCreateOptions) error
- func RunProjectDelete(ctx context.Context, opts *BaseOptions) error
- func RunProjectList(ctx context.Context, opts *ProjectListOptions) error
- func RunRepoBootstrap(ctx context.Context, opts *RepoBootstrapOptions) error
- func RunRepoCreate(ctx context.Context, opts *RepoCreateOptions) error
- type AppCreateOptions
- type AppDeleteOptions
- type BaseOptions
- type GenerateProjectOptions
- type ProjectCreateOptions
- type ProjectListOptions
- type RepoBootstrapOptions
- type RepoCreateOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultApplicationSetGeneratorInterval int64 = 20
Functions ¶
func NewAppCommand ¶
func NewAppCommand() *cobra.Command
func NewAppCreateCommand ¶
func NewAppCreateCommand(opts *BaseOptions) *cobra.Command
func NewAppDeleteCommand ¶
func NewAppDeleteCommand(opts *BaseOptions) *cobra.Command
func NewAppListCommand ¶
func NewAppListCommand(opts *BaseOptions) *cobra.Command
func NewProjectCommand ¶
func NewProjectCommand() *cobra.Command
func NewProjectCreateCommand ¶
func NewProjectCreateCommand(opts *BaseOptions) *cobra.Command
func NewProjectDeleteCommand ¶
func NewProjectDeleteCommand(opts *BaseOptions) *cobra.Command
func NewProjectListCommand ¶
func NewProjectListCommand(opts *BaseOptions) *cobra.Command
func NewRepoBootstrapCommand ¶
func NewRepoBootstrapCommand() *cobra.Command
func NewRepoCommand ¶
func NewRepoCommand() *cobra.Command
func NewRepoCreateCommand ¶
func NewRepoCreateCommand() *cobra.Command
func NewVersionCommand ¶
func NewVersionCommand() *cobra.Command
func RunAppCreate ¶
func RunAppCreate(ctx context.Context, opts *AppCreateOptions) error
func RunAppDelete ¶
func RunAppDelete(ctx context.Context, opts *AppDeleteOptions) error
func RunAppList ¶
func RunAppList(ctx context.Context, opts *BaseOptions) error
func RunProjectCreate ¶
func RunProjectCreate(ctx context.Context, opts *ProjectCreateOptions) error
func RunProjectDelete ¶
func RunProjectDelete(ctx context.Context, opts *BaseOptions) error
func RunProjectList ¶
func RunProjectList(ctx context.Context, opts *ProjectListOptions) error
func RunRepoBootstrap ¶
func RunRepoBootstrap(ctx context.Context, opts *RepoBootstrapOptions) error
func RunRepoCreate ¶
func RunRepoCreate(ctx context.Context, opts *RepoCreateOptions) error
Types ¶
type AppCreateOptions ¶
type AppCreateOptions struct {
BaseOptions
AppOpts *application.CreateOptions
}
type AppDeleteOptions ¶
type AppDeleteOptions struct {
BaseOptions
AppName string
Global bool
}
type BaseOptions ¶
type BaseOptions struct {
CloneOptions *git.CloneOptions
FS fs.FS
ProjectName string
}
type GenerateProjectOptions ¶
type GenerateProjectOptions struct {
Name string
Namespace string
DefaultDestServer string
RepoURL string
Revision string
InstallationPath string
}
type ProjectCreateOptions ¶
type ProjectCreateOptions struct {
BaseOptions
Name string
DestKubeContext string
DryRun bool
AddCmd argocd.AddClusterCmd
}
type ProjectListOptions ¶
type ProjectListOptions struct {
BaseOptions
Out io.Writer
}
type RepoBootstrapOptions ¶
type RepoBootstrapOptions struct {
AppSpecifier string
InstallationMode string
Namespace string
KubeContext string
Namespaced bool
DryRun bool
HidePassword bool
Timeout time.Duration
FS fs.FS
KubeFactory kube.Factory
CloneOptions *git.CloneOptions
}
type RepoCreateOptions ¶
type RepoCreateOptions struct {
Provider string
Owner string
Repo string
Token string
Public bool
Host string
}
Click to show internal directories.
Click to hide internal directories.