Documentation ¶
Index ¶
- type Controller
- func (ctrl *Controller) EnsureVectorAgent(ctx context.Context) error
- func (ctrl *Controller) SetDefault()
- func (ctrl *Controller) SetFailedStatus(ctx context.Context, err error) error
- func (ctrl *Controller) SetLastAppliedPipelineStatus(ctx context.Context, hash *uint32) error
- func (ctrl *Controller) SetSucceesStatus(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { client.Client Vector *vectorv1alpha1.Vector Config []byte // Temp. Wait this issue - https://github.com/kubernetes-sigs/controller-runtime/issues/452 ClientSet *kubernetes.Clientset }
func NewController ¶
func NewController(v *vectorv1alpha1.Vector, c client.Client, cs *kubernetes.Clientset) *Controller
func (*Controller) EnsureVectorAgent ¶
func (ctrl *Controller) EnsureVectorAgent(ctx context.Context) error
func (*Controller) SetDefault ¶
func (ctrl *Controller) SetDefault()
func (*Controller) SetFailedStatus ¶
func (ctrl *Controller) SetFailedStatus(ctx context.Context, err error) error
func (*Controller) SetLastAppliedPipelineStatus ¶
func (ctrl *Controller) SetLastAppliedPipelineStatus(ctx context.Context, hash *uint32) error
func (*Controller) SetSucceesStatus ¶
func (ctrl *Controller) SetSucceesStatus(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.