Documentation
¶
Index ¶
Constants ¶
View Source
const (
KustomizePluginKind = "ExperimentGenerator"
)
Variables ¶
This section is empty.
Functions ¶
func NewInitCommand ¶
Types ¶
type BootstrapConfig ¶
type BootstrapConfig struct {
Namespace corev1.Namespace
ClusterRole rbacv1.ClusterRole
ClusterRoleBinding rbacv1.ClusterRoleBinding
Role rbacv1.Role
RoleBinding rbacv1.RoleBinding
Secret corev1.Secret
PatchingClusterRole rbacv1.ClusterRole
PatchingClusterRoleBinding rbacv1.ClusterRoleBinding
DefaultPatchingClusterRole rbacv1.ClusterRole
Job batchv1.Job
// contains filtered or unexported fields
}
BootstrapConfig holds the objects necessary for bootstrapping a Red Sky Ops Manager
func NewBootstrapInitConfig ¶
func NewBootstrapInitConfig(o *SetupOptions, clientConfig *api.Config) (*BootstrapConfig, error)
NewBootstrapInitConfig creates a complete bootstrap configuration from the supplied values
func NewBootstrapResetConfig ¶
func NewBootstrapResetConfig(o *SetupOptions) (*BootstrapConfig, error)
NewBootstrapResetConfig creates a configuration for performing a reset
type SetupError ¶
func (*SetupError) Error ¶
func (e *SetupError) Error() string
type SetupOptions ¶
type SetupOptions struct {
Bootstrap bool
DryRun bool
Kustomize bool
ClientSet *kubernetes.Clientset
Run func() error
cmdutil.IOStreams
// contains filtered or unexported fields
}
func NewSetupOptions ¶
func NewSetupOptions(ioStreams cmdutil.IOStreams) *SetupOptions
func (*SetupOptions) AddFlags ¶
func (o *SetupOptions) AddFlags(cmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.