Documentation ¶
Index ¶
- type GenericClusterHandover
- func (a *GenericClusterHandover) ClientObject() client.Object
- func (a *GenericClusterHandover) GetConditions() *[]metav1.Condition
- func (a *GenericClusterHandover) GetProbes() []packagesv1alpha1.Probe
- func (a *GenericClusterHandover) GetProcessing() []coordinationv1alpha1.HandoverRef
- func (a *GenericClusterHandover) GetRelabelSpec() *coordinationv1alpha1.HandoverStrategyRelabelSpec
- func (a *GenericClusterHandover) GetStrategyType() genericStrategyType
- func (a *GenericClusterHandover) GetTargetAPI() coordinationv1alpha1.TargetAPI
- func (a *GenericClusterHandover) SetProcessing(processing []coordinationv1alpha1.HandoverRef)
- func (a *GenericClusterHandover) SetStats(stats coordinationv1alpha1.HandoverStatusStats)
- func (a *GenericClusterHandover) UpdatePhase()
- type GenericHandover
- func (a *GenericHandover) ClientObject() client.Object
- func (a *GenericHandover) GetConditions() *[]metav1.Condition
- func (a *GenericHandover) GetProbes() []packagesv1alpha1.Probe
- func (a *GenericHandover) GetProcessing() []coordinationv1alpha1.HandoverRef
- func (a *GenericHandover) GetRelabelSpec() *coordinationv1alpha1.HandoverStrategyRelabelSpec
- func (a *GenericHandover) GetStrategyType() genericStrategyType
- func (a *GenericHandover) GetTargetAPI() coordinationv1alpha1.TargetAPI
- func (a *GenericHandover) SetProcessing(processing []coordinationv1alpha1.HandoverRef)
- func (a *GenericHandover) SetStats(stats coordinationv1alpha1.HandoverStatusStats)
- func (a *GenericHandover) UpdatePhase()
- type GenericHandoverController
- func NewClusterHandoverController(c client.Client, log logr.Logger, scheme *runtime.Scheme, ...) *GenericHandoverController
- func NewGenericHandoverController(gvk schema.GroupVersionKind, c client.Client, log logr.Logger, ...) *GenericHandoverController
- func NewHandoverController(c client.Client, log logr.Logger, scheme *runtime.Scheme, ...) *GenericHandoverController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericClusterHandover ¶
type GenericClusterHandover struct {
coordinationv1alpha1.ClusterHandover
}
func (*GenericClusterHandover) ClientObject ¶
func (a *GenericClusterHandover) ClientObject() client.Object
func (*GenericClusterHandover) GetConditions ¶
func (a *GenericClusterHandover) GetConditions() *[]metav1.Condition
func (*GenericClusterHandover) GetProbes ¶
func (a *GenericClusterHandover) GetProbes() []packagesv1alpha1.Probe
func (*GenericClusterHandover) GetProcessing ¶
func (a *GenericClusterHandover) GetProcessing() []coordinationv1alpha1.HandoverRef
func (*GenericClusterHandover) GetRelabelSpec ¶
func (a *GenericClusterHandover) GetRelabelSpec() *coordinationv1alpha1.HandoverStrategyRelabelSpec
func (*GenericClusterHandover) GetStrategyType ¶
func (a *GenericClusterHandover) GetStrategyType() genericStrategyType
func (*GenericClusterHandover) GetTargetAPI ¶
func (a *GenericClusterHandover) GetTargetAPI() coordinationv1alpha1.TargetAPI
func (*GenericClusterHandover) SetProcessing ¶
func (a *GenericClusterHandover) SetProcessing(processing []coordinationv1alpha1.HandoverRef)
func (*GenericClusterHandover) SetStats ¶
func (a *GenericClusterHandover) SetStats(stats coordinationv1alpha1.HandoverStatusStats)
func (*GenericClusterHandover) UpdatePhase ¶
func (a *GenericClusterHandover) UpdatePhase()
type GenericHandover ¶
type GenericHandover struct {
coordinationv1alpha1.Handover
}
func (*GenericHandover) ClientObject ¶
func (a *GenericHandover) ClientObject() client.Object
func (*GenericHandover) GetConditions ¶
func (a *GenericHandover) GetConditions() *[]metav1.Condition
func (*GenericHandover) GetProbes ¶
func (a *GenericHandover) GetProbes() []packagesv1alpha1.Probe
func (*GenericHandover) GetProcessing ¶
func (a *GenericHandover) GetProcessing() []coordinationv1alpha1.HandoverRef
func (*GenericHandover) GetRelabelSpec ¶
func (a *GenericHandover) GetRelabelSpec() *coordinationv1alpha1.HandoverStrategyRelabelSpec
func (*GenericHandover) GetStrategyType ¶
func (a *GenericHandover) GetStrategyType() genericStrategyType
func (*GenericHandover) GetTargetAPI ¶
func (a *GenericHandover) GetTargetAPI() coordinationv1alpha1.TargetAPI
func (*GenericHandover) SetProcessing ¶
func (a *GenericHandover) SetProcessing(processing []coordinationv1alpha1.HandoverRef)
func (*GenericHandover) SetStats ¶
func (a *GenericHandover) SetStats(stats coordinationv1alpha1.HandoverStatusStats)
func (*GenericHandover) UpdatePhase ¶
func (a *GenericHandover) UpdatePhase()
type GenericHandoverController ¶
type GenericHandoverController struct {
// contains filtered or unexported fields
}
Generic reconciler for both Handover and ClusterHandover objects.
func NewGenericHandoverController ¶
func NewGenericHandoverController( gvk schema.GroupVersionKind, c client.Client, log logr.Logger, scheme *runtime.Scheme, dynamicClient dynamic.Interface, discoveryClient *discovery.DiscoveryClient, ) *GenericHandoverController
func NewHandoverController ¶
func (*GenericHandoverController) SetupWithManager ¶
func (c *GenericHandoverController) SetupWithManager( mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.