federate

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrdForAPIResource

func CrdForAPIResource(apiResource metav1.APIResource) *apiextv1b1.CustomResourceDefinition

func DisableFederation

func DisableFederation(config *rest.Config, typeConfigName ctlutil.QualifiedName, delete, dryRun bool) error

func EnableFederation

func EnableFederation(cmdOut io.Writer, config *rest.Config, federationNamespace, key, primitiveGroup,
	primitiveVersion string, comparisonField apicommon.VersionComparisonField,
	overridePaths []string, outputYAML, dryRun bool) (typeconfig.Interface, error)

TODO(marun) Allow updates to the configuration for a type that has already been enabled for federation. This would likely involve updating the version of the target type and the validation of the schema.

func LookupAPIResource

func LookupAPIResource(config *rest.Config, key string) (*metav1.APIResource, error)

func NewCmdFederate

func NewCmdFederate(cmdOut io.Writer, config util.FedConfig) *cobra.Command

NewCmdFederate creates a command object for the "federate" action, and adds all child commands to it.

func NewCmdFederateDisable

func NewCmdFederateDisable(cmdOut io.Writer, config util.FedConfig) *cobra.Command

NewCmdFederateDisable defines the `federate disable` command that disables federation of a Kubernetes API type.

func NewCmdFederateEnable

func NewCmdFederateEnable(cmdOut io.Writer, config util.FedConfig) *cobra.Command

NewCmdFederateEnable defines the `federate enable` command that enables federation of a Kubernetes API type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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