v1alpha1

package
Version: v3.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditSink

type AuditSink 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 defines the audit configuration spec
	Spec AuditSinkSpecPtrOutput `pulumi:"spec"`
}

AuditSink represents a cluster level audit sink

func GetAuditSink

func GetAuditSink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuditSinkState, opts ...pulumi.ResourceOption) (*AuditSink, error)

GetAuditSink gets an existing AuditSink 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 NewAuditSink

func NewAuditSink(ctx *pulumi.Context,
	name string, args *AuditSinkArgs, opts ...pulumi.ResourceOption) (*AuditSink, error)

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

func (*AuditSink) ElementType

func (*AuditSink) ElementType() reflect.Type

func (*AuditSink) ToAuditSinkOutput

func (i *AuditSink) ToAuditSinkOutput() AuditSinkOutput

func (*AuditSink) ToAuditSinkOutputWithContext

func (i *AuditSink) ToAuditSinkOutputWithContext(ctx context.Context) AuditSinkOutput

func (*AuditSink) ToAuditSinkPtrOutput

func (i *AuditSink) ToAuditSinkPtrOutput() AuditSinkPtrOutput

func (*AuditSink) ToAuditSinkPtrOutputWithContext

func (i *AuditSink) ToAuditSinkPtrOutputWithContext(ctx context.Context) AuditSinkPtrOutput

type AuditSinkArgs

type AuditSinkArgs 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 defines the audit configuration spec
	Spec AuditSinkSpecPtrInput
}

The set of arguments for constructing a AuditSink resource.

func (AuditSinkArgs) ElementType

func (AuditSinkArgs) ElementType() reflect.Type

type AuditSinkArray

type AuditSinkArray []AuditSinkInput

func (AuditSinkArray) ElementType

func (AuditSinkArray) ElementType() reflect.Type

func (AuditSinkArray) ToAuditSinkArrayOutput

func (i AuditSinkArray) ToAuditSinkArrayOutput() AuditSinkArrayOutput

func (AuditSinkArray) ToAuditSinkArrayOutputWithContext

func (i AuditSinkArray) ToAuditSinkArrayOutputWithContext(ctx context.Context) AuditSinkArrayOutput

type AuditSinkArrayInput

type AuditSinkArrayInput interface {
	pulumi.Input

	ToAuditSinkArrayOutput() AuditSinkArrayOutput
	ToAuditSinkArrayOutputWithContext(context.Context) AuditSinkArrayOutput
}

AuditSinkArrayInput is an input type that accepts AuditSinkArray and AuditSinkArrayOutput values. You can construct a concrete instance of `AuditSinkArrayInput` via:

AuditSinkArray{ AuditSinkArgs{...} }

type AuditSinkArrayOutput

type AuditSinkArrayOutput struct{ *pulumi.OutputState }

func (AuditSinkArrayOutput) ElementType

func (AuditSinkArrayOutput) ElementType() reflect.Type

func (AuditSinkArrayOutput) Index

func (AuditSinkArrayOutput) ToAuditSinkArrayOutput

func (o AuditSinkArrayOutput) ToAuditSinkArrayOutput() AuditSinkArrayOutput

func (AuditSinkArrayOutput) ToAuditSinkArrayOutputWithContext

func (o AuditSinkArrayOutput) ToAuditSinkArrayOutputWithContext(ctx context.Context) AuditSinkArrayOutput

type AuditSinkInput

type AuditSinkInput interface {
	pulumi.Input

	ToAuditSinkOutput() AuditSinkOutput
	ToAuditSinkOutputWithContext(ctx context.Context) AuditSinkOutput
}

type AuditSinkList

type AuditSinkList 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"`
	// List of audit configurations.
	Items AuditSinkTypeArrayOutput `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"`
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

AuditSinkList is a list of AuditSink items.

func GetAuditSinkList

func GetAuditSinkList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuditSinkListState, opts ...pulumi.ResourceOption) (*AuditSinkList, error)

GetAuditSinkList gets an existing AuditSinkList 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 NewAuditSinkList

func NewAuditSinkList(ctx *pulumi.Context,
	name string, args *AuditSinkListArgs, opts ...pulumi.ResourceOption) (*AuditSinkList, error)

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

func (*AuditSinkList) ElementType

func (*AuditSinkList) ElementType() reflect.Type

func (*AuditSinkList) ToAuditSinkListOutput

func (i *AuditSinkList) ToAuditSinkListOutput() AuditSinkListOutput

func (*AuditSinkList) ToAuditSinkListOutputWithContext

func (i *AuditSinkList) ToAuditSinkListOutputWithContext(ctx context.Context) AuditSinkListOutput

func (*AuditSinkList) ToAuditSinkListPtrOutput

func (i *AuditSinkList) ToAuditSinkListPtrOutput() AuditSinkListPtrOutput

func (*AuditSinkList) ToAuditSinkListPtrOutputWithContext

func (i *AuditSinkList) ToAuditSinkListPtrOutputWithContext(ctx context.Context) AuditSinkListPtrOutput

type AuditSinkListArgs

type AuditSinkListArgs 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
	// List of audit configurations.
	Items AuditSinkTypeArrayInput
	// 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.ListMetaPtrInput
}

The set of arguments for constructing a AuditSinkList resource.

func (AuditSinkListArgs) ElementType

func (AuditSinkListArgs) ElementType() reflect.Type

type AuditSinkListArray

type AuditSinkListArray []AuditSinkListInput

func (AuditSinkListArray) ElementType

func (AuditSinkListArray) ElementType() reflect.Type

func (AuditSinkListArray) ToAuditSinkListArrayOutput

func (i AuditSinkListArray) ToAuditSinkListArrayOutput() AuditSinkListArrayOutput

func (AuditSinkListArray) ToAuditSinkListArrayOutputWithContext

func (i AuditSinkListArray) ToAuditSinkListArrayOutputWithContext(ctx context.Context) AuditSinkListArrayOutput

type AuditSinkListArrayInput

type AuditSinkListArrayInput interface {
	pulumi.Input

	ToAuditSinkListArrayOutput() AuditSinkListArrayOutput
	ToAuditSinkListArrayOutputWithContext(context.Context) AuditSinkListArrayOutput
}

AuditSinkListArrayInput is an input type that accepts AuditSinkListArray and AuditSinkListArrayOutput values. You can construct a concrete instance of `AuditSinkListArrayInput` via:

AuditSinkListArray{ AuditSinkListArgs{...} }

type AuditSinkListArrayOutput

type AuditSinkListArrayOutput struct{ *pulumi.OutputState }

func (AuditSinkListArrayOutput) ElementType

func (AuditSinkListArrayOutput) ElementType() reflect.Type

func (AuditSinkListArrayOutput) Index

func (AuditSinkListArrayOutput) ToAuditSinkListArrayOutput

func (o AuditSinkListArrayOutput) ToAuditSinkListArrayOutput() AuditSinkListArrayOutput

func (AuditSinkListArrayOutput) ToAuditSinkListArrayOutputWithContext

func (o AuditSinkListArrayOutput) ToAuditSinkListArrayOutputWithContext(ctx context.Context) AuditSinkListArrayOutput

type AuditSinkListInput

type AuditSinkListInput interface {
	pulumi.Input

	ToAuditSinkListOutput() AuditSinkListOutput
	ToAuditSinkListOutputWithContext(ctx context.Context) AuditSinkListOutput
}

type AuditSinkListMap

type AuditSinkListMap map[string]AuditSinkListInput

func (AuditSinkListMap) ElementType

func (AuditSinkListMap) ElementType() reflect.Type

func (AuditSinkListMap) ToAuditSinkListMapOutput

func (i AuditSinkListMap) ToAuditSinkListMapOutput() AuditSinkListMapOutput

func (AuditSinkListMap) ToAuditSinkListMapOutputWithContext

func (i AuditSinkListMap) ToAuditSinkListMapOutputWithContext(ctx context.Context) AuditSinkListMapOutput

type AuditSinkListMapInput

type AuditSinkListMapInput interface {
	pulumi.Input

	ToAuditSinkListMapOutput() AuditSinkListMapOutput
	ToAuditSinkListMapOutputWithContext(context.Context) AuditSinkListMapOutput
}

AuditSinkListMapInput is an input type that accepts AuditSinkListMap and AuditSinkListMapOutput values. You can construct a concrete instance of `AuditSinkListMapInput` via:

AuditSinkListMap{ "key": AuditSinkListArgs{...} }

type AuditSinkListMapOutput

type AuditSinkListMapOutput struct{ *pulumi.OutputState }

func (AuditSinkListMapOutput) ElementType

func (AuditSinkListMapOutput) ElementType() reflect.Type

func (AuditSinkListMapOutput) MapIndex

func (AuditSinkListMapOutput) ToAuditSinkListMapOutput

func (o AuditSinkListMapOutput) ToAuditSinkListMapOutput() AuditSinkListMapOutput

func (AuditSinkListMapOutput) ToAuditSinkListMapOutputWithContext

func (o AuditSinkListMapOutput) ToAuditSinkListMapOutputWithContext(ctx context.Context) AuditSinkListMapOutput

type AuditSinkListOutput

type AuditSinkListOutput struct{ *pulumi.OutputState }

func (AuditSinkListOutput) ElementType

func (AuditSinkListOutput) ElementType() reflect.Type

func (AuditSinkListOutput) ToAuditSinkListOutput

func (o AuditSinkListOutput) ToAuditSinkListOutput() AuditSinkListOutput

func (AuditSinkListOutput) ToAuditSinkListOutputWithContext

func (o AuditSinkListOutput) ToAuditSinkListOutputWithContext(ctx context.Context) AuditSinkListOutput

func (AuditSinkListOutput) ToAuditSinkListPtrOutput

func (o AuditSinkListOutput) ToAuditSinkListPtrOutput() AuditSinkListPtrOutput

func (AuditSinkListOutput) ToAuditSinkListPtrOutputWithContext

func (o AuditSinkListOutput) ToAuditSinkListPtrOutputWithContext(ctx context.Context) AuditSinkListPtrOutput

type AuditSinkListPtrInput

type AuditSinkListPtrInput interface {
	pulumi.Input

	ToAuditSinkListPtrOutput() AuditSinkListPtrOutput
	ToAuditSinkListPtrOutputWithContext(ctx context.Context) AuditSinkListPtrOutput
}

type AuditSinkListPtrOutput

type AuditSinkListPtrOutput struct{ *pulumi.OutputState }

func (AuditSinkListPtrOutput) Elem added in v3.7.2

func (AuditSinkListPtrOutput) ElementType

func (AuditSinkListPtrOutput) ElementType() reflect.Type

func (AuditSinkListPtrOutput) ToAuditSinkListPtrOutput

func (o AuditSinkListPtrOutput) ToAuditSinkListPtrOutput() AuditSinkListPtrOutput

func (AuditSinkListPtrOutput) ToAuditSinkListPtrOutputWithContext

func (o AuditSinkListPtrOutput) ToAuditSinkListPtrOutputWithContext(ctx context.Context) AuditSinkListPtrOutput

type AuditSinkListState

type AuditSinkListState struct {
}

func (AuditSinkListState) ElementType

func (AuditSinkListState) ElementType() reflect.Type

type AuditSinkListType

type AuditSinkListType 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"`
	// List of audit configurations.
	Items []AuditSinkType `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"`
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

AuditSinkList is a list of AuditSink items.

type AuditSinkListTypeArgs

type AuditSinkListTypeArgs 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"`
	// List of audit configurations.
	Items AuditSinkTypeArrayInput `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"`
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

AuditSinkList is a list of AuditSink items.

func (AuditSinkListTypeArgs) ElementType

func (AuditSinkListTypeArgs) ElementType() reflect.Type

func (AuditSinkListTypeArgs) ToAuditSinkListTypeOutput

func (i AuditSinkListTypeArgs) ToAuditSinkListTypeOutput() AuditSinkListTypeOutput

func (AuditSinkListTypeArgs) ToAuditSinkListTypeOutputWithContext

func (i AuditSinkListTypeArgs) ToAuditSinkListTypeOutputWithContext(ctx context.Context) AuditSinkListTypeOutput

type AuditSinkListTypeInput

type AuditSinkListTypeInput interface {
	pulumi.Input

	ToAuditSinkListTypeOutput() AuditSinkListTypeOutput
	ToAuditSinkListTypeOutputWithContext(context.Context) AuditSinkListTypeOutput
}

AuditSinkListTypeInput is an input type that accepts AuditSinkListTypeArgs and AuditSinkListTypeOutput values. You can construct a concrete instance of `AuditSinkListTypeInput` via:

AuditSinkListTypeArgs{...}

type AuditSinkListTypeOutput

type AuditSinkListTypeOutput struct{ *pulumi.OutputState }

AuditSinkList is a list of AuditSink items.

func (AuditSinkListTypeOutput) 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 (AuditSinkListTypeOutput) ElementType

func (AuditSinkListTypeOutput) ElementType() reflect.Type

func (AuditSinkListTypeOutput) Items

List of audit configurations.

func (AuditSinkListTypeOutput) 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 (AuditSinkListTypeOutput) Metadata

func (AuditSinkListTypeOutput) ToAuditSinkListTypeOutput

func (o AuditSinkListTypeOutput) ToAuditSinkListTypeOutput() AuditSinkListTypeOutput

func (AuditSinkListTypeOutput) ToAuditSinkListTypeOutputWithContext

func (o AuditSinkListTypeOutput) ToAuditSinkListTypeOutputWithContext(ctx context.Context) AuditSinkListTypeOutput

type AuditSinkMap

type AuditSinkMap map[string]AuditSinkInput

func (AuditSinkMap) ElementType

func (AuditSinkMap) ElementType() reflect.Type

func (AuditSinkMap) ToAuditSinkMapOutput

func (i AuditSinkMap) ToAuditSinkMapOutput() AuditSinkMapOutput

func (AuditSinkMap) ToAuditSinkMapOutputWithContext

func (i AuditSinkMap) ToAuditSinkMapOutputWithContext(ctx context.Context) AuditSinkMapOutput

type AuditSinkMapInput

type AuditSinkMapInput interface {
	pulumi.Input

	ToAuditSinkMapOutput() AuditSinkMapOutput
	ToAuditSinkMapOutputWithContext(context.Context) AuditSinkMapOutput
}

AuditSinkMapInput is an input type that accepts AuditSinkMap and AuditSinkMapOutput values. You can construct a concrete instance of `AuditSinkMapInput` via:

AuditSinkMap{ "key": AuditSinkArgs{...} }

type AuditSinkMapOutput

type AuditSinkMapOutput struct{ *pulumi.OutputState }

func (AuditSinkMapOutput) ElementType

func (AuditSinkMapOutput) ElementType() reflect.Type

func (AuditSinkMapOutput) MapIndex

func (AuditSinkMapOutput) ToAuditSinkMapOutput

func (o AuditSinkMapOutput) ToAuditSinkMapOutput() AuditSinkMapOutput

func (AuditSinkMapOutput) ToAuditSinkMapOutputWithContext

func (o AuditSinkMapOutput) ToAuditSinkMapOutputWithContext(ctx context.Context) AuditSinkMapOutput

type AuditSinkOutput

type AuditSinkOutput struct{ *pulumi.OutputState }

func (AuditSinkOutput) ElementType

func (AuditSinkOutput) ElementType() reflect.Type

func (AuditSinkOutput) ToAuditSinkOutput

func (o AuditSinkOutput) ToAuditSinkOutput() AuditSinkOutput

func (AuditSinkOutput) ToAuditSinkOutputWithContext

func (o AuditSinkOutput) ToAuditSinkOutputWithContext(ctx context.Context) AuditSinkOutput

func (AuditSinkOutput) ToAuditSinkPtrOutput

func (o AuditSinkOutput) ToAuditSinkPtrOutput() AuditSinkPtrOutput

func (AuditSinkOutput) ToAuditSinkPtrOutputWithContext

func (o AuditSinkOutput) ToAuditSinkPtrOutputWithContext(ctx context.Context) AuditSinkPtrOutput

type AuditSinkPtrInput

type AuditSinkPtrInput interface {
	pulumi.Input

	ToAuditSinkPtrOutput() AuditSinkPtrOutput
	ToAuditSinkPtrOutputWithContext(ctx context.Context) AuditSinkPtrOutput
}

type AuditSinkPtrOutput

type AuditSinkPtrOutput struct{ *pulumi.OutputState }

func (AuditSinkPtrOutput) Elem added in v3.7.2

func (AuditSinkPtrOutput) ElementType

func (AuditSinkPtrOutput) ElementType() reflect.Type

func (AuditSinkPtrOutput) ToAuditSinkPtrOutput

func (o AuditSinkPtrOutput) ToAuditSinkPtrOutput() AuditSinkPtrOutput

func (AuditSinkPtrOutput) ToAuditSinkPtrOutputWithContext

func (o AuditSinkPtrOutput) ToAuditSinkPtrOutputWithContext(ctx context.Context) AuditSinkPtrOutput

type AuditSinkSpec

type AuditSinkSpec struct {
	// Policy defines the policy for selecting which events should be sent to the webhook required
	Policy Policy `pulumi:"policy"`
	// Webhook to send events required
	Webhook Webhook `pulumi:"webhook"`
}

AuditSinkSpec holds the spec for the audit sink

type AuditSinkSpecArgs

type AuditSinkSpecArgs struct {
	// Policy defines the policy for selecting which events should be sent to the webhook required
	Policy PolicyInput `pulumi:"policy"`
	// Webhook to send events required
	Webhook WebhookInput `pulumi:"webhook"`
}

AuditSinkSpec holds the spec for the audit sink

func (AuditSinkSpecArgs) ElementType

func (AuditSinkSpecArgs) ElementType() reflect.Type

func (AuditSinkSpecArgs) ToAuditSinkSpecOutput

func (i AuditSinkSpecArgs) ToAuditSinkSpecOutput() AuditSinkSpecOutput

func (AuditSinkSpecArgs) ToAuditSinkSpecOutputWithContext

func (i AuditSinkSpecArgs) ToAuditSinkSpecOutputWithContext(ctx context.Context) AuditSinkSpecOutput

func (AuditSinkSpecArgs) ToAuditSinkSpecPtrOutput

func (i AuditSinkSpecArgs) ToAuditSinkSpecPtrOutput() AuditSinkSpecPtrOutput

func (AuditSinkSpecArgs) ToAuditSinkSpecPtrOutputWithContext

func (i AuditSinkSpecArgs) ToAuditSinkSpecPtrOutputWithContext(ctx context.Context) AuditSinkSpecPtrOutput

type AuditSinkSpecInput

type AuditSinkSpecInput interface {
	pulumi.Input

	ToAuditSinkSpecOutput() AuditSinkSpecOutput
	ToAuditSinkSpecOutputWithContext(context.Context) AuditSinkSpecOutput
}

AuditSinkSpecInput is an input type that accepts AuditSinkSpecArgs and AuditSinkSpecOutput values. You can construct a concrete instance of `AuditSinkSpecInput` via:

AuditSinkSpecArgs{...}

type AuditSinkSpecOutput

type AuditSinkSpecOutput struct{ *pulumi.OutputState }

AuditSinkSpec holds the spec for the audit sink

func (AuditSinkSpecOutput) ElementType

func (AuditSinkSpecOutput) ElementType() reflect.Type

func (AuditSinkSpecOutput) Policy

func (o AuditSinkSpecOutput) Policy() PolicyOutput

Policy defines the policy for selecting which events should be sent to the webhook required

func (AuditSinkSpecOutput) ToAuditSinkSpecOutput

func (o AuditSinkSpecOutput) ToAuditSinkSpecOutput() AuditSinkSpecOutput

func (AuditSinkSpecOutput) ToAuditSinkSpecOutputWithContext

func (o AuditSinkSpecOutput) ToAuditSinkSpecOutputWithContext(ctx context.Context) AuditSinkSpecOutput

func (AuditSinkSpecOutput) ToAuditSinkSpecPtrOutput

func (o AuditSinkSpecOutput) ToAuditSinkSpecPtrOutput() AuditSinkSpecPtrOutput

func (AuditSinkSpecOutput) ToAuditSinkSpecPtrOutputWithContext

func (o AuditSinkSpecOutput) ToAuditSinkSpecPtrOutputWithContext(ctx context.Context) AuditSinkSpecPtrOutput

func (AuditSinkSpecOutput) Webhook

func (o AuditSinkSpecOutput) Webhook() WebhookOutput

Webhook to send events required

type AuditSinkSpecPtrInput

type AuditSinkSpecPtrInput interface {
	pulumi.Input

	ToAuditSinkSpecPtrOutput() AuditSinkSpecPtrOutput
	ToAuditSinkSpecPtrOutputWithContext(context.Context) AuditSinkSpecPtrOutput
}

AuditSinkSpecPtrInput is an input type that accepts AuditSinkSpecArgs, AuditSinkSpecPtr and AuditSinkSpecPtrOutput values. You can construct a concrete instance of `AuditSinkSpecPtrInput` via:

        AuditSinkSpecArgs{...}

or:

        nil

type AuditSinkSpecPtrOutput

type AuditSinkSpecPtrOutput struct{ *pulumi.OutputState }

func (AuditSinkSpecPtrOutput) Elem

func (AuditSinkSpecPtrOutput) ElementType

func (AuditSinkSpecPtrOutput) ElementType() reflect.Type

func (AuditSinkSpecPtrOutput) Policy

Policy defines the policy for selecting which events should be sent to the webhook required

func (AuditSinkSpecPtrOutput) ToAuditSinkSpecPtrOutput

func (o AuditSinkSpecPtrOutput) ToAuditSinkSpecPtrOutput() AuditSinkSpecPtrOutput

func (AuditSinkSpecPtrOutput) ToAuditSinkSpecPtrOutputWithContext

func (o AuditSinkSpecPtrOutput) ToAuditSinkSpecPtrOutputWithContext(ctx context.Context) AuditSinkSpecPtrOutput

func (AuditSinkSpecPtrOutput) Webhook

Webhook to send events required

type AuditSinkState

type AuditSinkState struct {
}

func (AuditSinkState) ElementType

func (AuditSinkState) ElementType() reflect.Type

type AuditSinkType

type AuditSinkType 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 defines the audit configuration spec
	Spec *AuditSinkSpec `pulumi:"spec"`
}

AuditSink represents a cluster level audit sink

type AuditSinkTypeArgs

type AuditSinkTypeArgs 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 defines the audit configuration spec
	Spec AuditSinkSpecPtrInput `pulumi:"spec"`
}

AuditSink represents a cluster level audit sink

func (AuditSinkTypeArgs) ElementType

func (AuditSinkTypeArgs) ElementType() reflect.Type

func (AuditSinkTypeArgs) ToAuditSinkTypeOutput

func (i AuditSinkTypeArgs) ToAuditSinkTypeOutput() AuditSinkTypeOutput

func (AuditSinkTypeArgs) ToAuditSinkTypeOutputWithContext

func (i AuditSinkTypeArgs) ToAuditSinkTypeOutputWithContext(ctx context.Context) AuditSinkTypeOutput

type AuditSinkTypeArray

type AuditSinkTypeArray []AuditSinkTypeInput

func (AuditSinkTypeArray) ElementType

func (AuditSinkTypeArray) ElementType() reflect.Type

func (AuditSinkTypeArray) ToAuditSinkTypeArrayOutput

func (i AuditSinkTypeArray) ToAuditSinkTypeArrayOutput() AuditSinkTypeArrayOutput

func (AuditSinkTypeArray) ToAuditSinkTypeArrayOutputWithContext

func (i AuditSinkTypeArray) ToAuditSinkTypeArrayOutputWithContext(ctx context.Context) AuditSinkTypeArrayOutput

type AuditSinkTypeArrayInput

type AuditSinkTypeArrayInput interface {
	pulumi.Input

	ToAuditSinkTypeArrayOutput() AuditSinkTypeArrayOutput
	ToAuditSinkTypeArrayOutputWithContext(context.Context) AuditSinkTypeArrayOutput
}

AuditSinkTypeArrayInput is an input type that accepts AuditSinkTypeArray and AuditSinkTypeArrayOutput values. You can construct a concrete instance of `AuditSinkTypeArrayInput` via:

AuditSinkTypeArray{ AuditSinkTypeArgs{...} }

type AuditSinkTypeArrayOutput

type AuditSinkTypeArrayOutput struct{ *pulumi.OutputState }

func (AuditSinkTypeArrayOutput) ElementType

func (AuditSinkTypeArrayOutput) ElementType() reflect.Type

func (AuditSinkTypeArrayOutput) Index

func (AuditSinkTypeArrayOutput) ToAuditSinkTypeArrayOutput

func (o AuditSinkTypeArrayOutput) ToAuditSinkTypeArrayOutput() AuditSinkTypeArrayOutput

func (AuditSinkTypeArrayOutput) ToAuditSinkTypeArrayOutputWithContext

func (o AuditSinkTypeArrayOutput) ToAuditSinkTypeArrayOutputWithContext(ctx context.Context) AuditSinkTypeArrayOutput

type AuditSinkTypeInput

type AuditSinkTypeInput interface {
	pulumi.Input

	ToAuditSinkTypeOutput() AuditSinkTypeOutput
	ToAuditSinkTypeOutputWithContext(context.Context) AuditSinkTypeOutput
}

AuditSinkTypeInput is an input type that accepts AuditSinkTypeArgs and AuditSinkTypeOutput values. You can construct a concrete instance of `AuditSinkTypeInput` via:

AuditSinkTypeArgs{...}

type AuditSinkTypeOutput

type AuditSinkTypeOutput struct{ *pulumi.OutputState }

AuditSink represents a cluster level audit sink

func (AuditSinkTypeOutput) 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 (AuditSinkTypeOutput) ElementType

func (AuditSinkTypeOutput) ElementType() reflect.Type

func (AuditSinkTypeOutput) 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 (AuditSinkTypeOutput) Metadata

func (AuditSinkTypeOutput) Spec

Spec defines the audit configuration spec

func (AuditSinkTypeOutput) ToAuditSinkTypeOutput

func (o AuditSinkTypeOutput) ToAuditSinkTypeOutput() AuditSinkTypeOutput

func (AuditSinkTypeOutput) ToAuditSinkTypeOutputWithContext

func (o AuditSinkTypeOutput) ToAuditSinkTypeOutputWithContext(ctx context.Context) AuditSinkTypeOutput

type Policy

type Policy struct {
	// The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required
	Level string `pulumi:"level"`
	// Stages is a list of stages for which events are created.
	Stages []string `pulumi:"stages"`
}

Policy defines the configuration of how audit events are logged

type PolicyArgs

type PolicyArgs struct {
	// The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required
	Level pulumi.StringInput `pulumi:"level"`
	// Stages is a list of stages for which events are created.
	Stages pulumi.StringArrayInput `pulumi:"stages"`
}

Policy defines the configuration of how audit events are logged

func (PolicyArgs) ElementType

func (PolicyArgs) ElementType() reflect.Type

func (PolicyArgs) ToPolicyOutput

func (i PolicyArgs) ToPolicyOutput() PolicyOutput

func (PolicyArgs) ToPolicyOutputWithContext

func (i PolicyArgs) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput

func (PolicyArgs) ToPolicyPtrOutput

func (i PolicyArgs) ToPolicyPtrOutput() PolicyPtrOutput

func (PolicyArgs) ToPolicyPtrOutputWithContext

func (i PolicyArgs) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput

type PolicyInput

type PolicyInput interface {
	pulumi.Input

	ToPolicyOutput() PolicyOutput
	ToPolicyOutputWithContext(context.Context) PolicyOutput
}

PolicyInput is an input type that accepts PolicyArgs and PolicyOutput values. You can construct a concrete instance of `PolicyInput` via:

PolicyArgs{...}

type PolicyOutput

type PolicyOutput struct{ *pulumi.OutputState }

Policy defines the configuration of how audit events are logged

func (PolicyOutput) ElementType

func (PolicyOutput) ElementType() reflect.Type

func (PolicyOutput) Level

func (o PolicyOutput) Level() pulumi.StringOutput

The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required

func (PolicyOutput) Stages

Stages is a list of stages for which events are created.

func (PolicyOutput) ToPolicyOutput

func (o PolicyOutput) ToPolicyOutput() PolicyOutput

func (PolicyOutput) ToPolicyOutputWithContext

func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput

func (PolicyOutput) ToPolicyPtrOutput

func (o PolicyOutput) ToPolicyPtrOutput() PolicyPtrOutput

func (PolicyOutput) ToPolicyPtrOutputWithContext

func (o PolicyOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput

type PolicyPtrInput

type PolicyPtrInput interface {
	pulumi.Input

	ToPolicyPtrOutput() PolicyPtrOutput
	ToPolicyPtrOutputWithContext(context.Context) PolicyPtrOutput
}

PolicyPtrInput is an input type that accepts PolicyArgs, PolicyPtr and PolicyPtrOutput values. You can construct a concrete instance of `PolicyPtrInput` via:

        PolicyArgs{...}

or:

        nil

func PolicyPtr

func PolicyPtr(v *PolicyArgs) PolicyPtrInput

type PolicyPtrOutput

type PolicyPtrOutput struct{ *pulumi.OutputState }

func (PolicyPtrOutput) Elem

func (o PolicyPtrOutput) Elem() PolicyOutput

func (PolicyPtrOutput) ElementType

func (PolicyPtrOutput) ElementType() reflect.Type

func (PolicyPtrOutput) Level

The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required

func (PolicyPtrOutput) Stages

Stages is a list of stages for which events are created.

func (PolicyPtrOutput) ToPolicyPtrOutput

func (o PolicyPtrOutput) ToPolicyPtrOutput() PolicyPtrOutput

func (PolicyPtrOutput) ToPolicyPtrOutputWithContext

func (o PolicyPtrOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput

type ServiceReference

type ServiceReference struct {
	// `name` is the name of the service. Required
	Name string `pulumi:"name"`
	// `namespace` is the namespace of the service. Required
	Namespace string `pulumi:"namespace"`
	// `path` is an optional URL path which will be sent in any request to this service.
	Path *string `pulumi:"path"`
	// If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
	Port *int `pulumi:"port"`
}

ServiceReference holds a reference to Service.legacy.k8s.io

type ServiceReferenceArgs

type ServiceReferenceArgs struct {
	// `name` is the name of the service. Required
	Name pulumi.StringInput `pulumi:"name"`
	// `namespace` is the namespace of the service. Required
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// `path` is an optional URL path which will be sent in any request to this service.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
	Port pulumi.IntPtrInput `pulumi:"port"`
}

ServiceReference holds a reference to Service.legacy.k8s.io

func (ServiceReferenceArgs) ElementType

func (ServiceReferenceArgs) ElementType() reflect.Type

func (ServiceReferenceArgs) ToServiceReferenceOutput

func (i ServiceReferenceArgs) ToServiceReferenceOutput() ServiceReferenceOutput

func (ServiceReferenceArgs) ToServiceReferenceOutputWithContext

func (i ServiceReferenceArgs) ToServiceReferenceOutputWithContext(ctx context.Context) ServiceReferenceOutput

func (ServiceReferenceArgs) ToServiceReferencePtrOutput

func (i ServiceReferenceArgs) ToServiceReferencePtrOutput() ServiceReferencePtrOutput

func (ServiceReferenceArgs) ToServiceReferencePtrOutputWithContext

func (i ServiceReferenceArgs) ToServiceReferencePtrOutputWithContext(ctx context.Context) ServiceReferencePtrOutput

type ServiceReferenceInput

type ServiceReferenceInput interface {
	pulumi.Input

	ToServiceReferenceOutput() ServiceReferenceOutput
	ToServiceReferenceOutputWithContext(context.Context) ServiceReferenceOutput
}

ServiceReferenceInput is an input type that accepts ServiceReferenceArgs and ServiceReferenceOutput values. You can construct a concrete instance of `ServiceReferenceInput` via:

ServiceReferenceArgs{...}

type ServiceReferenceOutput

type ServiceReferenceOutput struct{ *pulumi.OutputState }

ServiceReference holds a reference to Service.legacy.k8s.io

func (ServiceReferenceOutput) ElementType

func (ServiceReferenceOutput) ElementType() reflect.Type

func (ServiceReferenceOutput) Name

`name` is the name of the service. Required

func (ServiceReferenceOutput) Namespace

`namespace` is the namespace of the service. Required

func (ServiceReferenceOutput) Path

`path` is an optional URL path which will be sent in any request to this service.

func (ServiceReferenceOutput) Port

If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).

func (ServiceReferenceOutput) ToServiceReferenceOutput

func (o ServiceReferenceOutput) ToServiceReferenceOutput() ServiceReferenceOutput

func (ServiceReferenceOutput) ToServiceReferenceOutputWithContext

func (o ServiceReferenceOutput) ToServiceReferenceOutputWithContext(ctx context.Context) ServiceReferenceOutput

func (ServiceReferenceOutput) ToServiceReferencePtrOutput

func (o ServiceReferenceOutput) ToServiceReferencePtrOutput() ServiceReferencePtrOutput

func (ServiceReferenceOutput) ToServiceReferencePtrOutputWithContext

func (o ServiceReferenceOutput) ToServiceReferencePtrOutputWithContext(ctx context.Context) ServiceReferencePtrOutput

type ServiceReferencePtrInput

type ServiceReferencePtrInput interface {
	pulumi.Input

	ToServiceReferencePtrOutput() ServiceReferencePtrOutput
	ToServiceReferencePtrOutputWithContext(context.Context) ServiceReferencePtrOutput
}

ServiceReferencePtrInput is an input type that accepts ServiceReferenceArgs, ServiceReferencePtr and ServiceReferencePtrOutput values. You can construct a concrete instance of `ServiceReferencePtrInput` via:

        ServiceReferenceArgs{...}

or:

        nil

type ServiceReferencePtrOutput

type ServiceReferencePtrOutput struct{ *pulumi.OutputState }

func (ServiceReferencePtrOutput) Elem

func (ServiceReferencePtrOutput) ElementType

func (ServiceReferencePtrOutput) ElementType() reflect.Type

func (ServiceReferencePtrOutput) Name

`name` is the name of the service. Required

func (ServiceReferencePtrOutput) Namespace

`namespace` is the namespace of the service. Required

func (ServiceReferencePtrOutput) Path

`path` is an optional URL path which will be sent in any request to this service.

func (ServiceReferencePtrOutput) Port

If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).

func (ServiceReferencePtrOutput) ToServiceReferencePtrOutput

func (o ServiceReferencePtrOutput) ToServiceReferencePtrOutput() ServiceReferencePtrOutput

func (ServiceReferencePtrOutput) ToServiceReferencePtrOutputWithContext

func (o ServiceReferencePtrOutput) ToServiceReferencePtrOutputWithContext(ctx context.Context) ServiceReferencePtrOutput

type Webhook

type Webhook struct {
	// ClientConfig holds the connection parameters for the webhook required
	ClientConfig WebhookClientConfig `pulumi:"clientConfig"`
	// Throttle holds the options for throttling the webhook
	Throttle *WebhookThrottleConfig `pulumi:"throttle"`
}

Webhook holds the configuration of the webhook

type WebhookArgs

type WebhookArgs struct {
	// ClientConfig holds the connection parameters for the webhook required
	ClientConfig WebhookClientConfigInput `pulumi:"clientConfig"`
	// Throttle holds the options for throttling the webhook
	Throttle WebhookThrottleConfigPtrInput `pulumi:"throttle"`
}

Webhook holds the configuration of the webhook

func (WebhookArgs) ElementType

func (WebhookArgs) ElementType() reflect.Type

func (WebhookArgs) ToWebhookOutput

func (i WebhookArgs) ToWebhookOutput() WebhookOutput

func (WebhookArgs) ToWebhookOutputWithContext

func (i WebhookArgs) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput

func (WebhookArgs) ToWebhookPtrOutput

func (i WebhookArgs) ToWebhookPtrOutput() WebhookPtrOutput

func (WebhookArgs) ToWebhookPtrOutputWithContext

func (i WebhookArgs) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput

type WebhookClientConfig

type WebhookClientConfig struct {
	// `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
	CaBundle *string `pulumi:"caBundle"`
	// `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
	//
	// If the webhook is running within the cluster, then you should use `service`.
	Service *ServiceReference `pulumi:"service"`
	// `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
	//
	// The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
	//
	// Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.
	//
	// The scheme must be "https"; the URL must begin with "https://".
	//
	// A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.
	//
	// Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.
	Url *string `pulumi:"url"`
}

WebhookClientConfig contains the information to make a connection with the webhook

type WebhookClientConfigArgs

type WebhookClientConfigArgs struct {
	// `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
	CaBundle pulumi.StringPtrInput `pulumi:"caBundle"`
	// `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
	//
	// If the webhook is running within the cluster, then you should use `service`.
	Service ServiceReferencePtrInput `pulumi:"service"`
	// `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
	//
	// The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
	//
	// Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.
	//
	// The scheme must be "https"; the URL must begin with "https://".
	//
	// A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.
	//
	// Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

WebhookClientConfig contains the information to make a connection with the webhook

func (WebhookClientConfigArgs) ElementType

func (WebhookClientConfigArgs) ElementType() reflect.Type

func (WebhookClientConfigArgs) ToWebhookClientConfigOutput

func (i WebhookClientConfigArgs) ToWebhookClientConfigOutput() WebhookClientConfigOutput

func (WebhookClientConfigArgs) ToWebhookClientConfigOutputWithContext

func (i WebhookClientConfigArgs) ToWebhookClientConfigOutputWithContext(ctx context.Context) WebhookClientConfigOutput

func (WebhookClientConfigArgs) ToWebhookClientConfigPtrOutput

func (i WebhookClientConfigArgs) ToWebhookClientConfigPtrOutput() WebhookClientConfigPtrOutput

func (WebhookClientConfigArgs) ToWebhookClientConfigPtrOutputWithContext

func (i WebhookClientConfigArgs) ToWebhookClientConfigPtrOutputWithContext(ctx context.Context) WebhookClientConfigPtrOutput

type WebhookClientConfigInput

type WebhookClientConfigInput interface {
	pulumi.Input

	ToWebhookClientConfigOutput() WebhookClientConfigOutput
	ToWebhookClientConfigOutputWithContext(context.Context) WebhookClientConfigOutput
}

WebhookClientConfigInput is an input type that accepts WebhookClientConfigArgs and WebhookClientConfigOutput values. You can construct a concrete instance of `WebhookClientConfigInput` via:

WebhookClientConfigArgs{...}

type WebhookClientConfigOutput

type WebhookClientConfigOutput struct{ *pulumi.OutputState }

WebhookClientConfig contains the information to make a connection with the webhook

func (WebhookClientConfigOutput) CaBundle

`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.

func (WebhookClientConfigOutput) ElementType

func (WebhookClientConfigOutput) ElementType() reflect.Type

func (WebhookClientConfigOutput) Service

`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.

If the webhook is running within the cluster, then you should use `service`.

func (WebhookClientConfigOutput) ToWebhookClientConfigOutput

func (o WebhookClientConfigOutput) ToWebhookClientConfigOutput() WebhookClientConfigOutput

func (WebhookClientConfigOutput) ToWebhookClientConfigOutputWithContext

func (o WebhookClientConfigOutput) ToWebhookClientConfigOutputWithContext(ctx context.Context) WebhookClientConfigOutput

func (WebhookClientConfigOutput) ToWebhookClientConfigPtrOutput

func (o WebhookClientConfigOutput) ToWebhookClientConfigPtrOutput() WebhookClientConfigPtrOutput

func (WebhookClientConfigOutput) ToWebhookClientConfigPtrOutputWithContext

func (o WebhookClientConfigOutput) ToWebhookClientConfigPtrOutputWithContext(ctx context.Context) WebhookClientConfigPtrOutput

func (WebhookClientConfigOutput) Url

`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.

The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.

Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.

The scheme must be "https"; the URL must begin with "https://".

A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.

Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.

type WebhookClientConfigPtrInput

type WebhookClientConfigPtrInput interface {
	pulumi.Input

	ToWebhookClientConfigPtrOutput() WebhookClientConfigPtrOutput
	ToWebhookClientConfigPtrOutputWithContext(context.Context) WebhookClientConfigPtrOutput
}

WebhookClientConfigPtrInput is an input type that accepts WebhookClientConfigArgs, WebhookClientConfigPtr and WebhookClientConfigPtrOutput values. You can construct a concrete instance of `WebhookClientConfigPtrInput` via:

        WebhookClientConfigArgs{...}

or:

        nil

type WebhookClientConfigPtrOutput

type WebhookClientConfigPtrOutput struct{ *pulumi.OutputState }

func (WebhookClientConfigPtrOutput) CaBundle

`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.

func (WebhookClientConfigPtrOutput) Elem

func (WebhookClientConfigPtrOutput) ElementType

func (WebhookClientConfigPtrOutput) Service

`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.

If the webhook is running within the cluster, then you should use `service`.

func (WebhookClientConfigPtrOutput) ToWebhookClientConfigPtrOutput

func (o WebhookClientConfigPtrOutput) ToWebhookClientConfigPtrOutput() WebhookClientConfigPtrOutput

func (WebhookClientConfigPtrOutput) ToWebhookClientConfigPtrOutputWithContext

func (o WebhookClientConfigPtrOutput) ToWebhookClientConfigPtrOutputWithContext(ctx context.Context) WebhookClientConfigPtrOutput

func (WebhookClientConfigPtrOutput) Url

`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.

The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.

Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.

The scheme must be "https"; the URL must begin with "https://".

A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.

Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.

type WebhookInput

type WebhookInput interface {
	pulumi.Input

	ToWebhookOutput() WebhookOutput
	ToWebhookOutputWithContext(context.Context) WebhookOutput
}

WebhookInput is an input type that accepts WebhookArgs and WebhookOutput values. You can construct a concrete instance of `WebhookInput` via:

WebhookArgs{...}

type WebhookOutput

type WebhookOutput struct{ *pulumi.OutputState }

Webhook holds the configuration of the webhook

func (WebhookOutput) ClientConfig

func (o WebhookOutput) ClientConfig() WebhookClientConfigOutput

ClientConfig holds the connection parameters for the webhook required

func (WebhookOutput) ElementType

func (WebhookOutput) ElementType() reflect.Type

func (WebhookOutput) Throttle

Throttle holds the options for throttling the webhook

func (WebhookOutput) ToWebhookOutput

func (o WebhookOutput) ToWebhookOutput() WebhookOutput

func (WebhookOutput) ToWebhookOutputWithContext

func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput

func (WebhookOutput) ToWebhookPtrOutput

func (o WebhookOutput) ToWebhookPtrOutput() WebhookPtrOutput

func (WebhookOutput) ToWebhookPtrOutputWithContext

func (o WebhookOutput) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput

type WebhookPtrInput

type WebhookPtrInput interface {
	pulumi.Input

	ToWebhookPtrOutput() WebhookPtrOutput
	ToWebhookPtrOutputWithContext(context.Context) WebhookPtrOutput
}

WebhookPtrInput is an input type that accepts WebhookArgs, WebhookPtr and WebhookPtrOutput values. You can construct a concrete instance of `WebhookPtrInput` via:

        WebhookArgs{...}

or:

        nil

func WebhookPtr

func WebhookPtr(v *WebhookArgs) WebhookPtrInput

type WebhookPtrOutput

type WebhookPtrOutput struct{ *pulumi.OutputState }

func (WebhookPtrOutput) ClientConfig

ClientConfig holds the connection parameters for the webhook required

func (WebhookPtrOutput) Elem

func (WebhookPtrOutput) ElementType

func (WebhookPtrOutput) ElementType() reflect.Type

func (WebhookPtrOutput) Throttle

Throttle holds the options for throttling the webhook

func (WebhookPtrOutput) ToWebhookPtrOutput

func (o WebhookPtrOutput) ToWebhookPtrOutput() WebhookPtrOutput

func (WebhookPtrOutput) ToWebhookPtrOutputWithContext

func (o WebhookPtrOutput) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput

type WebhookThrottleConfig

type WebhookThrottleConfig struct {
	// ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS
	Burst *int `pulumi:"burst"`
	// ThrottleQPS maximum number of batches per second default 10 QPS
	Qps *int `pulumi:"qps"`
}

WebhookThrottleConfig holds the configuration for throttling events

type WebhookThrottleConfigArgs

type WebhookThrottleConfigArgs struct {
	// ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS
	Burst pulumi.IntPtrInput `pulumi:"burst"`
	// ThrottleQPS maximum number of batches per second default 10 QPS
	Qps pulumi.IntPtrInput `pulumi:"qps"`
}

WebhookThrottleConfig holds the configuration for throttling events

func (WebhookThrottleConfigArgs) ElementType

func (WebhookThrottleConfigArgs) ElementType() reflect.Type

func (WebhookThrottleConfigArgs) ToWebhookThrottleConfigOutput

func (i WebhookThrottleConfigArgs) ToWebhookThrottleConfigOutput() WebhookThrottleConfigOutput

func (WebhookThrottleConfigArgs) ToWebhookThrottleConfigOutputWithContext

func (i WebhookThrottleConfigArgs) ToWebhookThrottleConfigOutputWithContext(ctx context.Context) WebhookThrottleConfigOutput

func (WebhookThrottleConfigArgs) ToWebhookThrottleConfigPtrOutput

func (i WebhookThrottleConfigArgs) ToWebhookThrottleConfigPtrOutput() WebhookThrottleConfigPtrOutput

func (WebhookThrottleConfigArgs) ToWebhookThrottleConfigPtrOutputWithContext

func (i WebhookThrottleConfigArgs) ToWebhookThrottleConfigPtrOutputWithContext(ctx context.Context) WebhookThrottleConfigPtrOutput

type WebhookThrottleConfigInput

type WebhookThrottleConfigInput interface {
	pulumi.Input

	ToWebhookThrottleConfigOutput() WebhookThrottleConfigOutput
	ToWebhookThrottleConfigOutputWithContext(context.Context) WebhookThrottleConfigOutput
}

WebhookThrottleConfigInput is an input type that accepts WebhookThrottleConfigArgs and WebhookThrottleConfigOutput values. You can construct a concrete instance of `WebhookThrottleConfigInput` via:

WebhookThrottleConfigArgs{...}

type WebhookThrottleConfigOutput

type WebhookThrottleConfigOutput struct{ *pulumi.OutputState }

WebhookThrottleConfig holds the configuration for throttling events

func (WebhookThrottleConfigOutput) Burst

ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS

func (WebhookThrottleConfigOutput) ElementType

func (WebhookThrottleConfigOutput) Qps

ThrottleQPS maximum number of batches per second default 10 QPS

func (WebhookThrottleConfigOutput) ToWebhookThrottleConfigOutput

func (o WebhookThrottleConfigOutput) ToWebhookThrottleConfigOutput() WebhookThrottleConfigOutput

func (WebhookThrottleConfigOutput) ToWebhookThrottleConfigOutputWithContext

func (o WebhookThrottleConfigOutput) ToWebhookThrottleConfigOutputWithContext(ctx context.Context) WebhookThrottleConfigOutput

func (WebhookThrottleConfigOutput) ToWebhookThrottleConfigPtrOutput

func (o WebhookThrottleConfigOutput) ToWebhookThrottleConfigPtrOutput() WebhookThrottleConfigPtrOutput

func (WebhookThrottleConfigOutput) ToWebhookThrottleConfigPtrOutputWithContext

func (o WebhookThrottleConfigOutput) ToWebhookThrottleConfigPtrOutputWithContext(ctx context.Context) WebhookThrottleConfigPtrOutput

type WebhookThrottleConfigPtrInput

type WebhookThrottleConfigPtrInput interface {
	pulumi.Input

	ToWebhookThrottleConfigPtrOutput() WebhookThrottleConfigPtrOutput
	ToWebhookThrottleConfigPtrOutputWithContext(context.Context) WebhookThrottleConfigPtrOutput
}

WebhookThrottleConfigPtrInput is an input type that accepts WebhookThrottleConfigArgs, WebhookThrottleConfigPtr and WebhookThrottleConfigPtrOutput values. You can construct a concrete instance of `WebhookThrottleConfigPtrInput` via:

        WebhookThrottleConfigArgs{...}

or:

        nil

type WebhookThrottleConfigPtrOutput

type WebhookThrottleConfigPtrOutput struct{ *pulumi.OutputState }

func (WebhookThrottleConfigPtrOutput) Burst

ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS

func (WebhookThrottleConfigPtrOutput) Elem

func (WebhookThrottleConfigPtrOutput) ElementType

func (WebhookThrottleConfigPtrOutput) Qps

ThrottleQPS maximum number of batches per second default 10 QPS

func (WebhookThrottleConfigPtrOutput) ToWebhookThrottleConfigPtrOutput

func (o WebhookThrottleConfigPtrOutput) ToWebhookThrottleConfigPtrOutput() WebhookThrottleConfigPtrOutput

func (WebhookThrottleConfigPtrOutput) ToWebhookThrottleConfigPtrOutputWithContext

func (o WebhookThrottleConfigPtrOutput) ToWebhookThrottleConfigPtrOutputWithContext(ctx context.Context) WebhookThrottleConfigPtrOutput

Jump to

Keyboard shortcuts

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