Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Resource = opkit.CustomResource{ Name: "serverlessrelease", Plural: "serverlessreleases", Group: slsapi.GroupName, Version: slsapi.Version, Scope: apiextensionsv1beta1.NamespaceScoped, Kind: reflect.TypeOf(slsapiv1.ServerlessRelease{}).Name(), ShortNames: []string{ "sls", "slsrelease", }, }
Resource represents the CRD for the serverless release
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller represents the controller object for the resource
func NewController ¶
func NewController(config *config.Config, context *opkit.Context, slsClientSet slsclient.ReleaseV1alpha1Interface) *Controller
NewController creates a new Controller
func (*Controller) StartWatch ¶
func (c *Controller) StartWatch(namespace string, stopCh <-chan struct{}) error
StartWatch watches for instances of Object Store custom resources and acts on them
Click to show internal directories.
Click to hide internal directories.