Documentation
¶
Overview ¶
A Pulumi package for creating and managing Kubernetes resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type Provider
- func (*Provider) ElementType() reflect.Type
- func (i *Provider) ToProviderOutput() ProviderOutput
- func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
- func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
- func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
- type ProviderPtrInput
- type ProviderPtrOutput
- type UntypedArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package.
Types ¶
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
The provider type for the kubernetes package.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (*Provider) ToProviderPtrOutput ¶
func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
func (*Provider) ToProviderPtrOutputWithContext ¶
func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderArgs ¶
type ProviderArgs struct {
// If present, the name of the kubeconfig cluster to use.
Cluster pulumi.StringPtrInput
// If present, the name of the kubeconfig context to use.
Context pulumi.StringPtrInput
// BETA FEATURE - If present and set to true, enable server-side diff calculations.
// This feature is in developer preview, and is disabled by default.
EnableDryRun pulumi.BoolPtrInput
// BETA FEATURE - Used for supporting Helm Release resource (Beta). The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
HelmDriver pulumi.StringPtrInput
// BETA FEATURE - Used for supporting Helm Release resource (Beta). The path to the helm plugins directory.
HelmPluginsPath pulumi.StringPtrInput
// BETA FEATURE - Used for supporting Helm Release resource (Beta). The path to the registry config file.
HelmRegistryConfigPath pulumi.StringPtrInput
// BETA FEATURE - Used for supporting Helm Release resource (Beta). The path to the file containing cached repository indexes.
HelmRepositoryCache pulumi.StringPtrInput
// BETA FEATURE - Used for supporting Helm Release resource (Beta). The path to the file containing repository names and URLs.
HelmRepositoryConfigPath pulumi.StringPtrInput
// The contents of a kubeconfig file or the path to a kubeconfig file.
Kubeconfig pulumi.StringPtrInput
// If present, the default namespace to use. This flag is ignored for cluster-scoped resources.
//
// A namespace can be specified in multiple places, and the precedence is as follows:
// 1. `.metadata.namespace` set on the resource.
// 2. This `namespace` parameter.
// 3. `namespace` set for the active context in the kubeconfig.
Namespace pulumi.StringPtrInput
// BETA FEATURE - If present, render resource manifests to this directory. In this mode, resources will not
// be created on a Kubernetes cluster, but the rendered manifests will be kept in sync with changes
// to the Pulumi program. This feature is in developer preview, and is disabled by default.
//
// Note that some computed Outputs such as status fields will not be populated
// since the resources are not created on a Kubernetes cluster. These Output values will remain undefined,
// and may result in an error if they are referenced by other resources. Also note that any secret values
// used in these resources will be rendered in plaintext to the resulting YAML.
RenderYamlToDirectory pulumi.StringPtrInput
// If present and set to true, suppress apiVersion deprecation warnings from the CLI.
SuppressDeprecationWarnings pulumi.BoolPtrInput
// If present and set to true, suppress unsupported Helm hook warnings from the CLI.
SuppressHelmHookWarnings pulumi.BoolPtrInput
// While Helm Release provider is in beta, by default 'pulumi up' will log a warning if the resource is used. If present and set to "true", this warning is omitted.
SuppressHelmReleaseBetaWarning pulumi.BoolPtrInput
}
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface {
pulumi.Input
ToProviderOutput() ProviderOutput
ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) ToProviderPtrOutput ¶
func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderOutput) ToProviderPtrOutputWithContext ¶
func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderPtrInput ¶
type ProviderPtrInput interface {
pulumi.Input
ToProviderPtrOutput() ProviderPtrOutput
ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
}
type ProviderPtrOutput ¶
type ProviderPtrOutput struct{ *pulumi.OutputState }
func (ProviderPtrOutput) Elem ¶ added in v3.7.2
func (o ProviderPtrOutput) Elem() ProviderOutput
func (ProviderPtrOutput) ElementType ¶
func (ProviderPtrOutput) ElementType() reflect.Type
func (ProviderPtrOutput) ToProviderPtrOutput ¶
func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderPtrOutput) ToProviderPtrOutputWithContext ¶
func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type UntypedArgs ¶
type UntypedArgs map[string]interface{}
UntypedArgs is an untyped interface that is required for YAML and CustomResource support.
func (UntypedArgs) ElementType ¶
func (UntypedArgs) ElementType() reflect.Type
Directories
¶
| Path | Synopsis |
|---|---|
|
admissionregistration
|
|
|
apiregistration
|
|
|
apps
|
|
|
auditregistration
|
|
|
authentication
|
|
|
authorization
|
|
|
autoscaling
|
|
|
batch
|
|
|
certificates
|
|
|
coordination
|
|
|
core
|
|
|
discovery
|
|
|
events
|
|
|
extensions
|
|
|
flowcontrol
|
|
|
helm
|
|
|
meta
|
|
|
networking
|
|
|
node
|
|
|
pkg
|
|
|
policy
|
|
|
rbac
|
|
|
scheduling
|
|
|
settings
|
|
|
storage
|
|
Click to show internal directories.
Click to hide internal directories.