-
Completecompletes all the required options -
Validatevalidates required fields are set to support structured generation -
Runcalls the CreateSubcommandOptions.Run in NamespaceOpts instance -
createNamespaceoutputs a namespace object using the configured fields - Then
o.Client.Namespaces().Create(context.TODO(), namespace, createOptions)creates namespace
Next part staging/src/k8s.io/client-go/kubernetes/typed/core/v1/namespace.go
Top comments (0)