replication

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReplicateKey = "replicate"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionContext

type AdmissionContext struct {
	AuthzClient         authz_v1client.SubjectAccessReviewInterface
	CurrentLocation     voyager.ClusterLocation
	ReplicatedLocations sets.ClusterLocation
	// contains filtered or unexported fields
}

func (*AdmissionContext) SetupAdmissionWebhooks

func (ac *AdmissionContext) SetupAdmissionWebhooks(r *chi.Mux) error

SetupAPI handles creating a route for the mutating webhook

type Controller

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

func (*Controller) Process

func (c *Controller) Process(pctx *ctrl.ProcessContext) (bool, bool, error)

TODO: We need to develop a way to reconcile clusters in the many error states we can get into

func (*Controller) Run

func (c *Controller) Run(ctx context.Context)

type ControllerConstructor

type ControllerConstructor struct {
	RemoteConfigFile string
	ConfigContext    string
	TLSCert          string
	TLSKey           string
}

func (*ControllerConstructor) AddFlags

func (cc *ControllerConstructor) AddFlags(flagset ctrl.FlagSet)

func (*ControllerConstructor) Describe

func (cc *ControllerConstructor) Describe() ctrl.Descriptor

func (*ControllerConstructor) New

func (cc *ControllerConstructor) New(config *ctrl.Config, cctx *ctrl.Context) (*ctrl.Constructed, error)

type RejectionMessage

type RejectionMessage string

Jump to

Keyboard shortcuts

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