v1alpha1

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodPreset

type PodPreset struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrOutput     `pulumi:"kind"`
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	Spec     PodPresetSpecPtrOutput     `pulumi:"spec"`
}

PodPreset is a policy resource that defines additional runtime requirements for a Pod.

func GetPodPreset

func GetPodPreset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PodPresetState, opts ...pulumi.ResourceOption) (*PodPreset, error)

GetPodPreset gets an existing PodPreset resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPodPreset

func NewPodPreset(ctx *pulumi.Context,
	name string, args *PodPresetArgs, opts ...pulumi.ResourceOption) (*PodPreset, error)

NewPodPreset registers a new resource with the given unique name, arguments, and options.

type PodPresetArgs

type PodPresetArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrInput
	Metadata metav1.ObjectMetaPtrInput
	Spec     PodPresetSpecPtrInput
}

The set of arguments for constructing a PodPreset resource.

func (PodPresetArgs) ElementType

func (PodPresetArgs) ElementType() reflect.Type

type PodPresetList

type PodPresetList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Items is a list of schema objects.
	Items PodPresetTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

PodPresetList is a list of PodPreset objects.

func GetPodPresetList

func GetPodPresetList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PodPresetListState, opts ...pulumi.ResourceOption) (*PodPresetList, error)

GetPodPresetList gets an existing PodPresetList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPodPresetList

func NewPodPresetList(ctx *pulumi.Context,
	name string, args *PodPresetListArgs, opts ...pulumi.ResourceOption) (*PodPresetList, error)

NewPodPresetList registers a new resource with the given unique name, arguments, and options.

type PodPresetListArgs

type PodPresetListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Items is a list of schema objects.
	Items PodPresetTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a PodPresetList resource.

func (PodPresetListArgs) ElementType

func (PodPresetListArgs) ElementType() reflect.Type

type PodPresetListState

type PodPresetListState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Items is a list of schema objects.
	Items PodPresetTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

func (PodPresetListState) ElementType

func (PodPresetListState) ElementType() reflect.Type

type PodPresetListType

type PodPresetListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Items is a list of schema objects.
	Items []PodPresetType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

PodPresetList is a list of PodPreset objects.

type PodPresetListTypeArgs

type PodPresetListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Items is a list of schema objects.
	Items PodPresetTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

PodPresetList is a list of PodPreset objects.

func (PodPresetListTypeArgs) ElementType

func (PodPresetListTypeArgs) ElementType() reflect.Type

func (PodPresetListTypeArgs) ToPodPresetListTypeOutput

func (i PodPresetListTypeArgs) ToPodPresetListTypeOutput() PodPresetListTypeOutput

func (PodPresetListTypeArgs) ToPodPresetListTypeOutputWithContext

func (i PodPresetListTypeArgs) ToPodPresetListTypeOutputWithContext(ctx context.Context) PodPresetListTypeOutput

type PodPresetListTypeInput

type PodPresetListTypeInput interface {
	pulumi.Input

	ToPodPresetListTypeOutput() PodPresetListTypeOutput
	ToPodPresetListTypeOutputWithContext(context.Context) PodPresetListTypeOutput
}

type PodPresetListTypeOutput

type PodPresetListTypeOutput struct{ *pulumi.OutputState }

PodPresetList is a list of PodPreset objects.

func (PodPresetListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (PodPresetListTypeOutput) ElementType

func (PodPresetListTypeOutput) ElementType() reflect.Type

func (PodPresetListTypeOutput) Items

Items is a list of schema objects.

func (PodPresetListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (PodPresetListTypeOutput) ToPodPresetListTypeOutput

func (o PodPresetListTypeOutput) ToPodPresetListTypeOutput() PodPresetListTypeOutput

func (PodPresetListTypeOutput) ToPodPresetListTypeOutputWithContext

func (o PodPresetListTypeOutput) ToPodPresetListTypeOutputWithContext(ctx context.Context) PodPresetListTypeOutput

type PodPresetSpec

type PodPresetSpec struct {
	// Env defines the collection of EnvVar to inject into containers.
	Env []corev1.EnvVar `pulumi:"env"`
	// EnvFrom defines the collection of EnvFromSource to inject into containers.
	EnvFrom []corev1.EnvFromSource `pulumi:"envFrom"`
	// Selector is a label query over a set of resources, in this case pods. Required.
	Selector *metav1.LabelSelector `pulumi:"selector"`
	// VolumeMounts defines the collection of VolumeMount to inject into containers.
	VolumeMounts []corev1.VolumeMount `pulumi:"volumeMounts"`
	// Volumes defines the collection of Volume to inject into the pod.
	Volumes []corev1.Volume `pulumi:"volumes"`
}

PodPresetSpec is a description of a pod preset.

type PodPresetSpecArgs

type PodPresetSpecArgs struct {
	// Env defines the collection of EnvVar to inject into containers.
	Env corev1.EnvVarArrayInput `pulumi:"env"`
	// EnvFrom defines the collection of EnvFromSource to inject into containers.
	EnvFrom corev1.EnvFromSourceArrayInput `pulumi:"envFrom"`
	// Selector is a label query over a set of resources, in this case pods. Required.
	Selector metav1.LabelSelectorPtrInput `pulumi:"selector"`
	// VolumeMounts defines the collection of VolumeMount to inject into containers.
	VolumeMounts corev1.VolumeMountArrayInput `pulumi:"volumeMounts"`
	// Volumes defines the collection of Volume to inject into the pod.
	Volumes corev1.VolumeArrayInput `pulumi:"volumes"`
}

PodPresetSpec is a description of a pod preset.

func (PodPresetSpecArgs) ElementType

func (PodPresetSpecArgs) ElementType() reflect.Type

func (PodPresetSpecArgs) ToPodPresetSpecOutput

func (i PodPresetSpecArgs) ToPodPresetSpecOutput() PodPresetSpecOutput

func (PodPresetSpecArgs) ToPodPresetSpecOutputWithContext

func (i PodPresetSpecArgs) ToPodPresetSpecOutputWithContext(ctx context.Context) PodPresetSpecOutput

func (PodPresetSpecArgs) ToPodPresetSpecPtrOutput

func (i PodPresetSpecArgs) ToPodPresetSpecPtrOutput() PodPresetSpecPtrOutput

func (PodPresetSpecArgs) ToPodPresetSpecPtrOutputWithContext

func (i PodPresetSpecArgs) ToPodPresetSpecPtrOutputWithContext(ctx context.Context) PodPresetSpecPtrOutput

type PodPresetSpecInput

type PodPresetSpecInput interface {
	pulumi.Input

	ToPodPresetSpecOutput() PodPresetSpecOutput
	ToPodPresetSpecOutputWithContext(context.Context) PodPresetSpecOutput
}

type PodPresetSpecOutput

type PodPresetSpecOutput struct{ *pulumi.OutputState }

PodPresetSpec is a description of a pod preset.

func (PodPresetSpecOutput) ElementType

func (PodPresetSpecOutput) ElementType() reflect.Type

func (PodPresetSpecOutput) Env

Env defines the collection of EnvVar to inject into containers.

func (PodPresetSpecOutput) EnvFrom

EnvFrom defines the collection of EnvFromSource to inject into containers.

func (PodPresetSpecOutput) Selector

Selector is a label query over a set of resources, in this case pods. Required.

func (PodPresetSpecOutput) ToPodPresetSpecOutput

func (o PodPresetSpecOutput) ToPodPresetSpecOutput() PodPresetSpecOutput

func (PodPresetSpecOutput) ToPodPresetSpecOutputWithContext

func (o PodPresetSpecOutput) ToPodPresetSpecOutputWithContext(ctx context.Context) PodPresetSpecOutput

func (PodPresetSpecOutput) ToPodPresetSpecPtrOutput

func (o PodPresetSpecOutput) ToPodPresetSpecPtrOutput() PodPresetSpecPtrOutput

func (PodPresetSpecOutput) ToPodPresetSpecPtrOutputWithContext

func (o PodPresetSpecOutput) ToPodPresetSpecPtrOutputWithContext(ctx context.Context) PodPresetSpecPtrOutput

func (PodPresetSpecOutput) VolumeMounts

VolumeMounts defines the collection of VolumeMount to inject into containers.

func (PodPresetSpecOutput) Volumes

Volumes defines the collection of Volume to inject into the pod.

type PodPresetSpecPtrInput

type PodPresetSpecPtrInput interface {
	pulumi.Input

	ToPodPresetSpecPtrOutput() PodPresetSpecPtrOutput
	ToPodPresetSpecPtrOutputWithContext(context.Context) PodPresetSpecPtrOutput
}

type PodPresetSpecPtrOutput

type PodPresetSpecPtrOutput struct{ *pulumi.OutputState }

func (PodPresetSpecPtrOutput) Elem

func (PodPresetSpecPtrOutput) ElementType

func (PodPresetSpecPtrOutput) ElementType() reflect.Type

func (PodPresetSpecPtrOutput) Env

Env defines the collection of EnvVar to inject into containers.

func (PodPresetSpecPtrOutput) EnvFrom

EnvFrom defines the collection of EnvFromSource to inject into containers.

func (PodPresetSpecPtrOutput) Selector

Selector is a label query over a set of resources, in this case pods. Required.

func (PodPresetSpecPtrOutput) ToPodPresetSpecPtrOutput

func (o PodPresetSpecPtrOutput) ToPodPresetSpecPtrOutput() PodPresetSpecPtrOutput

func (PodPresetSpecPtrOutput) ToPodPresetSpecPtrOutputWithContext

func (o PodPresetSpecPtrOutput) ToPodPresetSpecPtrOutputWithContext(ctx context.Context) PodPresetSpecPtrOutput

func (PodPresetSpecPtrOutput) VolumeMounts

VolumeMounts defines the collection of VolumeMount to inject into containers.

func (PodPresetSpecPtrOutput) Volumes

Volumes defines the collection of Volume to inject into the pod.

type PodPresetState

type PodPresetState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrInput
	Metadata metav1.ObjectMetaPtrInput
	Spec     PodPresetSpecPtrInput
}

func (PodPresetState) ElementType

func (PodPresetState) ElementType() reflect.Type

type PodPresetType

type PodPresetType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     *string            `pulumi:"kind"`
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	Spec     *PodPresetSpec     `pulumi:"spec"`
}

PodPreset is a policy resource that defines additional runtime requirements for a Pod.

type PodPresetTypeArgs

type PodPresetTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrInput     `pulumi:"kind"`
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	Spec     PodPresetSpecPtrInput     `pulumi:"spec"`
}

PodPreset is a policy resource that defines additional runtime requirements for a Pod.

func (PodPresetTypeArgs) ElementType

func (PodPresetTypeArgs) ElementType() reflect.Type

func (PodPresetTypeArgs) ToPodPresetTypeOutput

func (i PodPresetTypeArgs) ToPodPresetTypeOutput() PodPresetTypeOutput

func (PodPresetTypeArgs) ToPodPresetTypeOutputWithContext

func (i PodPresetTypeArgs) ToPodPresetTypeOutputWithContext(ctx context.Context) PodPresetTypeOutput

type PodPresetTypeArray

type PodPresetTypeArray []PodPresetTypeInput

func (PodPresetTypeArray) ElementType

func (PodPresetTypeArray) ElementType() reflect.Type

func (PodPresetTypeArray) ToPodPresetTypeArrayOutput

func (i PodPresetTypeArray) ToPodPresetTypeArrayOutput() PodPresetTypeArrayOutput

func (PodPresetTypeArray) ToPodPresetTypeArrayOutputWithContext

func (i PodPresetTypeArray) ToPodPresetTypeArrayOutputWithContext(ctx context.Context) PodPresetTypeArrayOutput

type PodPresetTypeArrayInput

type PodPresetTypeArrayInput interface {
	pulumi.Input

	ToPodPresetTypeArrayOutput() PodPresetTypeArrayOutput
	ToPodPresetTypeArrayOutputWithContext(context.Context) PodPresetTypeArrayOutput
}

type PodPresetTypeArrayOutput

type PodPresetTypeArrayOutput struct{ *pulumi.OutputState }

func (PodPresetTypeArrayOutput) ElementType

func (PodPresetTypeArrayOutput) ElementType() reflect.Type

func (PodPresetTypeArrayOutput) Index

func (PodPresetTypeArrayOutput) ToPodPresetTypeArrayOutput

func (o PodPresetTypeArrayOutput) ToPodPresetTypeArrayOutput() PodPresetTypeArrayOutput

func (PodPresetTypeArrayOutput) ToPodPresetTypeArrayOutputWithContext

func (o PodPresetTypeArrayOutput) ToPodPresetTypeArrayOutputWithContext(ctx context.Context) PodPresetTypeArrayOutput

type PodPresetTypeInput

type PodPresetTypeInput interface {
	pulumi.Input

	ToPodPresetTypeOutput() PodPresetTypeOutput
	ToPodPresetTypeOutputWithContext(context.Context) PodPresetTypeOutput
}

type PodPresetTypeOutput

type PodPresetTypeOutput struct{ *pulumi.OutputState }

PodPreset is a policy resource that defines additional runtime requirements for a Pod.

func (PodPresetTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (PodPresetTypeOutput) ElementType

func (PodPresetTypeOutput) ElementType() reflect.Type

func (PodPresetTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (PodPresetTypeOutput) Metadata

func (PodPresetTypeOutput) Spec

func (PodPresetTypeOutput) ToPodPresetTypeOutput

func (o PodPresetTypeOutput) ToPodPresetTypeOutput() PodPresetTypeOutput

func (PodPresetTypeOutput) ToPodPresetTypeOutputWithContext

func (o PodPresetTypeOutput) ToPodPresetTypeOutputWithContext(ctx context.Context) PodPresetTypeOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL