Documentation ¶
Index ¶
Constants ¶
View Source
const ( SyncerSecretConfigKey = "kubeconfig" SyncerIDPrefix = "kcp-syncer-" MaxSyncTargetNameLength = validation.DNS1123SubdomainMaxLength - (9 + len(SyncerIDPrefix)) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { genericclioptions.IOStreams // contains filtered or unexported fields }
func (*Config) Sync ¶
func (c *Config) Sync( ctx context.Context, outputFilePath, syncTargetName, kcpNamespaceName, downstreamNamespace, image string, resourcesToSync []string, replicas int, qps float32, burst int, ) error
Sync prepares a kcp workspace for use with a syncer and outputs the configuration required to deploy a syncer to the pcluster to stdout.
type Options ¶
type Options struct { KubectlOverrides *clientcmd.ConfigOverrides genericclioptions.IOStreams }
Options for the workload commands.
func NewOptions ¶
func NewOptions(streams genericclioptions.IOStreams) *Options
NewOptions provides an instance of Options with default values
Click to show internal directories.
Click to hide internal directories.