Documentation ¶
Index ¶
- Constants
- type ApplicationGenerator
- type AuthInfo
- type Cluster
- type ClusterGenerator
- type Config
- type Generator
- func NewApplicationGenerator(argoClientSet *appclientset.Clientset, clientSet *kubernetes.Clientset, ...) Generator
- func NewClusterGenerator(db db.ArgoDB, clientSet *kubernetes.Clientset, config *rest.Config) Generator
- func NewProjectGenerator(clientSet *appclientset.Clientset) Generator
- func NewRepoGenerator(clientSet *kubernetes.Clientset) Generator
- type NamedAuthInfo
- type NamedCluster
- type ProjectGenerator
- type Repo
- type RepoGenerator
Constants ¶
View Source
const POD_PREFIX = "vcluster"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationGenerator ¶
type ApplicationGenerator struct {
// contains filtered or unexported fields
}
func (*ApplicationGenerator) Clean ¶
func (ag *ApplicationGenerator) Clean(opts *util.GenerateOpts) error
func (*ApplicationGenerator) Generate ¶
func (pg *ApplicationGenerator) Generate(opts *util.GenerateOpts) error
type ClusterGenerator ¶
type ClusterGenerator struct {
// contains filtered or unexported fields
}
func (*ClusterGenerator) Clean ¶
func (cg *ClusterGenerator) Clean(opts *util.GenerateOpts) error
func (*ClusterGenerator) Generate ¶
func (cg *ClusterGenerator) Generate(opts *util.GenerateOpts) error
type Config ¶
type Config struct { Clusters []NamedCluster `yaml:"clusters"` AuthInfos []NamedAuthInfo `yaml:"users"` }
type Generator ¶
type Generator interface { Generate(opts *util.GenerateOpts) error Clean(opts *util.GenerateOpts) error }
func NewApplicationGenerator ¶
func NewApplicationGenerator(argoClientSet *appclientset.Clientset, clientSet *kubernetes.Clientset, db db.ArgoDB) Generator
func NewClusterGenerator ¶
func NewProjectGenerator ¶
func NewProjectGenerator(clientSet *appclientset.Clientset) Generator
func NewRepoGenerator ¶
func NewRepoGenerator(clientSet *kubernetes.Clientset) Generator
type NamedAuthInfo ¶
type NamedCluster ¶
type ProjectGenerator ¶
type ProjectGenerator struct {
// contains filtered or unexported fields
}
func (*ProjectGenerator) Clean ¶
func (pg *ProjectGenerator) Clean(opts *util.GenerateOpts) error
func (*ProjectGenerator) Generate ¶
func (pg *ProjectGenerator) Generate(opts *util.GenerateOpts) error
type RepoGenerator ¶
type RepoGenerator struct {
// contains filtered or unexported fields
}
func (*RepoGenerator) Clean ¶
func (rg *RepoGenerator) Clean(opts *util.GenerateOpts) error
func (*RepoGenerator) Generate ¶
func (rg *RepoGenerator) Generate(opts *util.GenerateOpts) error
Click to show internal directories.
Click to hide internal directories.