package
0.99.0-nabarun.1
Repository: https://github.com/palnabarun/kubectl.git
Documentation: pkg.go.dev

# Functions

NameFromCommandArgs is a utility function for commands that assume the first argument is a resource name.
NewClusterRoleBindingOptions creates a new *ClusterRoleBindingOptions with sane defaults.
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 creates the `create configmap` Cobra command.
NewCmdCreateCronJob is a command to create CronJobs.
NewCmdCreateDeployment is a macro command to create a new deployment.
NewCmdCreateIngress is a macro command to create a new ingress.
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 TLS client or server.
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.
NewConfigMapOptions creates a new *ConfigMapOptions with default value.
NewCreateCronJobOptions returns an initialized CreateCronJobOptions instance.
NewCreateDeploymentOptions returns an initialized CreateDeploymentOptions instance.
NewCreateIngressOptions creates the CreateIngressOptions to be used later.
NewCreateJobOptions initializes and returns new CreateJobOptions instance.
NewCreateOptions returns an initialized CreateOptions instance.
NewCreateRoleOptions returns an initialized CreateRoleOptions instance.
NewCreateSubcommandOptions returns initialized CreateSubcommandOptions.
NewNamespaceOptions creates a new *NamespaceOptions with sane defaults.
NewPodDisruptionBudgetOpts creates a new *PodDisruptionBudgetOpts with sane defaults.
NewPriorityClassOptions returns an initialized PriorityClassOptions instance.
NewQuotaOpts creates a new *QuotaOpts with sane defaults.
NewRoleBindingOptions creates a new *RoleBindingOptions with sane defaults.
NewSecretDockerRegistryOptions creates a new *CreateSecretDockerRegistryOptions with default value.
NewSecretOptions creates a new *CreateSecretOptions with default value.
NewSecretTLSOptions creates a new *CreateSecretTLSOptions with default value.
NewServiceAccountOpts creates a new *ServiceAccountOpts with sane defaults.
NewServiceOptions creates a ServiceOptions struct.
RunEditOnCreate performs edit on creation.

# Structs

ClusterRoleBindingOptions is returned by NewCmdCreateClusterRoleBinding.
ConfigMapOptions holds properties for create configmap sub-command.
CreateClusterRoleOptions is returned by NewCmdCreateClusterRole.
CreateCronJobOptions is returned by NewCreateCronJobOptions.
CreateDeploymentOptions is returned by NewCmdCreateDeployment.
CreateIngressOptions is returned by NewCmdCreateIngress.
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.
CreateSecretDockerRegistryOptions holds the options for 'create secret docker-registry' sub command.
CreateSecretOptions holds the options for 'create secret' sub command.
CreateSecretTLSOptions holds the options for 'create secret tls' sub command.
CreateSubcommandOptions is an options struct to support create subcommands.
DockerConfigEntry holds the user information that grant the access to docker registry.
DockerConfigJSON represents a local docker auth config file for pulling images.
NamespaceOptions is the options for 'create namespace' sub command.
PodDisruptionBudgetOpts holds the command-line options for poddisruptionbudget sub command.
PriorityClassOptions 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.
RoleBindingOptions holds the options for 'create rolebinding' sub command.
ServiceAccountOpts holds the options for 'create serviceaccount' sub command.
ServiceOptions holds the options for 'create service' sub command.

# Type aliases

DockerConfig represents the config file used by the docker CLI.