Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
Operator for controlling CRD instances.
func New ¶
func New(ctx context.Context, nsOp, nsCRD, nsPod string, kubeClient kubernetes.Interface, jinghzhuV1Client jinghzhuv1clientset.Interface) *Operator
New creates the CRD Operator. The parameter nsOp is the namespace where this Operator will run.
func (*Operator) GetCRDNamespace ¶ added in v0.2.0
GetCRDNamespace returns the namespace where Operator watchs the CRs.
func (*Operator) GetContext ¶
GetContext retruns the context.
func (*Operator) GetPodNamespace ¶ added in v0.2.0
GetPodNamespace returns the namespace where Operator process the worker Pods.
Click to show internal directories.
Click to hide internal directories.