Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GiteaCmd ¶
type GiteaCmd struct {
// Owner is the owner of the repository
Owner string
// Token is the token to use for authentication
Token string
// Personal indicates whether the repository is a personal repository
Personal bool
// Hostname is the hostname of the Gitea instance
Hostname string
// Repository is the name of the repository
Repository string
// FromFile is the path to a file archive to use for bootstrapping
FromFile string
// Registry is the registry to use for the bootstrap components
Registry string
// DockerconfigPath is the path to the docker config file
DockerconfigPath string
// Path is the path in the repository to use to host the bootstrapped components yamls
Path string
// CommitMessageAppendix is the appendix to add to the commit message
// for example to skip CI
CommitMessageAppendix string
// Private indicates whether the repository is private
Private bool
// Interval is the interval to use for reconciling
Interval time.Duration
// Timeout is the timeout to use for operations
Timeout time.Duration
// Components is the list of components to install
Components []string
// DestructiveActions indicates whether destructive actions are allowed
DestructiveActions bool
// TestURL is the URL to use for testing the management repository
TestURL string
// CaFile defines and optional root certificate for the git repository used by flux.
CaFile string
// contains filtered or unexported fields
}
GiteaCmd is a command for bootstrapping a Gitea repository
type GithubCmd ¶
type GithubCmd struct {
// Owner is the owner of the repository
Owner string
// Token is the token to use for authentication
Token string
// Personal indicates whether the repository is a personal repository
Personal bool
// Hostname is the hostname of the Github instance
Hostname string
// Repository is the name of the repository
Repository string
// FromFile is the path to a file archive to use for bootstrapping
FromFile string
// Registry is the registry to use for the bootstrap components
Registry string
// DockerconfigPath is the path to the docker config file
DockerconfigPath string
// Path is the path in the repository to use to host the bootstrapped components yamls
Path string
// CommitMessageAppendix is the appendix to add to the commit message
// for example to skip CI
CommitMessageAppendix string
// Private indicates whether the repository is private
Private bool
// Interval is the interval to use for reconciling
Interval time.Duration
// Timeout is the timeout to use for operations
Timeout time.Duration
// Components is the list of components to install
Components []string
// DestructiveActions indicates whether destructive actions are allowed
DestructiveActions bool
// CaFile defines and optional root certificate for the git repository used by flux.
CaFile string
// contains filtered or unexported fields
}
GithubCmd is a command for bootstrapping a GitHub repository
type GitlabCmd ¶ added in v0.6.3
type GitlabCmd struct {
// Owner is the owner of the repository
Owner string
// Token is the token to use for authentication
Token string
// Token is the token to use for authentication
TokenType string
// Personal indicates whether the repository is a personal repository
Personal bool
// Hostname is the hostname of the Gitlab instance
Hostname string
// Repository is the name of the repository
Repository string
// FromFile is the path to a file archive to use for bootstrapping
FromFile string
// Registry is the registry to use for the bootstrap components
Registry string
// DockerconfigPath is the path to the docker config file
DockerconfigPath string
// Path is the path in the repository to use to host the bootstrapped components yaml files
Path string
// CommitMessageAppendix is the appendix to add to the commit message
// for example to skip CI
CommitMessageAppendix string
// Private indicates whether the repository is private
Private bool
// Interval is the interval to use for reconciling
Interval time.Duration
// Timeout is the timeout to use for operations
Timeout time.Duration
// Components is the list of components to install
Components []string
// DestructiveActions indicates whether destructive actions are allowed
DestructiveActions bool
// TestURL is the URL to use for testing the management repository
TestURL string
// CaFile defines and optional root certificate for the git repository used by flux.
CaFile string
// contains filtered or unexported fields
}
GitlabCmd is a command for bootstrapping a Gitlab repository
Click to show internal directories.
Click to hide internal directories.