Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionHandler ¶
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
}
type Service ¶
func NewService ¶
func NewService( log logrus.FieldLogger, cfg Config, clientset *kubernetes.Clientset, castaiClient castai.Client, ) Service
Click to show internal directories.
Click to hide internal directories.