Documentation ¶
Index ¶
- func FederateResource(hostConfig *rest.Config, ...) (*unstructured.Unstructured, error)
- func FederatedResourceFromTargetResource(typeConfig typeconfig.Interface, targetResource *unstructured.Unstructured) (*unstructured.Unstructured, error)
- func NewCmdFederateResource(cmdOut io.Writer, config util.FedConfig) *cobra.Command
- func RemoveUnwantedFields(resource *unstructured.Unstructured)
- func SetBasicMetaFields(resource *unstructured.Unstructured, apiResource metav1.APIResource, ...)
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
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.
Click to show internal directories.
Click to hide internal directories.