federate

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFedResource added in v0.0.8

func CreateFedResource(hostConfig *rest.Config, artifacts *federateArtifacts, dryrun bool) error

func CreateResources added in v0.0.4

func CreateResources(cmdOut io.Writer, hostConfig *rest.Config, artifacts *federateArtifacts, namespace string, enableType, dryrun bool) error

func FederatedResourceFromTargetResource added in v0.0.7

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

func GetFederateArtifacts added in v0.0.9

func GetFederateArtifacts(hostConfig *rest.Config, qualifiedTypeName, qualifiedName ctlutil.QualifiedName, enableType, outputYAML bool) (*federateArtifacts, 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