Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Resource = opkit.CustomResource{ Name: "cloudformationtemplate", Plural: "cloudformationtemplates", Group: awsapi.GroupName, Version: awsapi.Version, Scope: apiextensionsv1beta1.NamespaceScoped, Kind: reflect.TypeOf(awsV1alpha1.CloudFormationTemplate{}).Name(), ShortNames: []string{ "cft", "cfts", "cfn", "cfns", "cloudformation", }, }
Resource is the object store definition
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller represents a controller object for object store custom resources
func NewController ¶
func NewController(config *config.Config, context *opkit.Context, awsclientset awsclient.ServiceoperatorV1alpha1Interface) *Controller
NewController create controller for watching object store custom resources created
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.