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: 5 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 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.

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 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.

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 AuditSinkListState

type AuditSinkListState 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
}

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
}

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 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 PolicyPtrInput `pulumi:"policy"`
	// Webhook to send events required
	Webhook WebhookPtrInput `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
}

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

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

Webhook to send events required

type AuditSinkSpecPtrInput

type AuditSinkSpecPtrInput interface {
	pulumi.Input

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

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 {
	// 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
}

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
}

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
}

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.StringPtrInput `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
}

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

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
}

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.StringPtrInput `pulumi:"name"`
	// `namespace` is the namespace of the service. Required
	Namespace pulumi.StringPtrInput `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
}

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
}

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 WebhookClientConfigPtrInput `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
}

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
}

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
}

type WebhookOutput

type WebhookOutput struct{ *pulumi.OutputState }

Webhook holds the configuration of the webhook

func (WebhookOutput) ClientConfig

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
}

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
}

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
}

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