Documentation ¶
Index ¶
- func ConnectToK8sArgoClientSet() *appclientset.Clientset
- func ConnectToK8sClientSet() *kubernetes.Clientset
- func ConnectToK8sConfig() *rest.Config
- func GetRandomString() string
- func Parse(opts *GenerateOpts, file string) error
- type ApplicationOpts
- type Bar
- type ClusterOpts
- type DestinationOpts
- type GenerateOpts
- type Kube
- type ProjectOpts
- type RepositoryOpts
- type SourceOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToK8sArgoClientSet ¶
func ConnectToK8sArgoClientSet() *appclientset.Clientset
func ConnectToK8sClientSet ¶
func ConnectToK8sClientSet() *kubernetes.Clientset
func ConnectToK8sConfig ¶
func GetRandomString ¶
func GetRandomString() string
func Parse ¶
func Parse(opts *GenerateOpts, file string) error
Types ¶
type ApplicationOpts ¶
type ApplicationOpts struct { Samples int `yaml:"samples"` SourceOpts SourceOpts `yaml:"source"` DestinationOpts DestinationOpts `yaml:"destination"` }
type ClusterOpts ¶
type DestinationOpts ¶
type DestinationOpts struct {
Strategy string `yaml:"strategy"`
}
type GenerateOpts ¶
type GenerateOpts struct { ApplicationOpts ApplicationOpts `yaml:"application"` ClusterOpts ClusterOpts `yaml:"cluster"` RepositoryOpts RepositoryOpts `yaml:"repository"` ProjectOpts ProjectOpts `yaml:"project"` GithubToken string Namespace string `yaml:"namespace"` }
type ProjectOpts ¶
type ProjectOpts struct {
Samples int `yaml:"samples"`
}
type RepositoryOpts ¶
type RepositoryOpts struct {
Samples int `yaml:"samples"`
}
type SourceOpts ¶
type SourceOpts struct {
Strategy string `yaml:"strategy"`
}
Click to show internal directories.
Click to hide internal directories.