Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToScheme ¶ added in v0.3.0
func AddToScheme()
AddToScheme adds the ResourcesConfig types to the scheme
Types ¶
type KubeClients ¶
type KubeClients struct {
Clientset *kubernetes.Clientset
DynamicClient *dynamic.DynamicClient
VpaClientset *vpaclientset.Clientset
ResourcesConfigClientset *ResourcesConfigClientset
RestConfig *rest.Config
}
func NewKubeClients ¶
func NewKubeClients() *KubeClients
type ResourcesConfigClientset ¶ added in v0.3.0
type ResourcesConfigClientset struct {
// contains filtered or unexported fields
}
ResourcesConfigClientset is a clientset for ResourcesConfig CRD
func NewResourcesConfigClientset ¶ added in v0.3.0
func NewResourcesConfigClientset(c *rest.Config) (*ResourcesConfigClientset, error)
NewForConfig creates a new ResourcesConfigClientset for the given config
func (*ResourcesConfigClientset) OblikV1 ¶ added in v0.3.0
func (c *ResourcesConfigClientset) OblikV1() ResourcesConfigInterface
OblikV1 returns the OblikV1Client
type ResourcesConfigInterface ¶ added in v0.3.0
type ResourcesConfigInterface interface {
List(ctx context.Context, namespace string, opts metav1.ListOptions) (*oblikv1.ResourcesConfigList, error)
Watch(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)
Get(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*oblikv1.ResourcesConfig, error)
Create(ctx context.Context, namespace string, resourcesConfig *oblikv1.ResourcesConfig, opts metav1.CreateOptions) (*oblikv1.ResourcesConfig, error)
Update(ctx context.Context, namespace string, resourcesConfig *oblikv1.ResourcesConfig, opts metav1.UpdateOptions) (*oblikv1.ResourcesConfig, error)
UpdateStatus(ctx context.Context, namespace string, resourcesConfig *oblikv1.ResourcesConfig, opts metav1.UpdateOptions) (*oblikv1.ResourcesConfig, error)
Delete(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error
}
Click to show internal directories.
Click to hide internal directories.