Documentation ¶
Overview ¶
Package secret manipulates the k8s api of secret object
Index ¶
- type Option
- type Secret
- func (p *Secret) Create(secret *apiv1.Secret) error
- func (p *Secret) CreateIfNotExist(secret *apiv1.Secret) error
- func (p *Secret) Get(namespace, name string) (*apiv1.Secret, error)
- func (p *Secret) List(namespace string) (*apiv1.SecretList, error)
- func (p *Secret) Update(secret *apiv1.Secret) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Secret)
Option configures an Secret
func WithCompleteParams ¶
func WithCompleteParams(addr string, client *httpclient.HTTPClient) Option
WithCompleteParams provides an Option
type Secret ¶
type Secret struct {
// contains filtered or unexported fields
}
Secret is the object to encapsulate docker
Click to show internal directories.
Click to hide internal directories.