v1

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

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregationRule

type AggregationRule struct {
	// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added
	ClusterRoleSelectors []metav1.LabelSelector `pulumi:"clusterRoleSelectors"`
}

AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole

type AggregationRuleArgs

type AggregationRuleArgs struct {
	// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added
	ClusterRoleSelectors metav1.LabelSelectorArrayInput `pulumi:"clusterRoleSelectors"`
}

AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole

func (AggregationRuleArgs) ElementType

func (AggregationRuleArgs) ElementType() reflect.Type

func (AggregationRuleArgs) ToAggregationRuleOutput

func (i AggregationRuleArgs) ToAggregationRuleOutput() AggregationRuleOutput

func (AggregationRuleArgs) ToAggregationRuleOutputWithContext

func (i AggregationRuleArgs) ToAggregationRuleOutputWithContext(ctx context.Context) AggregationRuleOutput

func (AggregationRuleArgs) ToAggregationRulePtrOutput

func (i AggregationRuleArgs) ToAggregationRulePtrOutput() AggregationRulePtrOutput

func (AggregationRuleArgs) ToAggregationRulePtrOutputWithContext

func (i AggregationRuleArgs) ToAggregationRulePtrOutputWithContext(ctx context.Context) AggregationRulePtrOutput

type AggregationRuleInput

type AggregationRuleInput interface {
	pulumi.Input

	ToAggregationRuleOutput() AggregationRuleOutput
	ToAggregationRuleOutputWithContext(context.Context) AggregationRuleOutput
}

type AggregationRuleOutput

type AggregationRuleOutput struct{ *pulumi.OutputState }

AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole

func (AggregationRuleOutput) ClusterRoleSelectors

func (o AggregationRuleOutput) ClusterRoleSelectors() metav1.LabelSelectorArrayOutput

ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added

func (AggregationRuleOutput) ElementType

func (AggregationRuleOutput) ElementType() reflect.Type

func (AggregationRuleOutput) ToAggregationRuleOutput

func (o AggregationRuleOutput) ToAggregationRuleOutput() AggregationRuleOutput

func (AggregationRuleOutput) ToAggregationRuleOutputWithContext

func (o AggregationRuleOutput) ToAggregationRuleOutputWithContext(ctx context.Context) AggregationRuleOutput

func (AggregationRuleOutput) ToAggregationRulePtrOutput

func (o AggregationRuleOutput) ToAggregationRulePtrOutput() AggregationRulePtrOutput

func (AggregationRuleOutput) ToAggregationRulePtrOutputWithContext

func (o AggregationRuleOutput) ToAggregationRulePtrOutputWithContext(ctx context.Context) AggregationRulePtrOutput

type AggregationRulePtrInput

type AggregationRulePtrInput interface {
	pulumi.Input

	ToAggregationRulePtrOutput() AggregationRulePtrOutput
	ToAggregationRulePtrOutputWithContext(context.Context) AggregationRulePtrOutput
}

type AggregationRulePtrOutput

type AggregationRulePtrOutput struct{ *pulumi.OutputState }

func (AggregationRulePtrOutput) ClusterRoleSelectors

func (o AggregationRulePtrOutput) ClusterRoleSelectors() metav1.LabelSelectorArrayOutput

ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added

func (AggregationRulePtrOutput) Elem

func (AggregationRulePtrOutput) ElementType

func (AggregationRulePtrOutput) ElementType() reflect.Type

func (AggregationRulePtrOutput) ToAggregationRulePtrOutput

func (o AggregationRulePtrOutput) ToAggregationRulePtrOutput() AggregationRulePtrOutput

func (AggregationRulePtrOutput) ToAggregationRulePtrOutputWithContext

func (o AggregationRulePtrOutput) ToAggregationRulePtrOutputWithContext(ctx context.Context) AggregationRulePtrOutput

type ClusterRole

type ClusterRole struct {
	pulumi.CustomResourceState

	// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
	AggregationRule AggregationRulePtrOutput `pulumi:"aggregationRule"`
	// 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"`
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Rules holds all the PolicyRules for this ClusterRole
	Rules PolicyRuleArrayOutput `pulumi:"rules"`
}

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

func GetClusterRole

func GetClusterRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterRoleState, opts ...pulumi.ResourceOption) (*ClusterRole, error)

GetClusterRole gets an existing ClusterRole 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 NewClusterRole

func NewClusterRole(ctx *pulumi.Context,
	name string, args *ClusterRoleArgs, opts ...pulumi.ResourceOption) (*ClusterRole, error)

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

type ClusterRoleArgs

type ClusterRoleArgs struct {
	// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
	AggregationRule AggregationRulePtrInput
	// 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
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput
	// Rules holds all the PolicyRules for this ClusterRole
	Rules PolicyRuleArrayInput
}

The set of arguments for constructing a ClusterRole resource.

func (ClusterRoleArgs) ElementType

func (ClusterRoleArgs) ElementType() reflect.Type

type ClusterRoleBinding

type ClusterRoleBinding 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"`
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef RoleRefPtrOutput `pulumi:"roleRef"`
	// Subjects holds references to the objects the role applies to.
	Subjects SubjectArrayOutput `pulumi:"subjects"`
}

ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.

func GetClusterRoleBinding

func GetClusterRoleBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterRoleBindingState, opts ...pulumi.ResourceOption) (*ClusterRoleBinding, error)

GetClusterRoleBinding gets an existing ClusterRoleBinding 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 NewClusterRoleBinding

func NewClusterRoleBinding(ctx *pulumi.Context,
	name string, args *ClusterRoleBindingArgs, opts ...pulumi.ResourceOption) (*ClusterRoleBinding, error)

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

type ClusterRoleBindingArgs

type ClusterRoleBindingArgs 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
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput
	// RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef RoleRefInput
	// Subjects holds references to the objects the role applies to.
	Subjects SubjectArrayInput
}

The set of arguments for constructing a ClusterRoleBinding resource.

func (ClusterRoleBindingArgs) ElementType

func (ClusterRoleBindingArgs) ElementType() reflect.Type

type ClusterRoleBindingList

type ClusterRoleBindingList struct {
	pulumi.CustomResourceState

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

ClusterRoleBindingList is a collection of ClusterRoleBindings

func GetClusterRoleBindingList

func GetClusterRoleBindingList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterRoleBindingListState, opts ...pulumi.ResourceOption) (*ClusterRoleBindingList, error)

GetClusterRoleBindingList gets an existing ClusterRoleBindingList 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 NewClusterRoleBindingList

func NewClusterRoleBindingList(ctx *pulumi.Context,
	name string, args *ClusterRoleBindingListArgs, opts ...pulumi.ResourceOption) (*ClusterRoleBindingList, error)

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

type ClusterRoleBindingListArgs

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

The set of arguments for constructing a ClusterRoleBindingList resource.

func (ClusterRoleBindingListArgs) ElementType

func (ClusterRoleBindingListArgs) ElementType() reflect.Type

type ClusterRoleBindingListState

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

func (ClusterRoleBindingListState) ElementType

type ClusterRoleBindingListType

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

ClusterRoleBindingList is a collection of ClusterRoleBindings

type ClusterRoleBindingListTypeArgs

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

ClusterRoleBindingList is a collection of ClusterRoleBindings

func (ClusterRoleBindingListTypeArgs) ElementType

func (ClusterRoleBindingListTypeArgs) ToClusterRoleBindingListTypeOutput

func (i ClusterRoleBindingListTypeArgs) ToClusterRoleBindingListTypeOutput() ClusterRoleBindingListTypeOutput

func (ClusterRoleBindingListTypeArgs) ToClusterRoleBindingListTypeOutputWithContext

func (i ClusterRoleBindingListTypeArgs) ToClusterRoleBindingListTypeOutputWithContext(ctx context.Context) ClusterRoleBindingListTypeOutput

type ClusterRoleBindingListTypeInput

type ClusterRoleBindingListTypeInput interface {
	pulumi.Input

	ToClusterRoleBindingListTypeOutput() ClusterRoleBindingListTypeOutput
	ToClusterRoleBindingListTypeOutputWithContext(context.Context) ClusterRoleBindingListTypeOutput
}

type ClusterRoleBindingListTypeOutput

type ClusterRoleBindingListTypeOutput struct{ *pulumi.OutputState }

ClusterRoleBindingList is a collection of ClusterRoleBindings

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

func (ClusterRoleBindingListTypeOutput) Items

Items is a list of ClusterRoleBindings

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

Standard object's metadata.

func (ClusterRoleBindingListTypeOutput) ToClusterRoleBindingListTypeOutput

func (o ClusterRoleBindingListTypeOutput) ToClusterRoleBindingListTypeOutput() ClusterRoleBindingListTypeOutput

func (ClusterRoleBindingListTypeOutput) ToClusterRoleBindingListTypeOutputWithContext

func (o ClusterRoleBindingListTypeOutput) ToClusterRoleBindingListTypeOutputWithContext(ctx context.Context) ClusterRoleBindingListTypeOutput

type ClusterRoleBindingState

type ClusterRoleBindingState 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
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput
	// RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef RoleRefPtrInput
	// Subjects holds references to the objects the role applies to.
	Subjects SubjectArrayInput
}

func (ClusterRoleBindingState) ElementType

func (ClusterRoleBindingState) ElementType() reflect.Type

type ClusterRoleBindingType

type ClusterRoleBindingType 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"`
	// Standard object's metadata.
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef *RoleRef `pulumi:"roleRef"`
	// Subjects holds references to the objects the role applies to.
	Subjects []Subject `pulumi:"subjects"`
}

ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.

type ClusterRoleBindingTypeArgs

type ClusterRoleBindingTypeArgs 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"`
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef RoleRefPtrInput `pulumi:"roleRef"`
	// Subjects holds references to the objects the role applies to.
	Subjects SubjectArrayInput `pulumi:"subjects"`
}

ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.

func (ClusterRoleBindingTypeArgs) ElementType

func (ClusterRoleBindingTypeArgs) ElementType() reflect.Type

func (ClusterRoleBindingTypeArgs) ToClusterRoleBindingTypeOutput

func (i ClusterRoleBindingTypeArgs) ToClusterRoleBindingTypeOutput() ClusterRoleBindingTypeOutput

func (ClusterRoleBindingTypeArgs) ToClusterRoleBindingTypeOutputWithContext

func (i ClusterRoleBindingTypeArgs) ToClusterRoleBindingTypeOutputWithContext(ctx context.Context) ClusterRoleBindingTypeOutput

type ClusterRoleBindingTypeArray

type ClusterRoleBindingTypeArray []ClusterRoleBindingTypeInput

func (ClusterRoleBindingTypeArray) ElementType

func (ClusterRoleBindingTypeArray) ToClusterRoleBindingTypeArrayOutput

func (i ClusterRoleBindingTypeArray) ToClusterRoleBindingTypeArrayOutput() ClusterRoleBindingTypeArrayOutput

func (ClusterRoleBindingTypeArray) ToClusterRoleBindingTypeArrayOutputWithContext

func (i ClusterRoleBindingTypeArray) ToClusterRoleBindingTypeArrayOutputWithContext(ctx context.Context) ClusterRoleBindingTypeArrayOutput

type ClusterRoleBindingTypeArrayInput

type ClusterRoleBindingTypeArrayInput interface {
	pulumi.Input

	ToClusterRoleBindingTypeArrayOutput() ClusterRoleBindingTypeArrayOutput
	ToClusterRoleBindingTypeArrayOutputWithContext(context.Context) ClusterRoleBindingTypeArrayOutput
}

type ClusterRoleBindingTypeArrayOutput

type ClusterRoleBindingTypeArrayOutput struct{ *pulumi.OutputState }

func (ClusterRoleBindingTypeArrayOutput) ElementType

func (ClusterRoleBindingTypeArrayOutput) Index

func (ClusterRoleBindingTypeArrayOutput) ToClusterRoleBindingTypeArrayOutput

func (o ClusterRoleBindingTypeArrayOutput) ToClusterRoleBindingTypeArrayOutput() ClusterRoleBindingTypeArrayOutput

func (ClusterRoleBindingTypeArrayOutput) ToClusterRoleBindingTypeArrayOutputWithContext

func (o ClusterRoleBindingTypeArrayOutput) ToClusterRoleBindingTypeArrayOutputWithContext(ctx context.Context) ClusterRoleBindingTypeArrayOutput

type ClusterRoleBindingTypeInput

type ClusterRoleBindingTypeInput interface {
	pulumi.Input

	ToClusterRoleBindingTypeOutput() ClusterRoleBindingTypeOutput
	ToClusterRoleBindingTypeOutputWithContext(context.Context) ClusterRoleBindingTypeOutput
}

type ClusterRoleBindingTypeOutput

type ClusterRoleBindingTypeOutput struct{ *pulumi.OutputState }

ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.

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

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

Standard object's metadata.

func (ClusterRoleBindingTypeOutput) RoleRef

RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.

func (ClusterRoleBindingTypeOutput) Subjects

Subjects holds references to the objects the role applies to.

func (ClusterRoleBindingTypeOutput) ToClusterRoleBindingTypeOutput

func (o ClusterRoleBindingTypeOutput) ToClusterRoleBindingTypeOutput() ClusterRoleBindingTypeOutput

func (ClusterRoleBindingTypeOutput) ToClusterRoleBindingTypeOutputWithContext

func (o ClusterRoleBindingTypeOutput) ToClusterRoleBindingTypeOutputWithContext(ctx context.Context) ClusterRoleBindingTypeOutput

type ClusterRoleList

type ClusterRoleList struct {
	pulumi.CustomResourceState

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

ClusterRoleList is a collection of ClusterRoles

func GetClusterRoleList

func GetClusterRoleList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterRoleListState, opts ...pulumi.ResourceOption) (*ClusterRoleList, error)

GetClusterRoleList gets an existing ClusterRoleList 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 NewClusterRoleList

func NewClusterRoleList(ctx *pulumi.Context,
	name string, args *ClusterRoleListArgs, opts ...pulumi.ResourceOption) (*ClusterRoleList, error)

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

type ClusterRoleListArgs

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

The set of arguments for constructing a ClusterRoleList resource.

func (ClusterRoleListArgs) ElementType

func (ClusterRoleListArgs) ElementType() reflect.Type

type ClusterRoleListState

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

func (ClusterRoleListState) ElementType

func (ClusterRoleListState) ElementType() reflect.Type

type ClusterRoleListType

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

ClusterRoleList is a collection of ClusterRoles

type ClusterRoleListTypeArgs

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

ClusterRoleList is a collection of ClusterRoles

func (ClusterRoleListTypeArgs) ElementType

func (ClusterRoleListTypeArgs) ElementType() reflect.Type

func (ClusterRoleListTypeArgs) ToClusterRoleListTypeOutput

func (i ClusterRoleListTypeArgs) ToClusterRoleListTypeOutput() ClusterRoleListTypeOutput

func (ClusterRoleListTypeArgs) ToClusterRoleListTypeOutputWithContext

func (i ClusterRoleListTypeArgs) ToClusterRoleListTypeOutputWithContext(ctx context.Context) ClusterRoleListTypeOutput

type ClusterRoleListTypeInput

type ClusterRoleListTypeInput interface {
	pulumi.Input

	ToClusterRoleListTypeOutput() ClusterRoleListTypeOutput
	ToClusterRoleListTypeOutputWithContext(context.Context) ClusterRoleListTypeOutput
}

type ClusterRoleListTypeOutput

type ClusterRoleListTypeOutput struct{ *pulumi.OutputState }

ClusterRoleList is a collection of ClusterRoles

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

func (ClusterRoleListTypeOutput) ElementType() reflect.Type

func (ClusterRoleListTypeOutput) Items

Items is a list of ClusterRoles

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

Standard object's metadata.

func (ClusterRoleListTypeOutput) ToClusterRoleListTypeOutput

func (o ClusterRoleListTypeOutput) ToClusterRoleListTypeOutput() ClusterRoleListTypeOutput

func (ClusterRoleListTypeOutput) ToClusterRoleListTypeOutputWithContext

func (o ClusterRoleListTypeOutput) ToClusterRoleListTypeOutputWithContext(ctx context.Context) ClusterRoleListTypeOutput

type ClusterRoleState

type ClusterRoleState struct {
	// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
	AggregationRule AggregationRulePtrInput
	// 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
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput
	// Rules holds all the PolicyRules for this ClusterRole
	Rules PolicyRuleArrayInput
}

func (ClusterRoleState) ElementType

func (ClusterRoleState) ElementType() reflect.Type

type ClusterRoleType

type ClusterRoleType struct {
	// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
	AggregationRule *AggregationRule `pulumi:"aggregationRule"`
	// 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"`
	// Standard object's metadata.
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Rules holds all the PolicyRules for this ClusterRole
	Rules []PolicyRule `pulumi:"rules"`
}

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

type ClusterRoleTypeArgs

type ClusterRoleTypeArgs struct {
	// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
	AggregationRule AggregationRulePtrInput `pulumi:"aggregationRule"`
	// 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"`
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Rules holds all the PolicyRules for this ClusterRole
	Rules PolicyRuleArrayInput `pulumi:"rules"`
}

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

func (ClusterRoleTypeArgs) ElementType

func (ClusterRoleTypeArgs) ElementType() reflect.Type

func (ClusterRoleTypeArgs) ToClusterRoleTypeOutput

func (i ClusterRoleTypeArgs) ToClusterRoleTypeOutput() ClusterRoleTypeOutput

func (ClusterRoleTypeArgs) ToClusterRoleTypeOutputWithContext

func (i ClusterRoleTypeArgs) ToClusterRoleTypeOutputWithContext(ctx context.Context) ClusterRoleTypeOutput

type ClusterRoleTypeArray

type ClusterRoleTypeArray []ClusterRoleTypeInput

func (ClusterRoleTypeArray) ElementType

func (ClusterRoleTypeArray) ElementType() reflect.Type

func (ClusterRoleTypeArray) ToClusterRoleTypeArrayOutput

func (i ClusterRoleTypeArray) ToClusterRoleTypeArrayOutput() ClusterRoleTypeArrayOutput

func (ClusterRoleTypeArray) ToClusterRoleTypeArrayOutputWithContext

func (i ClusterRoleTypeArray) ToClusterRoleTypeArrayOutputWithContext(ctx context.Context) ClusterRoleTypeArrayOutput

type ClusterRoleTypeArrayInput

type ClusterRoleTypeArrayInput interface {
	pulumi.Input

	ToClusterRoleTypeArrayOutput() ClusterRoleTypeArrayOutput
	ToClusterRoleTypeArrayOutputWithContext(context.Context) ClusterRoleTypeArrayOutput
}

type ClusterRoleTypeArrayOutput

type ClusterRoleTypeArrayOutput struct{ *pulumi.OutputState }

func (ClusterRoleTypeArrayOutput) ElementType

func (ClusterRoleTypeArrayOutput) ElementType() reflect.Type

func (ClusterRoleTypeArrayOutput) Index

func (ClusterRoleTypeArrayOutput) ToClusterRoleTypeArrayOutput

func (o ClusterRoleTypeArrayOutput) ToClusterRoleTypeArrayOutput() ClusterRoleTypeArrayOutput

func (ClusterRoleTypeArrayOutput) ToClusterRoleTypeArrayOutputWithContext

func (o ClusterRoleTypeArrayOutput) ToClusterRoleTypeArrayOutputWithContext(ctx context.Context) ClusterRoleTypeArrayOutput

type ClusterRoleTypeInput

type ClusterRoleTypeInput interface {
	pulumi.Input

	ToClusterRoleTypeOutput() ClusterRoleTypeOutput
	ToClusterRoleTypeOutputWithContext(context.Context) ClusterRoleTypeOutput
}

type ClusterRoleTypeOutput

type ClusterRoleTypeOutput struct{ *pulumi.OutputState }

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

func (ClusterRoleTypeOutput) AggregationRule

func (o ClusterRoleTypeOutput) AggregationRule() AggregationRulePtrOutput

AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.

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

func (ClusterRoleTypeOutput) ElementType() reflect.Type

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

Standard object's metadata.

func (ClusterRoleTypeOutput) Rules

Rules holds all the PolicyRules for this ClusterRole

func (ClusterRoleTypeOutput) ToClusterRoleTypeOutput

func (o ClusterRoleTypeOutput) ToClusterRoleTypeOutput() ClusterRoleTypeOutput

func (ClusterRoleTypeOutput) ToClusterRoleTypeOutputWithContext

func (o ClusterRoleTypeOutput) ToClusterRoleTypeOutputWithContext(ctx context.Context) ClusterRoleTypeOutput

type PolicyRule

type PolicyRule struct {
	// APIGroups is the name of the APIGroup that contains the resources.  If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.
	ApiGroups []string `pulumi:"apiGroups"`
	// NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"),  but not both.
	NonResourceURLs []string `pulumi:"nonResourceURLs"`
	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
	ResourceNames []string `pulumi:"resourceNames"`
	// Resources is a list of resources this rule applies to.  ResourceAll represents all resources.
	Resources []string `pulumi:"resources"`
	// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.  VerbAll represents all kinds.
	Verbs []string `pulumi:"verbs"`
}

PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.

type PolicyRuleArgs

type PolicyRuleArgs struct {
	// APIGroups is the name of the APIGroup that contains the resources.  If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.
	ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"`
	// NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"),  but not both.
	NonResourceURLs pulumi.StringArrayInput `pulumi:"nonResourceURLs"`
	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
	ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"`
	// Resources is a list of resources this rule applies to.  ResourceAll represents all resources.
	Resources pulumi.StringArrayInput `pulumi:"resources"`
	// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.  VerbAll represents all kinds.
	Verbs pulumi.StringArrayInput `pulumi:"verbs"`
}

PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.

func (PolicyRuleArgs) ElementType

func (PolicyRuleArgs) ElementType() reflect.Type

func (PolicyRuleArgs) ToPolicyRuleOutput

func (i PolicyRuleArgs) ToPolicyRuleOutput() PolicyRuleOutput

func (PolicyRuleArgs) ToPolicyRuleOutputWithContext

func (i PolicyRuleArgs) ToPolicyRuleOutputWithContext(ctx context.Context) PolicyRuleOutput

type PolicyRuleArray

type PolicyRuleArray []PolicyRuleInput

func (PolicyRuleArray) ElementType

func (PolicyRuleArray) ElementType() reflect.Type

func (PolicyRuleArray) ToPolicyRuleArrayOutput

func (i PolicyRuleArray) ToPolicyRuleArrayOutput() PolicyRuleArrayOutput

func (PolicyRuleArray) ToPolicyRuleArrayOutputWithContext

func (i PolicyRuleArray) ToPolicyRuleArrayOutputWithContext(ctx context.Context) PolicyRuleArrayOutput

type PolicyRuleArrayInput

type PolicyRuleArrayInput interface {
	pulumi.Input

	ToPolicyRuleArrayOutput() PolicyRuleArrayOutput
	ToPolicyRuleArrayOutputWithContext(context.Context) PolicyRuleArrayOutput
}

type PolicyRuleArrayOutput

type PolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (PolicyRuleArrayOutput) ElementType

func (PolicyRuleArrayOutput) ElementType() reflect.Type

func (PolicyRuleArrayOutput) Index

func (PolicyRuleArrayOutput) ToPolicyRuleArrayOutput

func (o PolicyRuleArrayOutput) ToPolicyRuleArrayOutput() PolicyRuleArrayOutput

func (PolicyRuleArrayOutput) ToPolicyRuleArrayOutputWithContext

func (o PolicyRuleArrayOutput) ToPolicyRuleArrayOutputWithContext(ctx context.Context) PolicyRuleArrayOutput

type PolicyRuleInput

type PolicyRuleInput interface {
	pulumi.Input

	ToPolicyRuleOutput() PolicyRuleOutput
	ToPolicyRuleOutputWithContext(context.Context) PolicyRuleOutput
}

type PolicyRuleOutput

type PolicyRuleOutput struct{ *pulumi.OutputState }

PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.

func (PolicyRuleOutput) ApiGroups

APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.

func (PolicyRuleOutput) ElementType

func (PolicyRuleOutput) ElementType() reflect.Type

func (PolicyRuleOutput) NonResourceURLs

func (o PolicyRuleOutput) NonResourceURLs() pulumi.StringArrayOutput

NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.

func (PolicyRuleOutput) ResourceNames

func (o PolicyRuleOutput) ResourceNames() pulumi.StringArrayOutput

ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.

func (PolicyRuleOutput) Resources

Resources is a list of resources this rule applies to. ResourceAll represents all resources.

func (PolicyRuleOutput) ToPolicyRuleOutput

func (o PolicyRuleOutput) ToPolicyRuleOutput() PolicyRuleOutput

func (PolicyRuleOutput) ToPolicyRuleOutputWithContext

func (o PolicyRuleOutput) ToPolicyRuleOutputWithContext(ctx context.Context) PolicyRuleOutput

func (PolicyRuleOutput) Verbs

Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.

type Role

type Role 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"`
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Rules holds all the PolicyRules for this Role
	Rules PolicyRuleArrayOutput `pulumi:"rules"`
}

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

func GetRole

func GetRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleState, opts ...pulumi.ResourceOption) (*Role, error)

GetRole gets an existing Role 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 NewRole

func NewRole(ctx *pulumi.Context,
	name string, args *RoleArgs, opts ...pulumi.ResourceOption) (*Role, error)

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

type RoleArgs

type RoleArgs 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
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput
	// Rules holds all the PolicyRules for this Role
	Rules PolicyRuleArrayInput
}

The set of arguments for constructing a Role resource.

func (RoleArgs) ElementType

func (RoleArgs) ElementType() reflect.Type

type RoleBinding

type RoleBinding 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"`
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef RoleRefPtrOutput `pulumi:"roleRef"`
	// Subjects holds references to the objects the role applies to.
	Subjects SubjectArrayOutput `pulumi:"subjects"`
}

RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.

func GetRoleBinding

func GetRoleBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleBindingState, opts ...pulumi.ResourceOption) (*RoleBinding, error)

GetRoleBinding gets an existing RoleBinding 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 NewRoleBinding

func NewRoleBinding(ctx *pulumi.Context,
	name string, args *RoleBindingArgs, opts ...pulumi.ResourceOption) (*RoleBinding, error)

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

type RoleBindingArgs

type RoleBindingArgs 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
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput
	// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef RoleRefInput
	// Subjects holds references to the objects the role applies to.
	Subjects SubjectArrayInput
}

The set of arguments for constructing a RoleBinding resource.

func (RoleBindingArgs) ElementType

func (RoleBindingArgs) ElementType() reflect.Type

type RoleBindingList

type RoleBindingList struct {
	pulumi.CustomResourceState

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

RoleBindingList is a collection of RoleBindings

func GetRoleBindingList

func GetRoleBindingList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleBindingListState, opts ...pulumi.ResourceOption) (*RoleBindingList, error)

GetRoleBindingList gets an existing RoleBindingList 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 NewRoleBindingList

func NewRoleBindingList(ctx *pulumi.Context,
	name string, args *RoleBindingListArgs, opts ...pulumi.ResourceOption) (*RoleBindingList, error)

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

type RoleBindingListArgs

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

The set of arguments for constructing a RoleBindingList resource.

func (RoleBindingListArgs) ElementType

func (RoleBindingListArgs) ElementType() reflect.Type

type RoleBindingListState

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

func (RoleBindingListState) ElementType

func (RoleBindingListState) ElementType() reflect.Type

type RoleBindingListType

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

RoleBindingList is a collection of RoleBindings

type RoleBindingListTypeArgs

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

RoleBindingList is a collection of RoleBindings

func (RoleBindingListTypeArgs) ElementType

func (RoleBindingListTypeArgs) ElementType() reflect.Type

func (RoleBindingListTypeArgs) ToRoleBindingListTypeOutput

func (i RoleBindingListTypeArgs) ToRoleBindingListTypeOutput() RoleBindingListTypeOutput

func (RoleBindingListTypeArgs) ToRoleBindingListTypeOutputWithContext

func (i RoleBindingListTypeArgs) ToRoleBindingListTypeOutputWithContext(ctx context.Context) RoleBindingListTypeOutput

type RoleBindingListTypeInput

type RoleBindingListTypeInput interface {
	pulumi.Input

	ToRoleBindingListTypeOutput() RoleBindingListTypeOutput
	ToRoleBindingListTypeOutputWithContext(context.Context) RoleBindingListTypeOutput
}

type RoleBindingListTypeOutput

type RoleBindingListTypeOutput struct{ *pulumi.OutputState }

RoleBindingList is a collection of RoleBindings

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

func (RoleBindingListTypeOutput) ElementType() reflect.Type

func (RoleBindingListTypeOutput) Items

Items is a list of RoleBindings

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

Standard object's metadata.

func (RoleBindingListTypeOutput) ToRoleBindingListTypeOutput

func (o RoleBindingListTypeOutput) ToRoleBindingListTypeOutput() RoleBindingListTypeOutput

func (RoleBindingListTypeOutput) ToRoleBindingListTypeOutputWithContext

func (o RoleBindingListTypeOutput) ToRoleBindingListTypeOutputWithContext(ctx context.Context) RoleBindingListTypeOutput

type RoleBindingState

type RoleBindingState 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
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput
	// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef RoleRefPtrInput
	// Subjects holds references to the objects the role applies to.
	Subjects SubjectArrayInput
}

func (RoleBindingState) ElementType

func (RoleBindingState) ElementType() reflect.Type

type RoleBindingType

type RoleBindingType 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"`
	// Standard object's metadata.
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef *RoleRef `pulumi:"roleRef"`
	// Subjects holds references to the objects the role applies to.
	Subjects []Subject `pulumi:"subjects"`
}

RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.

type RoleBindingTypeArgs

type RoleBindingTypeArgs 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"`
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef RoleRefPtrInput `pulumi:"roleRef"`
	// Subjects holds references to the objects the role applies to.
	Subjects SubjectArrayInput `pulumi:"subjects"`
}

RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.

func (RoleBindingTypeArgs) ElementType

func (RoleBindingTypeArgs) ElementType() reflect.Type

func (RoleBindingTypeArgs) ToRoleBindingTypeOutput

func (i RoleBindingTypeArgs) ToRoleBindingTypeOutput() RoleBindingTypeOutput

func (RoleBindingTypeArgs) ToRoleBindingTypeOutputWithContext

func (i RoleBindingTypeArgs) ToRoleBindingTypeOutputWithContext(ctx context.Context) RoleBindingTypeOutput

type RoleBindingTypeArray

type RoleBindingTypeArray []RoleBindingTypeInput

func (RoleBindingTypeArray) ElementType

func (RoleBindingTypeArray) ElementType() reflect.Type

func (RoleBindingTypeArray) ToRoleBindingTypeArrayOutput

func (i RoleBindingTypeArray) ToRoleBindingTypeArrayOutput() RoleBindingTypeArrayOutput

func (RoleBindingTypeArray) ToRoleBindingTypeArrayOutputWithContext

func (i RoleBindingTypeArray) ToRoleBindingTypeArrayOutputWithContext(ctx context.Context) RoleBindingTypeArrayOutput

type RoleBindingTypeArrayInput

type RoleBindingTypeArrayInput interface {
	pulumi.Input

	ToRoleBindingTypeArrayOutput() RoleBindingTypeArrayOutput
	ToRoleBindingTypeArrayOutputWithContext(context.Context) RoleBindingTypeArrayOutput
}

type RoleBindingTypeArrayOutput

type RoleBindingTypeArrayOutput struct{ *pulumi.OutputState }

func (RoleBindingTypeArrayOutput) ElementType

func (RoleBindingTypeArrayOutput) ElementType() reflect.Type

func (RoleBindingTypeArrayOutput) Index

func (RoleBindingTypeArrayOutput) ToRoleBindingTypeArrayOutput

func (o RoleBindingTypeArrayOutput) ToRoleBindingTypeArrayOutput() RoleBindingTypeArrayOutput

func (RoleBindingTypeArrayOutput) ToRoleBindingTypeArrayOutputWithContext

func (o RoleBindingTypeArrayOutput) ToRoleBindingTypeArrayOutputWithContext(ctx context.Context) RoleBindingTypeArrayOutput

type RoleBindingTypeInput

type RoleBindingTypeInput interface {
	pulumi.Input

	ToRoleBindingTypeOutput() RoleBindingTypeOutput
	ToRoleBindingTypeOutputWithContext(context.Context) RoleBindingTypeOutput
}

type RoleBindingTypeOutput

type RoleBindingTypeOutput struct{ *pulumi.OutputState }

RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.

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

func (RoleBindingTypeOutput) ElementType() reflect.Type

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

Standard object's metadata.

func (RoleBindingTypeOutput) RoleRef

RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.

func (RoleBindingTypeOutput) Subjects

Subjects holds references to the objects the role applies to.

func (RoleBindingTypeOutput) ToRoleBindingTypeOutput

func (o RoleBindingTypeOutput) ToRoleBindingTypeOutput() RoleBindingTypeOutput

func (RoleBindingTypeOutput) ToRoleBindingTypeOutputWithContext

func (o RoleBindingTypeOutput) ToRoleBindingTypeOutputWithContext(ctx context.Context) RoleBindingTypeOutput

type RoleList

type RoleList struct {
	pulumi.CustomResourceState

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

RoleList is a collection of Roles

func GetRoleList

func GetRoleList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleListState, opts ...pulumi.ResourceOption) (*RoleList, error)

GetRoleList gets an existing RoleList 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 NewRoleList

func NewRoleList(ctx *pulumi.Context,
	name string, args *RoleListArgs, opts ...pulumi.ResourceOption) (*RoleList, error)

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

type RoleListArgs

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

The set of arguments for constructing a RoleList resource.

func (RoleListArgs) ElementType

func (RoleListArgs) ElementType() reflect.Type

type RoleListState

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

func (RoleListState) ElementType

func (RoleListState) ElementType() reflect.Type

type RoleListType

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

RoleList is a collection of Roles

type RoleListTypeArgs

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

RoleList is a collection of Roles

func (RoleListTypeArgs) ElementType

func (RoleListTypeArgs) ElementType() reflect.Type

func (RoleListTypeArgs) ToRoleListTypeOutput

func (i RoleListTypeArgs) ToRoleListTypeOutput() RoleListTypeOutput

func (RoleListTypeArgs) ToRoleListTypeOutputWithContext

func (i RoleListTypeArgs) ToRoleListTypeOutputWithContext(ctx context.Context) RoleListTypeOutput

type RoleListTypeInput

type RoleListTypeInput interface {
	pulumi.Input

	ToRoleListTypeOutput() RoleListTypeOutput
	ToRoleListTypeOutputWithContext(context.Context) RoleListTypeOutput
}

type RoleListTypeOutput

type RoleListTypeOutput struct{ *pulumi.OutputState }

RoleList is a collection of Roles

func (RoleListTypeOutput) ApiVersion

func (o RoleListTypeOutput) ApiVersion() pulumi.StringPtrOutput

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 (RoleListTypeOutput) ElementType

func (RoleListTypeOutput) ElementType() reflect.Type

func (RoleListTypeOutput) Items

Items is a list of Roles

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

Standard object's metadata.

func (RoleListTypeOutput) ToRoleListTypeOutput

func (o RoleListTypeOutput) ToRoleListTypeOutput() RoleListTypeOutput

func (RoleListTypeOutput) ToRoleListTypeOutputWithContext

func (o RoleListTypeOutput) ToRoleListTypeOutputWithContext(ctx context.Context) RoleListTypeOutput

type RoleRef

type RoleRef struct {
	// APIGroup is the group for the resource being referenced
	ApiGroup *string `pulumi:"apiGroup"`
	// Kind is the type of resource being referenced
	Kind *string `pulumi:"kind"`
	// Name is the name of resource being referenced
	Name *string `pulumi:"name"`
}

RoleRef contains information that points to the role being used

type RoleRefArgs

type RoleRefArgs struct {
	// APIGroup is the group for the resource being referenced
	ApiGroup pulumi.StringPtrInput `pulumi:"apiGroup"`
	// Kind is the type of resource being referenced
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Name is the name of resource being referenced
	Name pulumi.StringPtrInput `pulumi:"name"`
}

RoleRef contains information that points to the role being used

func (RoleRefArgs) ElementType

func (RoleRefArgs) ElementType() reflect.Type

func (RoleRefArgs) ToRoleRefOutput

func (i RoleRefArgs) ToRoleRefOutput() RoleRefOutput

func (RoleRefArgs) ToRoleRefOutputWithContext

func (i RoleRefArgs) ToRoleRefOutputWithContext(ctx context.Context) RoleRefOutput

func (RoleRefArgs) ToRoleRefPtrOutput

func (i RoleRefArgs) ToRoleRefPtrOutput() RoleRefPtrOutput

func (RoleRefArgs) ToRoleRefPtrOutputWithContext

func (i RoleRefArgs) ToRoleRefPtrOutputWithContext(ctx context.Context) RoleRefPtrOutput

type RoleRefInput

type RoleRefInput interface {
	pulumi.Input

	ToRoleRefOutput() RoleRefOutput
	ToRoleRefOutputWithContext(context.Context) RoleRefOutput
}

type RoleRefOutput

type RoleRefOutput struct{ *pulumi.OutputState }

RoleRef contains information that points to the role being used

func (RoleRefOutput) ApiGroup

func (o RoleRefOutput) ApiGroup() pulumi.StringPtrOutput

APIGroup is the group for the resource being referenced

func (RoleRefOutput) ElementType

func (RoleRefOutput) ElementType() reflect.Type

func (RoleRefOutput) Kind

Kind is the type of resource being referenced

func (RoleRefOutput) Name

Name is the name of resource being referenced

func (RoleRefOutput) ToRoleRefOutput

func (o RoleRefOutput) ToRoleRefOutput() RoleRefOutput

func (RoleRefOutput) ToRoleRefOutputWithContext

func (o RoleRefOutput) ToRoleRefOutputWithContext(ctx context.Context) RoleRefOutput

func (RoleRefOutput) ToRoleRefPtrOutput

func (o RoleRefOutput) ToRoleRefPtrOutput() RoleRefPtrOutput

func (RoleRefOutput) ToRoleRefPtrOutputWithContext

func (o RoleRefOutput) ToRoleRefPtrOutputWithContext(ctx context.Context) RoleRefPtrOutput

type RoleRefPtrInput

type RoleRefPtrInput interface {
	pulumi.Input

	ToRoleRefPtrOutput() RoleRefPtrOutput
	ToRoleRefPtrOutputWithContext(context.Context) RoleRefPtrOutput
}

func RoleRefPtr

func RoleRefPtr(v *RoleRefArgs) RoleRefPtrInput

type RoleRefPtrOutput

type RoleRefPtrOutput struct{ *pulumi.OutputState }

func (RoleRefPtrOutput) ApiGroup

APIGroup is the group for the resource being referenced

func (RoleRefPtrOutput) Elem

func (RoleRefPtrOutput) ElementType

func (RoleRefPtrOutput) ElementType() reflect.Type

func (RoleRefPtrOutput) Kind

Kind is the type of resource being referenced

func (RoleRefPtrOutput) Name

Name is the name of resource being referenced

func (RoleRefPtrOutput) ToRoleRefPtrOutput

func (o RoleRefPtrOutput) ToRoleRefPtrOutput() RoleRefPtrOutput

func (RoleRefPtrOutput) ToRoleRefPtrOutputWithContext

func (o RoleRefPtrOutput) ToRoleRefPtrOutputWithContext(ctx context.Context) RoleRefPtrOutput

type RoleState

type RoleState 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
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput
	// Rules holds all the PolicyRules for this Role
	Rules PolicyRuleArrayInput
}

func (RoleState) ElementType

func (RoleState) ElementType() reflect.Type

type RoleType

type RoleType 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"`
	// Standard object's metadata.
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Rules holds all the PolicyRules for this Role
	Rules []PolicyRule `pulumi:"rules"`
}

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

type RoleTypeArgs

type RoleTypeArgs 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"`
	// Standard object's metadata.
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Rules holds all the PolicyRules for this Role
	Rules PolicyRuleArrayInput `pulumi:"rules"`
}

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

func (RoleTypeArgs) ElementType

func (RoleTypeArgs) ElementType() reflect.Type

func (RoleTypeArgs) ToRoleTypeOutput

func (i RoleTypeArgs) ToRoleTypeOutput() RoleTypeOutput

func (RoleTypeArgs) ToRoleTypeOutputWithContext

func (i RoleTypeArgs) ToRoleTypeOutputWithContext(ctx context.Context) RoleTypeOutput

type RoleTypeArray

type RoleTypeArray []RoleTypeInput

func (RoleTypeArray) ElementType

func (RoleTypeArray) ElementType() reflect.Type

func (RoleTypeArray) ToRoleTypeArrayOutput

func (i RoleTypeArray) ToRoleTypeArrayOutput() RoleTypeArrayOutput

func (RoleTypeArray) ToRoleTypeArrayOutputWithContext

func (i RoleTypeArray) ToRoleTypeArrayOutputWithContext(ctx context.Context) RoleTypeArrayOutput

type RoleTypeArrayInput

type RoleTypeArrayInput interface {
	pulumi.Input

	ToRoleTypeArrayOutput() RoleTypeArrayOutput
	ToRoleTypeArrayOutputWithContext(context.Context) RoleTypeArrayOutput
}

type RoleTypeArrayOutput

type RoleTypeArrayOutput struct{ *pulumi.OutputState }

func (RoleTypeArrayOutput) ElementType

func (RoleTypeArrayOutput) ElementType() reflect.Type

func (RoleTypeArrayOutput) Index

func (RoleTypeArrayOutput) ToRoleTypeArrayOutput

func (o RoleTypeArrayOutput) ToRoleTypeArrayOutput() RoleTypeArrayOutput

func (RoleTypeArrayOutput) ToRoleTypeArrayOutputWithContext

func (o RoleTypeArrayOutput) ToRoleTypeArrayOutputWithContext(ctx context.Context) RoleTypeArrayOutput

type RoleTypeInput

type RoleTypeInput interface {
	pulumi.Input

	ToRoleTypeOutput() RoleTypeOutput
	ToRoleTypeOutputWithContext(context.Context) RoleTypeOutput
}

type RoleTypeOutput

type RoleTypeOutput struct{ *pulumi.OutputState }

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

func (RoleTypeOutput) ApiVersion

func (o RoleTypeOutput) ApiVersion() pulumi.StringPtrOutput

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 (RoleTypeOutput) ElementType

func (RoleTypeOutput) ElementType() reflect.Type

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

Standard object's metadata.

func (RoleTypeOutput) Rules

Rules holds all the PolicyRules for this Role

func (RoleTypeOutput) ToRoleTypeOutput

func (o RoleTypeOutput) ToRoleTypeOutput() RoleTypeOutput

func (RoleTypeOutput) ToRoleTypeOutputWithContext

func (o RoleTypeOutput) ToRoleTypeOutputWithContext(ctx context.Context) RoleTypeOutput

type Subject

type Subject struct {
	// APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
	ApiGroup *string `pulumi:"apiGroup"`
	// Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.
	Kind *string `pulumi:"kind"`
	// Name of the object being referenced.
	Name *string `pulumi:"name"`
	// Namespace of the referenced object.  If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.
	Namespace *string `pulumi:"namespace"`
}

Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.

type SubjectArgs

type SubjectArgs struct {
	// APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
	ApiGroup pulumi.StringPtrInput `pulumi:"apiGroup"`
	// Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Name of the object being referenced.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Namespace of the referenced object.  If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
}

Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.

func (SubjectArgs) ElementType

func (SubjectArgs) ElementType() reflect.Type

func (SubjectArgs) ToSubjectOutput

func (i SubjectArgs) ToSubjectOutput() SubjectOutput

func (SubjectArgs) ToSubjectOutputWithContext

func (i SubjectArgs) ToSubjectOutputWithContext(ctx context.Context) SubjectOutput

type SubjectArray

type SubjectArray []SubjectInput

func (SubjectArray) ElementType

func (SubjectArray) ElementType() reflect.Type

func (SubjectArray) ToSubjectArrayOutput

func (i SubjectArray) ToSubjectArrayOutput() SubjectArrayOutput

func (SubjectArray) ToSubjectArrayOutputWithContext

func (i SubjectArray) ToSubjectArrayOutputWithContext(ctx context.Context) SubjectArrayOutput

type SubjectArrayInput

type SubjectArrayInput interface {
	pulumi.Input

	ToSubjectArrayOutput() SubjectArrayOutput
	ToSubjectArrayOutputWithContext(context.Context) SubjectArrayOutput
}

type SubjectArrayOutput

type SubjectArrayOutput struct{ *pulumi.OutputState }

func (SubjectArrayOutput) ElementType

func (SubjectArrayOutput) ElementType() reflect.Type

func (SubjectArrayOutput) Index

func (SubjectArrayOutput) ToSubjectArrayOutput

func (o SubjectArrayOutput) ToSubjectArrayOutput() SubjectArrayOutput

func (SubjectArrayOutput) ToSubjectArrayOutputWithContext

func (o SubjectArrayOutput) ToSubjectArrayOutputWithContext(ctx context.Context) SubjectArrayOutput

type SubjectInput

type SubjectInput interface {
	pulumi.Input

	ToSubjectOutput() SubjectOutput
	ToSubjectOutputWithContext(context.Context) SubjectOutput
}

type SubjectOutput

type SubjectOutput struct{ *pulumi.OutputState }

Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.

func (SubjectOutput) ApiGroup

func (o SubjectOutput) ApiGroup() pulumi.StringPtrOutput

APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.

func (SubjectOutput) ElementType

func (SubjectOutput) ElementType() reflect.Type

func (SubjectOutput) Kind

Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.

func (SubjectOutput) Name

Name of the object being referenced.

func (SubjectOutput) Namespace

func (o SubjectOutput) Namespace() pulumi.StringPtrOutput

Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.

func (SubjectOutput) ToSubjectOutput

func (o SubjectOutput) ToSubjectOutput() SubjectOutput

func (SubjectOutput) ToSubjectOutputWithContext

func (o SubjectOutput) ToSubjectOutputWithContext(ctx context.Context) SubjectOutput

Jump to

Keyboard shortcuts

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