Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(sgc *SgController)
Options to pass when creating a new sgcontroller
func WithEventRecorder ¶
func WithEventRecorder(ev record.EventRecorder) Option
Set an EventRecorder that will be notified of any events that occur
func WithStatefulSetSelector ¶
func WithStatefulSetSelector(opts metav1.ListOptions) Option
type SgController ¶
type SgController struct {
// contains filtered or unexported fields
}
func NewSGServiceController ¶
func NewSGServiceController(name string, kubeClient kubernetes.Interface, opts ...Option) *SgController
Create a new sgcontroller with the given Name, Kubernetes client and opts Can be customized by adding Option(s).
func (*SgController) HandleStatefulSetWatchEvent ¶
Click to show internal directories.
Click to hide internal directories.