Documentation
¶
Index ¶
- func GuessClusterDomain(ctx context.Context) (string, error)
- type BaseReconciler
- type ChytReconciler
- type ComponentManager
- type ComponentManagerStatus
- type OffshoreDataGatewaysReconciler
- func (r *OffshoreDataGatewaysReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *OffshoreDataGatewaysReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *OffshoreDataGatewaysReconciler) Sync(ctx context.Context, resource *ytv1.OffshoreDataGateways, ...) (ctrl.Result, error)
- type RemoteDataNodesReconciler
- func (r *RemoteDataNodesReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *RemoteDataNodesReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *RemoteDataNodesReconciler) Sync(ctx context.Context, resource *ytv1.RemoteDataNodes, ...) (ctrl.Result, error)
- type RemoteExecNodesReconciler
- func (r *RemoteExecNodesReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *RemoteExecNodesReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *RemoteExecNodesReconciler) Sync(ctx context.Context, resource *ytv1.RemoteExecNodes, ...) (ctrl.Result, error)
- type RemoteTabletNodesReconciler
- func (r *RemoteTabletNodesReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *RemoteTabletNodesReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *RemoteTabletNodesReconciler) Sync(ctx context.Context, resource *ytv1.RemoteTabletNodes, ...) (ctrl.Result, error)
- type SpytReconciler
- type YtsaurusReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseReconciler ¶
type BaseReconciler struct {
client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
WatchOperatorInstance string
ClusterDomain string
}
func (*BaseReconciler) ShouldIgnoreResource ¶
type ChytReconciler ¶
type ChytReconciler struct {
BaseReconciler
}
ChytReconciler reconciles a Chyt object
func (*ChytReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Chyt object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*ChytReconciler) SetupWithManager ¶
func (r *ChytReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ComponentManager ¶
type ComponentManager struct {
// contains filtered or unexported fields
}
func NewComponentManager ¶
func (*ComponentManager) FetchStatus ¶
func (cm *ComponentManager) FetchStatus(ctx context.Context) error
type ComponentManagerStatus ¶
type ComponentManagerStatus struct {
// contains filtered or unexported fields
}
type OffshoreDataGatewaysReconciler ¶
type OffshoreDataGatewaysReconciler struct {
BaseReconciler
}
OffshoreDataGatewaysReconciler reconciles a OffshoreDataGateways object
func (*OffshoreDataGatewaysReconciler) Reconcile ¶
func (r *OffshoreDataGatewaysReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the OffshoreDataGateways object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*OffshoreDataGatewaysReconciler) SetupWithManager ¶
func (r *OffshoreDataGatewaysReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*OffshoreDataGatewaysReconciler) Sync ¶
func (r *OffshoreDataGatewaysReconciler) Sync( ctx context.Context, resource *ytv1.OffshoreDataGateways, remoteYtsaurus *ytv1.RemoteYtsaurus, ) (ctrl.Result, error)
type RemoteDataNodesReconciler ¶
type RemoteDataNodesReconciler struct {
BaseReconciler
}
RemoteDataNodesReconciler reconciles a RemoteDataNodes object
func (*RemoteDataNodesReconciler) Reconcile ¶
func (r *RemoteDataNodesReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RemoteDataNodes object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*RemoteDataNodesReconciler) SetupWithManager ¶
func (r *RemoteDataNodesReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*RemoteDataNodesReconciler) Sync ¶
func (r *RemoteDataNodesReconciler) Sync( ctx context.Context, resource *ytv1.RemoteDataNodes, remoteYtsaurus *ytv1.RemoteYtsaurus, ) (ctrl.Result, error)
type RemoteExecNodesReconciler ¶
type RemoteExecNodesReconciler struct {
BaseReconciler
}
RemoteExecNodesReconciler reconciles a RemoteExecNodes object
func (*RemoteExecNodesReconciler) Reconcile ¶
func (r *RemoteExecNodesReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RemoteExecNodes object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*RemoteExecNodesReconciler) SetupWithManager ¶
func (r *RemoteExecNodesReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*RemoteExecNodesReconciler) Sync ¶
func (r *RemoteExecNodesReconciler) Sync( ctx context.Context, resource *ytv1.RemoteExecNodes, remoteYtsaurus *ytv1.RemoteYtsaurus, ) (ctrl.Result, error)
type RemoteTabletNodesReconciler ¶
type RemoteTabletNodesReconciler struct {
BaseReconciler
}
RemoteTabletNodesReconciler reconciles a RemoteTabletNodes object
func (*RemoteTabletNodesReconciler) Reconcile ¶
func (r *RemoteTabletNodesReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RemoteTabletNodes object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*RemoteTabletNodesReconciler) SetupWithManager ¶
func (r *RemoteTabletNodesReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*RemoteTabletNodesReconciler) Sync ¶
func (r *RemoteTabletNodesReconciler) Sync( ctx context.Context, resource *ytv1.RemoteTabletNodes, remoteYtsaurus *ytv1.RemoteYtsaurus, ) (ctrl.Result, error)
type SpytReconciler ¶
type SpytReconciler struct {
BaseReconciler
}
SpytReconciler reconciles a Spyt object
func (*SpytReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Spyt object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*SpytReconciler) SetupWithManager ¶
func (r *SpytReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type YtsaurusReconciler ¶
type YtsaurusReconciler struct {
BaseReconciler
}
YtsaurusReconciler reconciles a Ytsaurus object
func (*YtsaurusReconciler) Reconcile ¶
+kubebuilder:rbac:groups=cluster.ytsaurus.tech,resources=ytsaurus,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=cluster.ytsaurus.tech,resources=ytsaurus/status,verbs=get;update;patch +kubebuilder:rbac:groups=cluster.ytsaurus.tech,resources=ytsaurus/finalizers,verbs=update +kubebuilder:rbac:groups=apps,resources=statefulset,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=statefulset/status,verbs=get +kubebuilder:rbac:groups=core,resources=pod,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=pod/status,verbs=get +kubebuilder:rbac:groups="",resources=configmaps,verbs=get;list;watch
func (*YtsaurusReconciler) SetupWithManager ¶
func (r *YtsaurusReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files
¶
- chyt_controller.go
- chyt_sync.go
- component_manager.go
- helpers.go
- offshoredatagateways_controller.go
- offshoredatagateways_sync.go
- remotedatanodes_controller.go
- remotedatanodes_sync.go
- remoteexecnodes_controller.go
- remoteexecnodes_sync.go
- remotetabletnodes_controller.go
- remotetabletnodes_sync.go
- spyt_controller.go
- spyt_sync.go
- update_flow_steps.go
- ytsaurus_controller.go