controller

package
v0.0.0-...-dc93d20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePlugin

func DeletePlugin(name string, repo *git.Repo) error

DeletePlugin deletes the plugin from git repository and removes the actuall plugin tarball from local.

func UpsertPlugin

func UpsertPlugin(plugin *v1alpha1.Plugin, repo *git.Repo, client *kubernetes.Clientset, dynamicClient *dynamic.DynamicClient, route routeclient.RouteV1Interface, insecureHTTP bool) error

Types

type Controller

type Controller struct {
	factory.Controller
	// contains filtered or unexported fields
}

func NewCLISyncController

func NewCLISyncController(repo *git.Repo, informers dynamicinformer.DynamicSharedInformerFactory, client *kubernetes.Clientset, dynamicClient *dynamic.DynamicClient, route routeclient.RouteV1Interface, insecureHTTP bool, eventRecorder events.Recorder) (*Controller, error)

NewCLISyncController creates CLI Sync Controller to react changes in Plugin resource

type DockerConfig

type DockerConfig map[string]DockerConfigEntry

type DockerConfigEntry

type DockerConfigEntry struct {
	Auth string `json:"auth"`
}

type DockerConfigJson

type DockerConfigJson struct {
	Auths DockerConfig `json:"auths"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL