Documentation ¶
Index ¶
- func CreateFedResource(hostConfig *rest.Config, artifacts *federateArtifacts, dryrun bool) error
- func CreateResources(cmdOut io.Writer, hostConfig *rest.Config, artifacts *federateArtifacts, ...) error
- func FederatedResourceFromTargetResource(typeConfig typeconfig.Interface, resource *unstructured.Unstructured) (*unstructured.Unstructured, error)
- func GetFederateArtifacts(hostConfig *rest.Config, ...) (*federateArtifacts, 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 CreateFedResource ¶ added in v0.0.8
func CreateResources ¶ added in v0.0.4
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 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.