Documentation
¶
Index ¶
- type AggregationRule
- type AggregationRuleArgs
- func (AggregationRuleArgs) ElementType() reflect.Type
- func (i AggregationRuleArgs) ToAggregationRuleOutput() AggregationRuleOutput
- func (i AggregationRuleArgs) ToAggregationRuleOutputWithContext(ctx context.Context) AggregationRuleOutput
- func (i AggregationRuleArgs) ToAggregationRulePtrOutput() AggregationRulePtrOutput
- func (i AggregationRuleArgs) ToAggregationRulePtrOutputWithContext(ctx context.Context) AggregationRulePtrOutput
- type AggregationRuleInput
- type AggregationRuleOutput
- func (o AggregationRuleOutput) ClusterRoleSelectors() metav1.LabelSelectorArrayOutput
- func (AggregationRuleOutput) ElementType() reflect.Type
- func (o AggregationRuleOutput) ToAggregationRuleOutput() AggregationRuleOutput
- func (o AggregationRuleOutput) ToAggregationRuleOutputWithContext(ctx context.Context) AggregationRuleOutput
- func (o AggregationRuleOutput) ToAggregationRulePtrOutput() AggregationRulePtrOutput
- func (o AggregationRuleOutput) ToAggregationRulePtrOutputWithContext(ctx context.Context) AggregationRulePtrOutput
- type AggregationRulePtrInput
- type AggregationRulePtrOutput
- func (o AggregationRulePtrOutput) ClusterRoleSelectors() metav1.LabelSelectorArrayOutput
- func (o AggregationRulePtrOutput) Elem() AggregationRuleOutput
- func (AggregationRulePtrOutput) ElementType() reflect.Type
- func (o AggregationRulePtrOutput) ToAggregationRulePtrOutput() AggregationRulePtrOutput
- func (o AggregationRulePtrOutput) ToAggregationRulePtrOutputWithContext(ctx context.Context) AggregationRulePtrOutput
- type ClusterRole
- type ClusterRoleArgs
- type ClusterRoleBinding
- type ClusterRoleBindingArgs
- type ClusterRoleBindingList
- type ClusterRoleBindingListArgs
- type ClusterRoleBindingListState
- type ClusterRoleBindingListType
- type ClusterRoleBindingListTypeArgs
- func (ClusterRoleBindingListTypeArgs) ElementType() reflect.Type
- func (i ClusterRoleBindingListTypeArgs) ToClusterRoleBindingListTypeOutput() ClusterRoleBindingListTypeOutput
- func (i ClusterRoleBindingListTypeArgs) ToClusterRoleBindingListTypeOutputWithContext(ctx context.Context) ClusterRoleBindingListTypeOutput
- type ClusterRoleBindingListTypeInput
- type ClusterRoleBindingListTypeOutput
- func (o ClusterRoleBindingListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ClusterRoleBindingListTypeOutput) ElementType() reflect.Type
- func (o ClusterRoleBindingListTypeOutput) Items() ClusterRoleBindingTypeArrayOutput
- func (o ClusterRoleBindingListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ClusterRoleBindingListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o ClusterRoleBindingListTypeOutput) ToClusterRoleBindingListTypeOutput() ClusterRoleBindingListTypeOutput
- func (o ClusterRoleBindingListTypeOutput) ToClusterRoleBindingListTypeOutputWithContext(ctx context.Context) ClusterRoleBindingListTypeOutput
- type ClusterRoleBindingState
- type ClusterRoleBindingType
- type ClusterRoleBindingTypeArgs
- type ClusterRoleBindingTypeArray
- func (ClusterRoleBindingTypeArray) ElementType() reflect.Type
- func (i ClusterRoleBindingTypeArray) ToClusterRoleBindingTypeArrayOutput() ClusterRoleBindingTypeArrayOutput
- func (i ClusterRoleBindingTypeArray) ToClusterRoleBindingTypeArrayOutputWithContext(ctx context.Context) ClusterRoleBindingTypeArrayOutput
- type ClusterRoleBindingTypeArrayInput
- type ClusterRoleBindingTypeArrayOutput
- func (ClusterRoleBindingTypeArrayOutput) ElementType() reflect.Type
- func (o ClusterRoleBindingTypeArrayOutput) Index(i pulumi.IntInput) ClusterRoleBindingTypeOutput
- func (o ClusterRoleBindingTypeArrayOutput) ToClusterRoleBindingTypeArrayOutput() ClusterRoleBindingTypeArrayOutput
- func (o ClusterRoleBindingTypeArrayOutput) ToClusterRoleBindingTypeArrayOutputWithContext(ctx context.Context) ClusterRoleBindingTypeArrayOutput
- type ClusterRoleBindingTypeInput
- type ClusterRoleBindingTypeOutput
- func (o ClusterRoleBindingTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ClusterRoleBindingTypeOutput) ElementType() reflect.Type
- func (o ClusterRoleBindingTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ClusterRoleBindingTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o ClusterRoleBindingTypeOutput) RoleRef() RoleRefOutput
- func (o ClusterRoleBindingTypeOutput) Subjects() SubjectArrayOutput
- func (o ClusterRoleBindingTypeOutput) ToClusterRoleBindingTypeOutput() ClusterRoleBindingTypeOutput
- func (o ClusterRoleBindingTypeOutput) ToClusterRoleBindingTypeOutputWithContext(ctx context.Context) ClusterRoleBindingTypeOutput
- type ClusterRoleList
- type ClusterRoleListArgs
- type ClusterRoleListState
- type ClusterRoleListType
- type ClusterRoleListTypeArgs
- type ClusterRoleListTypeInput
- type ClusterRoleListTypeOutput
- func (o ClusterRoleListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ClusterRoleListTypeOutput) ElementType() reflect.Type
- func (o ClusterRoleListTypeOutput) Items() ClusterRoleTypeArrayOutput
- func (o ClusterRoleListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ClusterRoleListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o ClusterRoleListTypeOutput) ToClusterRoleListTypeOutput() ClusterRoleListTypeOutput
- func (o ClusterRoleListTypeOutput) ToClusterRoleListTypeOutputWithContext(ctx context.Context) ClusterRoleListTypeOutput
- type ClusterRoleState
- type ClusterRoleType
- type ClusterRoleTypeArgs
- type ClusterRoleTypeArray
- type ClusterRoleTypeArrayInput
- type ClusterRoleTypeArrayOutput
- func (ClusterRoleTypeArrayOutput) ElementType() reflect.Type
- func (o ClusterRoleTypeArrayOutput) Index(i pulumi.IntInput) ClusterRoleTypeOutput
- func (o ClusterRoleTypeArrayOutput) ToClusterRoleTypeArrayOutput() ClusterRoleTypeArrayOutput
- func (o ClusterRoleTypeArrayOutput) ToClusterRoleTypeArrayOutputWithContext(ctx context.Context) ClusterRoleTypeArrayOutput
- type ClusterRoleTypeInput
- type ClusterRoleTypeOutput
- func (o ClusterRoleTypeOutput) AggregationRule() AggregationRulePtrOutput
- func (o ClusterRoleTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (ClusterRoleTypeOutput) ElementType() reflect.Type
- func (o ClusterRoleTypeOutput) Kind() pulumi.StringPtrOutput
- func (o ClusterRoleTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o ClusterRoleTypeOutput) Rules() PolicyRuleArrayOutput
- func (o ClusterRoleTypeOutput) ToClusterRoleTypeOutput() ClusterRoleTypeOutput
- func (o ClusterRoleTypeOutput) ToClusterRoleTypeOutputWithContext(ctx context.Context) ClusterRoleTypeOutput
- type PolicyRule
- type PolicyRuleArgs
- type PolicyRuleArray
- type PolicyRuleArrayInput
- type PolicyRuleArrayOutput
- func (PolicyRuleArrayOutput) ElementType() reflect.Type
- func (o PolicyRuleArrayOutput) Index(i pulumi.IntInput) PolicyRuleOutput
- func (o PolicyRuleArrayOutput) ToPolicyRuleArrayOutput() PolicyRuleArrayOutput
- func (o PolicyRuleArrayOutput) ToPolicyRuleArrayOutputWithContext(ctx context.Context) PolicyRuleArrayOutput
- type PolicyRuleInput
- type PolicyRuleOutput
- func (o PolicyRuleOutput) ApiGroups() pulumi.StringArrayOutput
- func (PolicyRuleOutput) ElementType() reflect.Type
- func (o PolicyRuleOutput) NonResourceURLs() pulumi.StringArrayOutput
- func (o PolicyRuleOutput) ResourceNames() pulumi.StringArrayOutput
- func (o PolicyRuleOutput) Resources() pulumi.StringArrayOutput
- func (o PolicyRuleOutput) ToPolicyRuleOutput() PolicyRuleOutput
- func (o PolicyRuleOutput) ToPolicyRuleOutputWithContext(ctx context.Context) PolicyRuleOutput
- func (o PolicyRuleOutput) Verbs() pulumi.StringArrayOutput
- type Role
- type RoleArgs
- type RoleBinding
- type RoleBindingArgs
- type RoleBindingList
- type RoleBindingListArgs
- type RoleBindingListState
- type RoleBindingListType
- type RoleBindingListTypeArgs
- type RoleBindingListTypeInput
- type RoleBindingListTypeOutput
- func (o RoleBindingListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (RoleBindingListTypeOutput) ElementType() reflect.Type
- func (o RoleBindingListTypeOutput) Items() RoleBindingTypeArrayOutput
- func (o RoleBindingListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o RoleBindingListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o RoleBindingListTypeOutput) ToRoleBindingListTypeOutput() RoleBindingListTypeOutput
- func (o RoleBindingListTypeOutput) ToRoleBindingListTypeOutputWithContext(ctx context.Context) RoleBindingListTypeOutput
- type RoleBindingState
- type RoleBindingType
- type RoleBindingTypeArgs
- type RoleBindingTypeArray
- type RoleBindingTypeArrayInput
- type RoleBindingTypeArrayOutput
- func (RoleBindingTypeArrayOutput) ElementType() reflect.Type
- func (o RoleBindingTypeArrayOutput) Index(i pulumi.IntInput) RoleBindingTypeOutput
- func (o RoleBindingTypeArrayOutput) ToRoleBindingTypeArrayOutput() RoleBindingTypeArrayOutput
- func (o RoleBindingTypeArrayOutput) ToRoleBindingTypeArrayOutputWithContext(ctx context.Context) RoleBindingTypeArrayOutput
- type RoleBindingTypeInput
- type RoleBindingTypeOutput
- func (o RoleBindingTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (RoleBindingTypeOutput) ElementType() reflect.Type
- func (o RoleBindingTypeOutput) Kind() pulumi.StringPtrOutput
- func (o RoleBindingTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o RoleBindingTypeOutput) RoleRef() RoleRefOutput
- func (o RoleBindingTypeOutput) Subjects() SubjectArrayOutput
- func (o RoleBindingTypeOutput) ToRoleBindingTypeOutput() RoleBindingTypeOutput
- func (o RoleBindingTypeOutput) ToRoleBindingTypeOutputWithContext(ctx context.Context) RoleBindingTypeOutput
- type RoleList
- type RoleListArgs
- type RoleListState
- type RoleListType
- type RoleListTypeArgs
- type RoleListTypeInput
- type RoleListTypeOutput
- func (o RoleListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (RoleListTypeOutput) ElementType() reflect.Type
- func (o RoleListTypeOutput) Items() RoleTypeArrayOutput
- func (o RoleListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o RoleListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o RoleListTypeOutput) ToRoleListTypeOutput() RoleListTypeOutput
- func (o RoleListTypeOutput) ToRoleListTypeOutputWithContext(ctx context.Context) RoleListTypeOutput
- type RoleRef
- type RoleRefArgs
- func (RoleRefArgs) ElementType() reflect.Type
- func (i RoleRefArgs) ToRoleRefOutput() RoleRefOutput
- func (i RoleRefArgs) ToRoleRefOutputWithContext(ctx context.Context) RoleRefOutput
- func (i RoleRefArgs) ToRoleRefPtrOutput() RoleRefPtrOutput
- func (i RoleRefArgs) ToRoleRefPtrOutputWithContext(ctx context.Context) RoleRefPtrOutput
- type RoleRefInput
- type RoleRefOutput
- func (o RoleRefOutput) ApiGroup() pulumi.StringOutput
- func (RoleRefOutput) ElementType() reflect.Type
- func (o RoleRefOutput) Kind() pulumi.StringOutput
- func (o RoleRefOutput) Name() pulumi.StringOutput
- func (o RoleRefOutput) ToRoleRefOutput() RoleRefOutput
- func (o RoleRefOutput) ToRoleRefOutputWithContext(ctx context.Context) RoleRefOutput
- func (o RoleRefOutput) ToRoleRefPtrOutput() RoleRefPtrOutput
- func (o RoleRefOutput) ToRoleRefPtrOutputWithContext(ctx context.Context) RoleRefPtrOutput
- type RoleRefPtrInput
- type RoleRefPtrOutput
- func (o RoleRefPtrOutput) ApiGroup() pulumi.StringPtrOutput
- func (o RoleRefPtrOutput) Elem() RoleRefOutput
- func (RoleRefPtrOutput) ElementType() reflect.Type
- func (o RoleRefPtrOutput) Kind() pulumi.StringPtrOutput
- func (o RoleRefPtrOutput) Name() pulumi.StringPtrOutput
- func (o RoleRefPtrOutput) ToRoleRefPtrOutput() RoleRefPtrOutput
- func (o RoleRefPtrOutput) ToRoleRefPtrOutputWithContext(ctx context.Context) RoleRefPtrOutput
- type RoleState
- type RoleType
- type RoleTypeArgs
- type RoleTypeArray
- type RoleTypeArrayInput
- type RoleTypeArrayOutput
- type RoleTypeInput
- type RoleTypeOutput
- func (o RoleTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (RoleTypeOutput) ElementType() reflect.Type
- func (o RoleTypeOutput) Kind() pulumi.StringPtrOutput
- func (o RoleTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o RoleTypeOutput) Rules() PolicyRuleArrayOutput
- func (o RoleTypeOutput) ToRoleTypeOutput() RoleTypeOutput
- func (o RoleTypeOutput) ToRoleTypeOutputWithContext(ctx context.Context) RoleTypeOutput
- type Subject
- type SubjectArgs
- type SubjectArray
- type SubjectArrayInput
- type SubjectArrayOutput
- type SubjectInput
- type SubjectOutput
- func (o SubjectOutput) ApiVersion() pulumi.StringPtrOutput
- func (SubjectOutput) ElementType() reflect.Type
- func (o SubjectOutput) Kind() pulumi.StringOutput
- func (o SubjectOutput) Name() pulumi.StringOutput
- func (o SubjectOutput) Namespace() pulumi.StringPtrOutput
- func (o SubjectOutput) ToSubjectOutput() SubjectOutput
- func (o SubjectOutput) ToSubjectOutputWithContext(ctx context.Context) SubjectOutput
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 }
AggregationRuleInput is an input type that accepts AggregationRuleArgs and AggregationRuleOutput values. You can construct a concrete instance of `AggregationRuleInput` via:
AggregationRuleArgs{...}
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 }
AggregationRulePtrInput is an input type that accepts AggregationRuleArgs, AggregationRulePtr and AggregationRulePtrOutput values. You can construct a concrete instance of `AggregationRulePtrInput` via:
AggregationRuleArgs{...} or: nil
func AggregationRulePtr ¶
func AggregationRulePtr(v *AggregationRuleArgs) AggregationRulePtrInput
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 (o AggregationRulePtrOutput) Elem() AggregationRuleOutput
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.
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 RoleRefOutput `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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.22.
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 ¶
func (ClusterRoleBindingListState) ElementType() reflect.Type
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.22.
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.22.
func (ClusterRoleBindingListTypeArgs) ElementType ¶
func (ClusterRoleBindingListTypeArgs) ElementType() reflect.Type
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 }
ClusterRoleBindingListTypeInput is an input type that accepts ClusterRoleBindingListTypeArgs and ClusterRoleBindingListTypeOutput values. You can construct a concrete instance of `ClusterRoleBindingListTypeInput` via:
ClusterRoleBindingListTypeArgs{...}
type ClusterRoleBindingListTypeOutput ¶
type ClusterRoleBindingListTypeOutput struct{ *pulumi.OutputState }
ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.22.
func (ClusterRoleBindingListTypeOutput) ApiVersion ¶
func (o ClusterRoleBindingListTypeOutput) 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 (ClusterRoleBindingListTypeOutput) ElementType ¶
func (ClusterRoleBindingListTypeOutput) ElementType() reflect.Type
func (ClusterRoleBindingListTypeOutput) Items ¶
func (o ClusterRoleBindingListTypeOutput) Items() ClusterRoleBindingTypeArrayOutput
Items is a list of ClusterRoleBindings
func (ClusterRoleBindingListTypeOutput) Kind ¶
func (o ClusterRoleBindingListTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ClusterRoleBindingListTypeOutput) Metadata() metav1.ListMetaPtrOutput
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.
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 RoleRefInput `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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.
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) ElementType() reflect.Type
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 }
ClusterRoleBindingTypeArrayInput is an input type that accepts ClusterRoleBindingTypeArray and ClusterRoleBindingTypeArrayOutput values. You can construct a concrete instance of `ClusterRoleBindingTypeArrayInput` via:
ClusterRoleBindingTypeArray{ ClusterRoleBindingTypeArgs{...} }
type ClusterRoleBindingTypeArrayOutput ¶
type ClusterRoleBindingTypeArrayOutput struct{ *pulumi.OutputState }
func (ClusterRoleBindingTypeArrayOutput) ElementType ¶
func (ClusterRoleBindingTypeArrayOutput) ElementType() reflect.Type
func (ClusterRoleBindingTypeArrayOutput) Index ¶
func (o ClusterRoleBindingTypeArrayOutput) Index(i pulumi.IntInput) ClusterRoleBindingTypeOutput
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 }
ClusterRoleBindingTypeInput is an input type that accepts ClusterRoleBindingTypeArgs and ClusterRoleBindingTypeOutput values. You can construct a concrete instance of `ClusterRoleBindingTypeInput` via:
ClusterRoleBindingTypeArgs{...}
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.
func (ClusterRoleBindingTypeOutput) ApiVersion ¶
func (o ClusterRoleBindingTypeOutput) 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 (ClusterRoleBindingTypeOutput) ElementType ¶
func (ClusterRoleBindingTypeOutput) ElementType() reflect.Type
func (ClusterRoleBindingTypeOutput) Kind ¶
func (o ClusterRoleBindingTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ClusterRoleBindingTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata.
func (ClusterRoleBindingTypeOutput) RoleRef ¶
func (o ClusterRoleBindingTypeOutput) RoleRef() RoleRefOutput
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 ¶
func (o ClusterRoleBindingTypeOutput) Subjects() SubjectArrayOutput
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.
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 }
ClusterRoleListTypeInput is an input type that accepts ClusterRoleListTypeArgs and ClusterRoleListTypeOutput values. You can construct a concrete instance of `ClusterRoleListTypeInput` via:
ClusterRoleListTypeArgs{...}
type ClusterRoleListTypeOutput ¶
type ClusterRoleListTypeOutput struct{ *pulumi.OutputState }
ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.
func (ClusterRoleListTypeOutput) ApiVersion ¶
func (o ClusterRoleListTypeOutput) 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 (ClusterRoleListTypeOutput) ElementType ¶
func (ClusterRoleListTypeOutput) ElementType() reflect.Type
func (ClusterRoleListTypeOutput) Items ¶
func (o ClusterRoleListTypeOutput) Items() ClusterRoleTypeArrayOutput
Items is a list of ClusterRoles
func (ClusterRoleListTypeOutput) Kind ¶
func (o ClusterRoleListTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ClusterRoleListTypeOutput) Metadata() metav1.ListMetaPtrOutput
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.
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 }
ClusterRoleTypeArrayInput is an input type that accepts ClusterRoleTypeArray and ClusterRoleTypeArrayOutput values. You can construct a concrete instance of `ClusterRoleTypeArrayInput` via:
ClusterRoleTypeArray{ ClusterRoleTypeArgs{...} }
type ClusterRoleTypeArrayOutput ¶
type ClusterRoleTypeArrayOutput struct{ *pulumi.OutputState }
func (ClusterRoleTypeArrayOutput) ElementType ¶
func (ClusterRoleTypeArrayOutput) ElementType() reflect.Type
func (ClusterRoleTypeArrayOutput) Index ¶
func (o ClusterRoleTypeArrayOutput) Index(i pulumi.IntInput) ClusterRoleTypeOutput
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 }
ClusterRoleTypeInput is an input type that accepts ClusterRoleTypeArgs and ClusterRoleTypeOutput values. You can construct a concrete instance of `ClusterRoleTypeInput` via:
ClusterRoleTypeArgs{...}
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.
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 ¶
func (o ClusterRoleTypeOutput) 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 (ClusterRoleTypeOutput) ElementType ¶
func (ClusterRoleTypeOutput) ElementType() reflect.Type
func (ClusterRoleTypeOutput) Kind ¶
func (o ClusterRoleTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o ClusterRoleTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata.
func (ClusterRoleTypeOutput) Rules ¶
func (o ClusterRoleTypeOutput) Rules() PolicyRuleArrayOutput
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 }
PolicyRuleArrayInput is an input type that accepts PolicyRuleArray and PolicyRuleArrayOutput values. You can construct a concrete instance of `PolicyRuleArrayInput` via:
PolicyRuleArray{ PolicyRuleArgs{...} }
type PolicyRuleArrayOutput ¶
type PolicyRuleArrayOutput struct{ *pulumi.OutputState }
func (PolicyRuleArrayOutput) ElementType ¶
func (PolicyRuleArrayOutput) ElementType() reflect.Type
func (PolicyRuleArrayOutput) Index ¶
func (o PolicyRuleArrayOutput) Index(i pulumi.IntInput) PolicyRuleOutput
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 }
PolicyRuleInput is an input type that accepts PolicyRuleArgs and PolicyRuleOutput values. You can construct a concrete instance of `PolicyRuleInput` via:
PolicyRuleArgs{...}
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 ¶
func (o PolicyRuleOutput) ApiGroups() pulumi.StringArrayOutput
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 ¶
func (o PolicyRuleOutput) Resources() pulumi.StringArrayOutput
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 ¶
func (o PolicyRuleOutput) Verbs() pulumi.StringArrayOutput
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.
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).
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 ¶
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 RoleRefOutput `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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
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 Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.22.
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 Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.22.
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 Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.22.
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 }
RoleBindingListTypeInput is an input type that accepts RoleBindingListTypeArgs and RoleBindingListTypeOutput values. You can construct a concrete instance of `RoleBindingListTypeInput` via:
RoleBindingListTypeArgs{...}
type RoleBindingListTypeOutput ¶
type RoleBindingListTypeOutput struct{ *pulumi.OutputState }
RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.22.
func (RoleBindingListTypeOutput) ApiVersion ¶
func (o RoleBindingListTypeOutput) 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 (RoleBindingListTypeOutput) ElementType ¶
func (RoleBindingListTypeOutput) ElementType() reflect.Type
func (RoleBindingListTypeOutput) Items ¶
func (o RoleBindingListTypeOutput) Items() RoleBindingTypeArrayOutput
Items is a list of RoleBindings
func (RoleBindingListTypeOutput) Kind ¶
func (o RoleBindingListTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o RoleBindingListTypeOutput) Metadata() metav1.ListMetaPtrOutput
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
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 RoleRefInput `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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
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 }
RoleBindingTypeArrayInput is an input type that accepts RoleBindingTypeArray and RoleBindingTypeArrayOutput values. You can construct a concrete instance of `RoleBindingTypeArrayInput` via:
RoleBindingTypeArray{ RoleBindingTypeArgs{...} }
type RoleBindingTypeArrayOutput ¶
type RoleBindingTypeArrayOutput struct{ *pulumi.OutputState }
func (RoleBindingTypeArrayOutput) ElementType ¶
func (RoleBindingTypeArrayOutput) ElementType() reflect.Type
func (RoleBindingTypeArrayOutput) Index ¶
func (o RoleBindingTypeArrayOutput) Index(i pulumi.IntInput) RoleBindingTypeOutput
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 }
RoleBindingTypeInput is an input type that accepts RoleBindingTypeArgs and RoleBindingTypeOutput values. You can construct a concrete instance of `RoleBindingTypeInput` via:
RoleBindingTypeArgs{...}
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
func (RoleBindingTypeOutput) ApiVersion ¶
func (o RoleBindingTypeOutput) 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 (RoleBindingTypeOutput) ElementType ¶
func (RoleBindingTypeOutput) ElementType() reflect.Type
func (RoleBindingTypeOutput) Kind ¶
func (o RoleBindingTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o RoleBindingTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata.
func (RoleBindingTypeOutput) RoleRef ¶
func (o RoleBindingTypeOutput) RoleRef() RoleRefOutput
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 ¶
func (o RoleBindingTypeOutput) Subjects() SubjectArrayOutput
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.22.
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.22.
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.22.
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 }
RoleListTypeInput is an input type that accepts RoleListTypeArgs and RoleListTypeOutput values. You can construct a concrete instance of `RoleListTypeInput` via:
RoleListTypeArgs{...}
type RoleListTypeOutput ¶
type RoleListTypeOutput struct{ *pulumi.OutputState }
RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.22.
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 ¶
func (o RoleListTypeOutput) Items() RoleTypeArrayOutput
Items is a list of Roles
func (RoleListTypeOutput) Kind ¶
func (o RoleListTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o RoleListTypeOutput) Metadata() metav1.ListMetaPtrOutput
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.StringInput `pulumi:"apiGroup"` // Kind is the type of resource being referenced Kind pulumi.StringInput `pulumi:"kind"` // Name is the name of resource being referenced Name pulumi.StringInput `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 }
RoleRefInput is an input type that accepts RoleRefArgs and RoleRefOutput values. You can construct a concrete instance of `RoleRefInput` via:
RoleRefArgs{...}
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.StringOutput
APIGroup is the group for the resource being referenced
func (RoleRefOutput) ElementType ¶
func (RoleRefOutput) ElementType() reflect.Type
func (RoleRefOutput) Kind ¶
func (o RoleRefOutput) Kind() pulumi.StringOutput
Kind is the type of resource being referenced
func (RoleRefOutput) Name ¶
func (o RoleRefOutput) Name() pulumi.StringOutput
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 }
RoleRefPtrInput is an input type that accepts RoleRefArgs, RoleRefPtr and RoleRefPtrOutput values. You can construct a concrete instance of `RoleRefPtrInput` via:
RoleRefArgs{...} or: nil
func RoleRefPtr ¶
func RoleRefPtr(v *RoleRefArgs) RoleRefPtrInput
type RoleRefPtrOutput ¶
type RoleRefPtrOutput struct{ *pulumi.OutputState }
func (RoleRefPtrOutput) ApiGroup ¶
func (o RoleRefPtrOutput) ApiGroup() pulumi.StringPtrOutput
APIGroup is the group for the resource being referenced
func (RoleRefPtrOutput) Elem ¶
func (o RoleRefPtrOutput) Elem() RoleRefOutput
func (RoleRefPtrOutput) ElementType ¶
func (RoleRefPtrOutput) ElementType() reflect.Type
func (RoleRefPtrOutput) Kind ¶
func (o RoleRefPtrOutput) Kind() pulumi.StringPtrOutput
Kind is the type of resource being referenced
func (RoleRefPtrOutput) Name ¶
func (o RoleRefPtrOutput) Name() pulumi.StringPtrOutput
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 ¶
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.
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 }
RoleTypeArrayInput is an input type that accepts RoleTypeArray and RoleTypeArrayOutput values. You can construct a concrete instance of `RoleTypeArrayInput` via:
RoleTypeArray{ RoleTypeArgs{...} }
type RoleTypeArrayOutput ¶
type RoleTypeArrayOutput struct{ *pulumi.OutputState }
func (RoleTypeArrayOutput) ElementType ¶
func (RoleTypeArrayOutput) ElementType() reflect.Type
func (RoleTypeArrayOutput) Index ¶
func (o RoleTypeArrayOutput) Index(i pulumi.IntInput) RoleTypeOutput
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 }
RoleTypeInput is an input type that accepts RoleTypeArgs and RoleTypeOutput values. You can construct a concrete instance of `RoleTypeInput` via:
RoleTypeArgs{...}
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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.
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 ¶
func (o RoleTypeOutput) Kind() pulumi.StringPtrOutput
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 ¶
func (o RoleTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata.
func (RoleTypeOutput) Rules ¶
func (o RoleTypeOutput) Rules() PolicyRuleArrayOutput
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 { // APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects. ApiVersion *string `pulumi:"apiVersion"` // 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 { // APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects. ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // 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.StringInput `pulumi:"kind"` // Name of the object being referenced. Name pulumi.StringInput `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 }
SubjectArrayInput is an input type that accepts SubjectArray and SubjectArrayOutput values. You can construct a concrete instance of `SubjectArrayInput` via:
SubjectArray{ SubjectArgs{...} }
type SubjectArrayOutput ¶
type SubjectArrayOutput struct{ *pulumi.OutputState }
func (SubjectArrayOutput) ElementType ¶
func (SubjectArrayOutput) ElementType() reflect.Type
func (SubjectArrayOutput) Index ¶
func (o SubjectArrayOutput) Index(i pulumi.IntInput) SubjectOutput
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 }
SubjectInput is an input type that accepts SubjectArgs and SubjectOutput values. You can construct a concrete instance of `SubjectInput` via:
SubjectArgs{...}
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) ApiVersion ¶
func (o SubjectOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects.
func (SubjectOutput) ElementType ¶
func (SubjectOutput) ElementType() reflect.Type
func (SubjectOutput) Kind ¶
func (o SubjectOutput) Kind() pulumi.StringOutput
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 ¶
func (o SubjectOutput) Name() pulumi.StringOutput
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