Documentation ¶
Index ¶
- func Kube(ctx context.Context, path string, options *KubeOptions) (*entities.PlayKubeReport, error)
- type KubeOptions
- func (o *KubeOptions) Changed(fieldName string) bool
- func (o *KubeOptions) GetAuthfile() string
- func (o *KubeOptions) GetCertDir() string
- func (o *KubeOptions) GetConfigMaps() []string
- func (o *KubeOptions) GetLogDriver() string
- func (o *KubeOptions) GetNetwork() string
- func (o *KubeOptions) GetPassword() string
- func (o *KubeOptions) GetQuiet() bool
- func (o *KubeOptions) GetSeccompProfileRoot() string
- func (o *KubeOptions) GetSignaturePolicy() string
- func (o *KubeOptions) GetSkipTLSVerify() bool
- func (o *KubeOptions) GetStart() bool
- func (o *KubeOptions) GetUsername() string
- func (o *KubeOptions) ToParams() (url.Values, error)
- func (o *KubeOptions) WithAuthfile(value string) *KubeOptions
- func (o *KubeOptions) WithCertDir(value string) *KubeOptions
- func (o *KubeOptions) WithConfigMaps(value []string) *KubeOptions
- func (o *KubeOptions) WithLogDriver(value string) *KubeOptions
- func (o *KubeOptions) WithNetwork(value string) *KubeOptions
- func (o *KubeOptions) WithPassword(value string) *KubeOptions
- func (o *KubeOptions) WithQuiet(value bool) *KubeOptions
- func (o *KubeOptions) WithSeccompProfileRoot(value string) *KubeOptions
- func (o *KubeOptions) WithSignaturePolicy(value string) *KubeOptions
- func (o *KubeOptions) WithSkipTLSVerify(value bool) *KubeOptions
- func (o *KubeOptions) WithStart(value bool) *KubeOptions
- func (o *KubeOptions) WithUsername(value string) *KubeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Kube ¶
func Kube(ctx context.Context, path string, options *KubeOptions) (*entities.PlayKubeReport, error)
Types ¶
type KubeOptions ¶
type KubeOptions struct { // Authfile - path to an authentication file. Authfile *string // CertDir - to a directory containing TLS certifications and keys. CertDir *string // Username for authenticating against the registry. Username *string // Password for authenticating against the registry. Password *string // Network - name of the CNI network to connect to. Network *string // Quiet - suppress output when pulling images. Quiet *bool // SignaturePolicy - path to a signature-policy file. SignaturePolicy *string // SkipTLSVerify - skip https and certificate validation when // contacting container registries. SkipTLSVerify *bool // SeccompProfileRoot - path to a directory containing seccomp // profiles. SeccompProfileRoot *string // ConfigMaps - slice of pathnames to kubernetes configmap YAMLs. ConfigMaps *[]string // LogDriver for the container. For example: journald LogDriver *string // Start - don't start the pod if false Start *bool }
KubeOptions are optional options for replaying kube YAML files
func (*KubeOptions) GetSeccompProfileRoot ¶
func (o *KubeOptions) GetSeccompProfileRoot() string
GetSeccompProfileRoot
func (*KubeOptions) GetSignaturePolicy ¶
func (o *KubeOptions) GetSignaturePolicy() string
GetSignaturePolicy
func (*KubeOptions) GetSkipTLSVerify ¶
func (o *KubeOptions) GetSkipTLSVerify() bool
GetSkipTLSVerify
func (*KubeOptions) WithAuthfile ¶
func (o *KubeOptions) WithAuthfile(value string) *KubeOptions
WithAuthfile
func (*KubeOptions) WithCertDir ¶
func (o *KubeOptions) WithCertDir(value string) *KubeOptions
WithCertDir
func (*KubeOptions) WithConfigMaps ¶
func (o *KubeOptions) WithConfigMaps(value []string) *KubeOptions
WithConfigMaps
func (*KubeOptions) WithLogDriver ¶
func (o *KubeOptions) WithLogDriver(value string) *KubeOptions
WithLogDriver
func (*KubeOptions) WithNetwork ¶
func (o *KubeOptions) WithNetwork(value string) *KubeOptions
WithNetwork
func (*KubeOptions) WithPassword ¶
func (o *KubeOptions) WithPassword(value string) *KubeOptions
WithPassword
func (*KubeOptions) WithSeccompProfileRoot ¶
func (o *KubeOptions) WithSeccompProfileRoot(value string) *KubeOptions
WithSeccompProfileRoot
func (*KubeOptions) WithSignaturePolicy ¶
func (o *KubeOptions) WithSignaturePolicy(value string) *KubeOptions
WithSignaturePolicy
func (*KubeOptions) WithSkipTLSVerify ¶
func (o *KubeOptions) WithSkipTLSVerify(value bool) *KubeOptions
WithSkipTLSVerify
func (*KubeOptions) WithUsername ¶
func (o *KubeOptions) WithUsername(value string) *KubeOptions
WithUsername
Click to show internal directories.
Click to hide internal directories.