operator

package
v1.11.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 93 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCleanupJobCmd added in v1.10.0

func NewCleanupJobCmd(streams genericclioptions.IOStreams) *cobra.Command

func NewGatherCmd added in v1.11.0

func NewGatherCmd(streams genericclioptions.IOStreams) *cobra.Command

func NewManagerControllerCmd

func NewManagerControllerCmd(streams genericclioptions.IOStreams) *cobra.Command

func NewMustGatherCmd added in v1.11.0

func NewMustGatherCmd(streams genericclioptions.IOStreams) *cobra.Command

func NewNodeSetupCmd added in v1.9.0

func NewNodeSetupCmd(streams genericclioptions.IOStreams) *cobra.Command

func NewOperatorCmd

func NewOperatorCmd(streams genericclioptions.IOStreams) *cobra.Command

func NewOperatorCommand added in v1.4.0

func NewOperatorCommand(streams genericclioptions.IOStreams) *cobra.Command

func NewSidecarCmd

func NewSidecarCmd(streams genericclioptions.IOStreams) *cobra.Command

func NewWebhookCmd added in v1.4.0

func NewWebhookCmd(streams genericclioptions.IOStreams) *cobra.Command

Types

type CleanupJobOptions added in v1.10.0

type CleanupJobOptions struct {
	ManagerAuthConfigPath string
	NodeAddress           string
	// contains filtered or unexported fields
}

func NewCleanupJobOptions added in v1.10.0

func NewCleanupJobOptions(streams genericclioptions.IOStreams) *CleanupJobOptions

func (*CleanupJobOptions) Complete added in v1.10.0

func (o *CleanupJobOptions) Complete() error

func (*CleanupJobOptions) Run added in v1.10.0

func (*CleanupJobOptions) Validate added in v1.10.0

func (o *CleanupJobOptions) Validate() error

type GatherBaseOptions added in v1.11.0

type GatherBaseOptions struct {
	GathererName string
	ConfigFlags  *kgenericclioptions.ConfigFlags

	DestDir              string
	CollectManagedFields bool
	LogsLimitBytes       int64
	KeepGoing            bool
	// contains filtered or unexported fields
}

func NewGatherBaseOptions added in v1.11.0

func NewGatherBaseOptions(gathererName string, keepGoing bool) *GatherBaseOptions

func (*GatherBaseOptions) AddFlags added in v1.11.0

func (o *GatherBaseOptions) AddFlags(flagset *pflag.FlagSet)

func (*GatherBaseOptions) Complete added in v1.11.0

func (o *GatherBaseOptions) Complete() error

func (*GatherBaseOptions) GetPrinters added in v1.11.0

func (*GatherBaseOptions) RunInit added in v1.11.0

func (o *GatherBaseOptions) RunInit(originalStreams genericclioptions.IOStreams, cmd *cobra.Command) error

func (*GatherBaseOptions) Validate added in v1.11.0

func (o *GatherBaseOptions) Validate() error

type GatherOptions added in v1.11.0

type GatherOptions struct {
	*GatherBaseOptions

	CollectRelatedResources bool
	// contains filtered or unexported fields
}

func NewGatherOptions added in v1.11.0

func NewGatherOptions(streams genericclioptions.IOStreams) *GatherOptions

func (*GatherOptions) AddFlags added in v1.11.0

func (o *GatherOptions) AddFlags(flagset *pflag.FlagSet)

func (*GatherOptions) Complete added in v1.11.0

func (o *GatherOptions) Complete(args []string) error

func (*GatherOptions) Run added in v1.11.0

func (o *GatherOptions) Run(originalStreams genericclioptions.IOStreams, cmd *cobra.Command) (returnErr error)

func (*GatherOptions) Validate added in v1.11.0

func (o *GatherOptions) Validate(args []string) error

type ManagerControllerOptions added in v1.4.0

type ManagerControllerOptions struct {
	genericclioptions.ClientConfig
	genericclioptions.InClusterReflection
	genericclioptions.LeaderElection

	ConcurrentSyncs int
	// contains filtered or unexported fields
}

func NewManagerControllerOptions added in v1.4.0

func NewManagerControllerOptions(streams genericclioptions.IOStreams) *ManagerControllerOptions

func (*ManagerControllerOptions) Complete added in v1.4.0

func (o *ManagerControllerOptions) Complete() error

func (*ManagerControllerOptions) Run added in v1.4.0

func (*ManagerControllerOptions) Validate added in v1.4.0

func (o *ManagerControllerOptions) Validate() error

type MustGatherOptions added in v1.11.0

type MustGatherOptions struct {
	*GatherBaseOptions

	AllResources bool
}

func NewMustGatherOptions added in v1.11.0

func NewMustGatherOptions(streams genericclioptions.IOStreams) *MustGatherOptions

func (*MustGatherOptions) AddFlags added in v1.11.0

func (o *MustGatherOptions) AddFlags(flagset *pflag.FlagSet)

func (*MustGatherOptions) Complete added in v1.11.0

func (o *MustGatherOptions) Complete() error

func (*MustGatherOptions) Run added in v1.11.0

func (o *MustGatherOptions) Run(originalStreams genericclioptions.IOStreams, cmd *cobra.Command) (returnErr error)

func (*MustGatherOptions) Validate added in v1.11.0

func (o *MustGatherOptions) Validate() error

type NodeSetupDaemonOptions added in v1.9.0

type NodeSetupDaemonOptions struct {
	genericclioptions.ClientConfig
	genericclioptions.InClusterReflection

	PodName              string
	NodeName             string
	NodeConfigName       string
	NodeConfigUID        string
	ScyllaImage          string
	DisableOptimizations bool

	CRIEndpoints []string
	// contains filtered or unexported fields
}

func NewNodeSetupOptions added in v1.9.0

func NewNodeSetupOptions(streams genericclioptions.IOStreams) *NodeSetupDaemonOptions

func (*NodeSetupDaemonOptions) Complete added in v1.9.0

func (o *NodeSetupDaemonOptions) Complete() error

func (*NodeSetupDaemonOptions) Run added in v1.9.0

func (*NodeSetupDaemonOptions) Validate added in v1.9.0

func (o *NodeSetupDaemonOptions) Validate() error

type OperatorOptions added in v1.4.0

type OperatorOptions struct {
	genericclioptions.ClientConfig
	genericclioptions.InClusterReflection
	genericclioptions.LeaderElection

	ConcurrentSyncs int
	OperatorImage   string
	OperatorPodName string
	CQLSIngressPort int

	CryptoKeyBufferSizeMin int
	CryptoKeyBufferSizeMax int
	CryptoKeyBufferDelay   time.Duration
	// contains filtered or unexported fields
}

func NewOperatorOptions added in v1.4.0

func NewOperatorOptions(streams genericclioptions.IOStreams) *OperatorOptions

func (*OperatorOptions) Complete added in v1.4.0

func (o *OperatorOptions) Complete(ctx context.Context, cmd *cobra.Command) error

func (*OperatorOptions) Run added in v1.4.0

func (*OperatorOptions) Validate added in v1.4.0

func (o *OperatorOptions) Validate() error

type SidecarOptions added in v1.4.0

type SidecarOptions struct {
	genericclioptions.ClientConfig
	genericclioptions.InClusterReflection

	ServiceName                       string
	CPUCount                          int
	ExternalSeeds                     []string
	NodesBroadcastAddressTypeString   string
	ClientsBroadcastAddressTypeString string
	// contains filtered or unexported fields
}

func NewSidecarOptions added in v1.4.0

func NewSidecarOptions(streams genericclioptions.IOStreams) *SidecarOptions

func (*SidecarOptions) Complete added in v1.4.0

func (o *SidecarOptions) Complete() error

func (*SidecarOptions) Run added in v1.4.0

func (*SidecarOptions) Validate added in v1.4.0

func (o *SidecarOptions) Validate() error

type WebhookOptions added in v1.4.0

type WebhookOptions struct {
	TLSCertFile, TLSKeyFile        string
	Port                           int
	InsecureGenerateLocalhostCerts bool

	TLSConfig *tls.Config
	// contains filtered or unexported fields
}

func NewWebhookOptions added in v1.4.0

func NewWebhookOptions(streams genericclioptions.IOStreams) *WebhookOptions

func (*WebhookOptions) Complete added in v1.4.0

func (o *WebhookOptions) Complete() error

func (*WebhookOptions) Run added in v1.4.0

func (*WebhookOptions) Validate added in v1.4.0

func (o *WebhookOptions) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL