Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
func (DefaultClient) GetK8sClient ¶
func (c DefaultClient) GetK8sClient() *kubernetes.Clientset
func (DefaultClient) GetK8sRestConfig ¶
func (c DefaultClient) GetK8sRestConfig() *rest.Config
type DefaultWorkspaceGroupClientMapper ¶ added in v0.2.0
type DefaultWorkspaceGroupClientMapper struct {
// contains filtered or unexported fields
}
func NewDefaultWorkspaceGroupClientMapper ¶ added in v0.2.0
func NewDefaultWorkspaceGroupClientMapper(k8sStore K8sStore) (*DefaultWorkspaceGroupClientMapper, error)
func (DefaultWorkspaceGroupClientMapper) GetK8sAPIURL ¶ added in v0.2.0
func (d DefaultWorkspaceGroupClientMapper) GetK8sAPIURL(workspaceGroupID string) (string, error)
func (DefaultWorkspaceGroupClientMapper) GetK8sClient ¶ added in v0.2.0
func (d DefaultWorkspaceGroupClientMapper) GetK8sClient(workspaceGroupID string) (K8sClient, error)
func (DefaultWorkspaceGroupClientMapper) GetPrivateKey ¶ added in v0.2.0
func (d DefaultWorkspaceGroupClientMapper) GetPrivateKey() string
type K8sClient ¶
type K8sClient interface { GetK8sClient() *kubernetes.Clientset GetK8sRestConfig() *rest.Config }
func NewDefaultClient ¶
func NewDefaultClient(config K8sClientConfig) K8sClient
type K8sClientConfig ¶
type RemoteK8sClientConfig ¶ added in v0.2.0
type RemoteK8sClientConfig struct {
// contains filtered or unexported fields
}
func (RemoteK8sClientConfig) GetCA ¶ added in v0.2.0
func (k RemoteK8sClientConfig) GetCA() []byte
func (RemoteK8sClientConfig) GetCert ¶ added in v0.2.0
func (k RemoteK8sClientConfig) GetCert() []byte
func (RemoteK8sClientConfig) GetHost ¶ added in v0.2.0
func (k RemoteK8sClientConfig) GetHost() string
func (RemoteK8sClientConfig) GetKey ¶ added in v0.2.0
func (k RemoteK8sClientConfig) GetKey() []byte
Click to show internal directories.
Click to hide internal directories.