Documentation ¶
Index ¶
- Constants
- type OperatorClient
- func (c *OperatorClient) GetOperatorState() (*operatorv1.OperatorSpec, *operatorv1.OperatorStatus, string, error)
- func (c *OperatorClient) GetStaticPodOperatorState() (*operatorv1.OperatorSpec, *operatorv1.StaticPodOperatorStatus, string, error)
- func (c *OperatorClient) Informer() cache.SharedIndexInformer
- func (c *OperatorClient) UpdateOperatorSpec(resourceVersion string, spec *operatorv1.OperatorSpec) (*operatorv1.OperatorSpec, string, error)
- func (c *OperatorClient) UpdateOperatorStatus(resourceVersion string, status *operatorv1.OperatorStatus) (*operatorv1.OperatorStatus, error)
- func (c *OperatorClient) UpdateStaticPodOperatorStatus(resourceVersion string, status *operatorv1.StaticPodOperatorStatus) (*operatorv1.StaticPodOperatorStatus, error)
Constants ¶
View Source
const ( EtcdNamespaceName = "kube-system" GlobalUserSpecifiedConfigNamespace = "openshift-config" GlobalMachineSpecifiedConfigNamespace = "openshift-config-managed" OperatorNamespace = "openshift-kube-apiserver-operator" TargetNamespace = "openshift-kube-apiserver" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatorClient ¶
type OperatorClient struct { Informers operatorclientinformers.SharedInformerFactory Client operatorconfigclientv1alpha1.KubeapiserverV1alpha1Interface }
func (*OperatorClient) GetOperatorState ¶
func (c *OperatorClient) GetOperatorState() (*operatorv1.OperatorSpec, *operatorv1.OperatorStatus, string, error)
func (*OperatorClient) GetStaticPodOperatorState ¶
func (c *OperatorClient) GetStaticPodOperatorState() (*operatorv1.OperatorSpec, *operatorv1.StaticPodOperatorStatus, string, error)
func (*OperatorClient) Informer ¶
func (c *OperatorClient) Informer() cache.SharedIndexInformer
func (*OperatorClient) UpdateOperatorSpec ¶
func (c *OperatorClient) UpdateOperatorSpec(resourceVersion string, spec *operatorv1.OperatorSpec) (*operatorv1.OperatorSpec, string, error)
func (*OperatorClient) UpdateOperatorStatus ¶
func (c *OperatorClient) UpdateOperatorStatus(resourceVersion string, status *operatorv1.OperatorStatus) (*operatorv1.OperatorStatus, error)
func (*OperatorClient) UpdateStaticPodOperatorStatus ¶
func (c *OperatorClient) UpdateStaticPodOperatorStatus(resourceVersion string, status *operatorv1.StaticPodOperatorStatus) (*operatorv1.StaticPodOperatorStatus, error)
Click to show internal directories.
Click to hide internal directories.