Documentation ¶
Index ¶
- Variables
- func NewAppCommand() *cobra.Command
- func NewAppCreateCommand(cloneOpts *git.CloneOptions) *cobra.Command
- func NewAppDeleteCommand(cloneOpts *git.CloneOptions) *cobra.Command
- func NewAppListCommand(cloneOpts *git.CloneOptions) *cobra.Command
- func NewProjectCommand() *cobra.Command
- func NewProjectCreateCommand(cloneOpts *git.CloneOptions) *cobra.Command
- func NewProjectDeleteCommand(cloneOpts *git.CloneOptions) *cobra.Command
- func NewProjectListCommand(cloneOpts *git.CloneOptions) *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 *AppListOptions) error
- func RunProjectCreate(ctx context.Context, opts *ProjectCreateOptions) error
- func RunProjectDelete(ctx context.Context, opts *ProjectDeleteOptions) error
- func RunProjectList(ctx context.Context, opts *ProjectListOptions) error
- func RunRepoBootstrap(ctx context.Context, opts *RepoBootstrapOptions) error
- func RunRepoCreate(ctx context.Context, opts *RepoCreateOptions) (*git.CloneOptions, error)
- type AppCreateOptions
- type AppDeleteOptions
- type AppListOptions
- type GenerateProjectOptions
- type ProjectCreateOptions
- type ProjectDeleteOptions
- type ProjectListOptions
- type RepoBootstrapOptions
- type RepoCreateOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultApplicationSetGeneratorInterval int64 = 20
)
used for mocking
Functions ¶
func NewAppCommand ¶
func NewAppCreateCommand ¶
func NewAppCreateCommand(cloneOpts *git.CloneOptions) *cobra.Command
func NewAppDeleteCommand ¶
func NewAppDeleteCommand(cloneOpts *git.CloneOptions) *cobra.Command
func NewAppListCommand ¶
func NewAppListCommand(cloneOpts *git.CloneOptions) *cobra.Command
func NewProjectCommand ¶
func NewProjectCreateCommand ¶
func NewProjectCreateCommand(cloneOpts *git.CloneOptions) *cobra.Command
func NewProjectDeleteCommand ¶
func NewProjectDeleteCommand(cloneOpts *git.CloneOptions) *cobra.Command
func NewProjectListCommand ¶
func NewProjectListCommand(cloneOpts *git.CloneOptions) *cobra.Command
func NewRepoBootstrapCommand ¶
func NewRepoCommand ¶
func NewRepoCreateCommand ¶
func NewVersionCommand ¶
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 *AppListOptions) error
func RunProjectCreate ¶
func RunProjectCreate(ctx context.Context, opts *ProjectCreateOptions) error
func RunProjectDelete ¶
func RunProjectDelete(ctx context.Context, opts *ProjectDeleteOptions) 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) (*git.CloneOptions, error)
Types ¶
type AppCreateOptions ¶
type AppCreateOptions struct { CloneOpts *git.CloneOptions ProjectName string AppOpts *application.CreateOptions }
type AppDeleteOptions ¶
type AppDeleteOptions struct { CloneOpts *git.CloneOptions ProjectName string AppName string Global bool }
type AppListOptions ¶ added in v0.2.0
type AppListOptions struct { CloneOpts *git.CloneOptions ProjectName string }
type GenerateProjectOptions ¶
type ProjectCreateOptions ¶
type ProjectCreateOptions struct { CloneOpts *git.CloneOptions ProjectName string DestKubeContext string DryRun bool AddCmd argocd.AddClusterCmd }
type ProjectDeleteOptions ¶ added in v0.2.0
type ProjectDeleteOptions struct { CloneOpts *git.CloneOptions ProjectName string }
type ProjectListOptions ¶
type ProjectListOptions struct { CloneOpts *git.CloneOptions Out io.Writer }
type RepoBootstrapOptions ¶
type RepoCreateOptions ¶
type RepoCreateOptions struct { Provider string Owner string Repo string Token string Public bool Host string }
func AddRepoCreateFlags ¶ added in v0.2.0
func AddRepoCreateFlags(cmd *cobra.Command, prefix string) *RepoCreateOptions
Click to show internal directories.
Click to hide internal directories.