package
1.14.0-alpha.1
Repository: https://github.com/micnncim/kubernetes.git
Documentation: pkg.go.dev
# Functions
NameFromCommandArgs is a utility function for commands that assume the first argument is a resource name.
NewCmdCreate returns new initialized instance of create sub command.
NewCmdCreateClusterRole initializes and returns new ClusterRoles command.
NewCmdCreateClusterRoleBinding returns an initialized command instance of ClusterRoleBinding.
NewCmdCreateConfigMap initializes and returns ConfigMapOpts.
NewCmdCreateDeployment is a macro command to create a new deployment.
NewCmdCreateJob is a command to ease creating Jobs from CronJobs.
NewCmdCreateNamespace is a macro command to create a new namespace.
NewCmdCreatePodDisruptionBudget is a macro command to create a new pod disruption budget.
NewCmdCreatePriorityClass is a macro command to create a new priorityClass.
NewCmdCreateQuota is a macro command to create a new quota.
NewCmdCreateRole returnns an initialized Command instance for 'create role' sub command.
NewCmdCreateRoleBinding returns an initialized Command instance for 'create rolebinding' sub command.
NewCmdCreateSecret groups subcommands to create various types of secrets.
NewCmdCreateSecretDockerRegistry is a macro command for creating secrets to work with Docker registries.
NewCmdCreateSecretGeneric is a command to create generic secrets from files, directories, or literal values.
NewCmdCreateSecretTLS is a macro command for creating secrets to work with Docker registries.
NewCmdCreateService is a macro command to create a new service.
NewCmdCreateServiceAccount is a macro command to create a new service account.
NewCmdCreateServiceClusterIP is a command to create a ClusterIP service.
NewCmdCreateServiceExternalName is a macro command for creating an ExternalName service.
NewCmdCreateServiceLoadBalancer is a macro command for creating a LoadBalancer service.
NewCmdCreateServiceNodePort is a macro command for creating a NodePort service.
NewCreateJobOptions initializes and returns new CreateJobOptions instance.
NewCreateOptions returns an initialized CreateOptions instance.
NewCreateRoleOptions returns an initialized CreateRoleOptions instance.
NewCreateSubcommandOptions returns initialized CreateSubcommandOptions.
RunEditOnCreate performs edit on creation.
# Structs
ClusterRoleBindingOpts is returned by NewCmdCreateClusterRoleBinding.
ConfigMapOpts holds properties for create configmap sub-command.
CreateClusterRoleOptions is returned by NewCmdCreateClusterRole.
CreateJobOptions is the command line options for 'create job'.
CreateOptions is the commandline options for 'create' sub command.
CreateRoleOptions holds the options for 'create role' sub command.
CreateSubcommandOptions is an options struct to support create subcommands.
DeploymentOpts is returned by NewCmdCreateDeployment.
NamespaceOpts is the options for 'create namespare' sub command.
PodDisruptionBudgetOpts holds the command-line options for poddisruptionbudget sub command.
PriorityClassOpts holds the options for 'create priorityclass' sub command.
QuotaOpts holds the command-line options for 'create quota' sub command.
ResourceOptions holds the related options for '--resource' option.
RoleBindingOpts holds the options for 'create rolebinding' sub command.
SecretDockerRegistryOpts holds the options for 'create secret docker-registry' sub command.
SecretGenericOpts holds the options for 'create secret' sub command.
SecretTLSOpts holds the options for 'create secret tls' sub command.
ServiceAccountOpts holds the options for 'create serviceaccount' sub command.
ServiceClusterIPOpts holds the options for 'create service clusterip' sub command.
ServiceExternalNameOpts holds the options for 'create service externalname' sub command.
ServiceLoadBalancerOpts holds the options for 'create service loadbalancer' sub command.
ServiceNodePortOpts holds the options for 'create service nodeport' sub command.