Documentation ¶
Index ¶
- func New() backend.Backend
- type Backend
- func (b *Backend) DeleteWorkspace(name string, _ bool) error
- func (b Backend) KubernetesLeaseClient() (coordinationv1.LeaseInterface, error)
- func (b Backend) KubernetesSecretClient() (dynamic.ResourceInterface, error)
- func (b *Backend) StateMgr(name string) (statemgr.Full, error)
- func (b *Backend) Workspaces() ([]string, error)
- type RemoteClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
func (Backend) KubernetesLeaseClient ¶
func (b Backend) KubernetesLeaseClient() (coordinationv1.LeaseInterface, error)
func (Backend) KubernetesSecretClient ¶
func (b Backend) KubernetesSecretClient() (dynamic.ResourceInterface, error)
func (*Backend) Workspaces ¶
Workspaces returns a list of names for the workspaces found in k8s. The default workspace is always returned as the first element in the slice.
type RemoteClient ¶
type RemoteClient struct {
// contains filtered or unexported fields
}
func (*RemoteClient) Put ¶
func (c *RemoteClient) Put(data []byte) error
func (*RemoteClient) Unlock ¶
func (c *RemoteClient) Unlock(id string) error
Click to show internal directories.
Click to hide internal directories.