Documentation ¶
Index ¶
- func GetExposureOpts(expose map[string]string) K3D.ExposureOpts
- func SetProxyConfig(proxyCfg map[string]string, registry *K3D.Registry)
- type Config
- func (registry *Config) Connect(ctx context.Context, runtime runtimes.Runtime) error
- func (registry *Config) Create(ctx context.Context, runtime runtimes.Runtime) error
- func (registry *Config) Disconnect(ctx context.Context, runtime runtimes.Runtime) error
- func (registry *Config) Get(ctx context.Context, runtime runtimes.Runtime) ([]*k3dNode.Config, error)
- func (registry *Config) GetRegistryStatus(registryName, state string) map[string]string
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExposureOpts ¶
func GetExposureOpts(expose map[string]string) K3D.ExposureOpts
GetExposureOpts fetches expose data and adds it to K3D.Config.
Types ¶
type Config ¶
type Config struct { Name []string `json:"name,omitempty" mapstructure:"name"` Image string `json:"image,omitempty" mapstructure:"image"` Cluster string `json:"cluster,omitempty" mapstructure:"cluster"` Protocol string `json:"protocol,omitempty" mapstructure:"protocol"` Host string `json:"host,omitempty" mapstructure:"host"` Port string `json:"port,omitempty" mapstructure:"port"` Expose map[string]string `json:"expose,omitempty" mapstructure:"expose"` UseProxy bool `json:"use_proxy,omitempty" mapstructure:"use_proxy"` Proxy map[string]string `json:"proxy,omitempty" mapstructure:"proxy"` All bool `json:"all,omitempty" mapstructure:"all"` ConnectToCluster bool `json:"connect,omitempty" mapstructure:"connect"` }
Config helps to store filtered registry data the present in selected runtime.
func (*Config) Disconnect ¶
Click to show internal directories.
Click to hide internal directories.