Documentation ¶
Index ¶
- type K8sReferenceProvider
- func (a *K8sReferenceProvider) Clone(config providers.IProviderConfig) (providers.IProvider, error)
- func (m *K8sReferenceProvider) Get(id string, namespace string, group string, kind string, version string, ...) (interface{}, error)
- func (m *K8sReferenceProvider) ID() string
- func (m *K8sReferenceProvider) Init(config providers.IProviderConfig) error
- func (i *K8sReferenceProvider) InitWithMap(properties map[string]string) error
- func (m *K8sReferenceProvider) List(labelSelector string, fieldSelector string, namespace string, group string, ...) (interface{}, error)
- func (m *K8sReferenceProvider) Reconfigure(config providers.IProviderConfig) error
- func (m *K8sReferenceProvider) ReferenceType() string
- func (a *K8sReferenceProvider) SetContext(context *contexts.ManagerContext)
- func (m *K8sReferenceProvider) TargetID() string
- type K8sReferenceProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sReferenceProvider ¶
type K8sReferenceProvider struct { Config K8sReferenceProviderConfig Client *kubernetes.Clientset DynamicClient dynamic.Interface Context *contexts.ManagerContext }
func (*K8sReferenceProvider) Clone ¶
func (a *K8sReferenceProvider) Clone(config providers.IProviderConfig) (providers.IProvider, error)
func (*K8sReferenceProvider) ID ¶
func (m *K8sReferenceProvider) ID() string
func (*K8sReferenceProvider) Init ¶
func (m *K8sReferenceProvider) Init(config providers.IProviderConfig) error
func (*K8sReferenceProvider) InitWithMap ¶
func (i *K8sReferenceProvider) InitWithMap(properties map[string]string) error
func (*K8sReferenceProvider) Reconfigure ¶
func (m *K8sReferenceProvider) Reconfigure(config providers.IProviderConfig) error
func (*K8sReferenceProvider) ReferenceType ¶
func (m *K8sReferenceProvider) ReferenceType() string
func (*K8sReferenceProvider) SetContext ¶
func (a *K8sReferenceProvider) SetContext(context *contexts.ManagerContext)
func (*K8sReferenceProvider) TargetID ¶
func (m *K8sReferenceProvider) TargetID() string
type K8sReferenceProviderConfig ¶
type K8sReferenceProviderConfig struct { Name string `json:"name"` ConfigPath string `json:"configPath"` InCluster bool `json:"inCluster"` //TODO: add context support }
func K8sReferenceProviderConfigFromMap ¶
func K8sReferenceProviderConfigFromMap(properties map[string]string) (K8sReferenceProviderConfig, error)
Click to show internal directories.
Click to hide internal directories.