federate

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FederateResource added in v0.0.7

func FederateResource(hostConfig *rest.Config, qualifiedTypeName, qualifiedName ctlutil.QualifiedName, dryrun bool) (*unstructured.Unstructured, error)

func FederatedResourceFromTargetResource added in v0.0.7

func FederatedResourceFromTargetResource(typeConfig typeconfig.Interface, targetResource *unstructured.Unstructured) (*unstructured.Unstructured, error)

func NewCmdFederateResource added in v0.0.7

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

NewCmdFederateResource defines the `federate` command that federates a Kubernetes resource of the given kubernetes type.

func RemoveUnwantedFields added in v0.0.7

func RemoveUnwantedFields(resource *unstructured.Unstructured)

func SetBasicMetaFields added in v0.0.7

func SetBasicMetaFields(resource *unstructured.Unstructured, apiResource metav1.APIResource, name, namespace, generateName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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