Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConfigPolicyResource describes the CRD configuration for the // ConfigPolicy CRD. ConfigPolicyResource = kubekit.CustomResource{ Name: "configpolicy", Plural: "configpolicies", Group: v1alpha1.GroupName, Version: v1alpha1.Version, Scope: v1beta1.NamespaceScoped, Aliases: []string{"cp"}, Object: &v1alpha1.ConfigPolicy{}, Validation: v1alpha1.ConfigPolicyValidationSchema, } )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller represents the MicroserviceController. This controller takes care of creating, updating and deleting lower level Kubernetese components that are associated with a specific Microservice.
func NewController ¶
func NewController(cfg *rest.Config, cs kubernetes.Interface, namespace string) (*Controller, error)
NewController returns a new ConfigPolicy Controller.
func (*Controller) Run ¶
func (c *Controller) Run() error
Run runs the Controller in the background and sets up watchers to take action when the desired state is altered.
Click to show internal directories.
Click to hide internal directories.