Documentation ¶
Index ¶
- type KubeClient
- func (c *KubeClient) Apply(d *model.KVPair) (*model.KVPair, error)
- func (c *KubeClient) Get(k model.Key) (*model.KVPair, error)
- func (c *KubeClient) IsKDD() bool
- func (c *KubeClient) List(l model.ListInterface) ([]*model.KVPair, error)
- func (c *KubeClient) Update(d *model.KVPair) (*model.KVPair, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeClient ¶
type KubeClient struct {
// contains filtered or unexported fields
}
func NewKubeClient ¶
func NewKubeClient(kc *capi.KubeConfig) (*KubeClient, error)
func (*KubeClient) Apply ¶
Set an existing entry in the datastore. This ignores whether an entry already exists.
func (*KubeClient) IsKDD ¶
func (c *KubeClient) IsKDD() bool
func (*KubeClient) List ¶
func (c *KubeClient) List(l model.ListInterface) ([]*model.KVPair, error)
List entries in the datastore. This may return an empty list if there are no entries matching the request in the ListInterface.
Click to show internal directories.
Click to hide internal directories.