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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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