Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GitHubRepositoryResource describes the CRD configuration for the // GitHubRepository CRD. GitHubRepositoryResource = kubekit.CustomResource{ Name: "githubrepository", Plural: "githubrepositories", Group: v1alpha1.GroupName, Version: v1alpha1.Version, Scope: v1beta1.NamespaceScoped, Aliases: []string{"ghr"}, Object: &v1alpha1.GitHubRepository{}, Validation: v1alpha1.GitHubRepositoryValidationSchema, } )
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is the configuration required to start the GitHub Controller.
func (Config) PayloadURL ¶
PayloadURL is returns the fully qualified URL used to do payload callbacks to.
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller will take care of syncing the internal status of the GitHub Policy object with the available releases on GitHub.
func NewController ¶
func NewController(rcfg *rest.Config, cs kubernetes.Interface, namespace string, cfg Config) (*Controller, error)
NewController returns a new GitHubRepository 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.