Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionHandler ¶
type ActionHandler interface {
Handle(ctx context.Context, action *castai.ClusterAction) error
}
type Config ¶
type Config struct { PollWaitInterval time.Duration // How long to wait unit next long polling request. PollTimeout time.Duration // hard timeout. Normally server should return empty result before this timeout. AckTimeout time.Duration // How long to wait for ack request to complete. AckRetriesCount int // Ack retry count. AckRetryWait time.Duration // How long to wait before next ack retry request. ClusterID string Version string Namespace string }
type Service ¶
func NewService ¶
func NewService( log logrus.FieldLogger, cfg Config, k8sVersion string, clientset *kubernetes.Clientset, dynamicClient dynamic.Interface, castaiClient castai.Client, helmClient helm.Client, healthCheck *health.HealthzProvider, ) Service
Source Files ¶
- actions.go
- approve_csr_handler.go
- chart_rollback_handler.go
- chart_uninstall_handler.go
- chart_upsert_handler.go
- check_node_deleted.go
- check_node_status.go
- create_event_handler.go
- create_handler.go
- delete_handler.go
- delete_node_handler.go
- disconnect_cluster_handler.go
- drain_node_handler.go
- kubernetes_helpers.go
- patch_handler.go
- patch_node_handler.go
- send_aks_init_data_handler.go
Click to show internal directories.
Click to hide internal directories.