Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the rbac.enterprise.mesh.gloo.solo.io v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=rbac.enterprise.mesh.gloo.solo.io
NOTE: Boilerplate only. Ignore this file. Used to register the Go types with the Kubernetes internal scheme
Definitions for the Kubernetes types ¶
Definitions for the Kubernetes types
Index ¶
- Variables
- func AddToScheme(s *runtime.Scheme) error
- func NewRoleBindingClient(client client.Client) *roleBindingClient
- func NewRoleClient(client client.Client) *roleClient
- func Resource(resource string) schema.GroupResource
- type Clientset
- type MulticlusterClientset
- type MulticlusterRoleBindingClient
- type MulticlusterRoleClient
- type Role
- type RoleBinding
- type RoleBindingClient
- type RoleBindingList
- type RoleBindingReader
- type RoleBindingSlice
- type RoleBindingSpec
- func (in *RoleBindingSpec) DeepCopyInto(out *RoleBindingSpec)
- func (*RoleBindingSpec) Descriptor() ([]byte, []int)deprecated
- func (x *RoleBindingSpec) GetRoleRef() *v1.ObjectRef
- func (x *RoleBindingSpec) GetSubjects() []*v1.TypedObjectRef
- func (this *RoleBindingSpec) MarshalJSON() ([]byte, error)
- func (*RoleBindingSpec) ProtoMessage()
- func (x *RoleBindingSpec) ProtoReflect() protoreflect.Message
- func (x *RoleBindingSpec) Reset()
- func (x *RoleBindingSpec) String() string
- func (this *RoleBindingSpec) UnmarshalJSON(b []byte) error
- type RoleBindingStatus
- func (in *RoleBindingStatus) DeepCopyInto(out *RoleBindingStatus)
- func (*RoleBindingStatus) Descriptor() ([]byte, []int)deprecated
- func (this *RoleBindingStatus) MarshalJSON() ([]byte, error)
- func (*RoleBindingStatus) ProtoMessage()
- func (x *RoleBindingStatus) ProtoReflect() protoreflect.Message
- func (x *RoleBindingStatus) Reset()
- func (x *RoleBindingStatus) String() string
- func (this *RoleBindingStatus) UnmarshalJSON(b []byte) error
- type RoleBindingStatusWriter
- type RoleBindingTransitionFunction
- type RoleBindingWriter
- type RoleClient
- type RoleList
- type RoleReader
- type RoleSlice
- type RoleSpec
- func (in *RoleSpec) DeepCopyInto(out *RoleSpec)
- func (*RoleSpec) Descriptor() ([]byte, []int)deprecated
- func (x *RoleSpec) GetAccessPolicyScopes() []*RoleSpec_AccessPolicyScope
- func (x *RoleSpec) GetFailoverServiceScopes() []*RoleSpec_FailoverServiceScope
- func (x *RoleSpec) GetTrafficPolicyScopes() []*RoleSpec_TrafficPolicyScope
- func (x *RoleSpec) GetVirtualMeshScopes() []*RoleSpec_VirtualMeshScope
- func (x *RoleSpec) GetWasmDeploymentScopes() []*RoleSpec_WasmDeploymentScope
- func (this *RoleSpec) MarshalJSON() ([]byte, error)
- func (*RoleSpec) ProtoMessage()
- func (x *RoleSpec) ProtoReflect() protoreflect.Message
- func (x *RoleSpec) Reset()
- func (x *RoleSpec) String() string
- func (this *RoleSpec) UnmarshalJSON(b []byte) error
- type RoleSpec_AccessPolicyScope
- func (*RoleSpec_AccessPolicyScope) Descriptor() ([]byte, []int)deprecated
- func (x *RoleSpec_AccessPolicyScope) GetIdentitySelectors() []*v1alpha2.IdentitySelector
- func (x *RoleSpec_AccessPolicyScope) GetTrafficTargetSelectors() []*v1alpha2.TrafficTargetSelector
- func (*RoleSpec_AccessPolicyScope) ProtoMessage()
- func (x *RoleSpec_AccessPolicyScope) ProtoReflect() protoreflect.Message
- func (x *RoleSpec_AccessPolicyScope) Reset()
- func (x *RoleSpec_AccessPolicyScope) String() string
- type RoleSpec_FailoverServiceScope
- func (*RoleSpec_FailoverServiceScope) Descriptor() ([]byte, []int)deprecated
- func (x *RoleSpec_FailoverServiceScope) GetBackingServices() []*v1alpha2.FailoverServiceSpec_BackingService
- func (x *RoleSpec_FailoverServiceScope) GetMeshRefs() []*v1.ObjectRef
- func (*RoleSpec_FailoverServiceScope) ProtoMessage()
- func (x *RoleSpec_FailoverServiceScope) ProtoReflect() protoreflect.Message
- func (x *RoleSpec_FailoverServiceScope) Reset()
- func (x *RoleSpec_FailoverServiceScope) String() string
- type RoleSpec_TrafficPolicyScope
- func (*RoleSpec_TrafficPolicyScope) Descriptor() ([]byte, []int)deprecated
- func (x *RoleSpec_TrafficPolicyScope) GetTrafficPolicyActions() []RoleSpec_TrafficPolicyScope_TrafficPolicyActions
- func (x *RoleSpec_TrafficPolicyScope) GetTrafficTargetSelectors() []*v1alpha2.TrafficTargetSelector
- func (x *RoleSpec_TrafficPolicyScope) GetWorkloadSelectors() []*v1alpha2.WorkloadSelector
- func (*RoleSpec_TrafficPolicyScope) ProtoMessage()
- func (x *RoleSpec_TrafficPolicyScope) ProtoReflect() protoreflect.Message
- func (x *RoleSpec_TrafficPolicyScope) Reset()
- func (x *RoleSpec_TrafficPolicyScope) String() string
- type RoleSpec_TrafficPolicyScope_TrafficPolicyActions
- func (RoleSpec_TrafficPolicyScope_TrafficPolicyActions) Descriptor() protoreflect.EnumDescriptor
- func (x RoleSpec_TrafficPolicyScope_TrafficPolicyActions) Enum() *RoleSpec_TrafficPolicyScope_TrafficPolicyActions
- func (RoleSpec_TrafficPolicyScope_TrafficPolicyActions) EnumDescriptor() ([]byte, []int)deprecated
- func (x RoleSpec_TrafficPolicyScope_TrafficPolicyActions) Number() protoreflect.EnumNumber
- func (x RoleSpec_TrafficPolicyScope_TrafficPolicyActions) String() string
- func (RoleSpec_TrafficPolicyScope_TrafficPolicyActions) Type() protoreflect.EnumType
- type RoleSpec_VirtualMeshScope
- func (*RoleSpec_VirtualMeshScope) Descriptor() ([]byte, []int)deprecated
- func (x *RoleSpec_VirtualMeshScope) GetMeshRefs() []*v1.ObjectRef
- func (x *RoleSpec_VirtualMeshScope) GetVirtualMeshActions() []RoleSpec_VirtualMeshScope_VirtualMeshActions
- func (*RoleSpec_VirtualMeshScope) ProtoMessage()
- func (x *RoleSpec_VirtualMeshScope) ProtoReflect() protoreflect.Message
- func (x *RoleSpec_VirtualMeshScope) Reset()
- func (x *RoleSpec_VirtualMeshScope) String() string
- type RoleSpec_VirtualMeshScope_VirtualMeshActions
- func (RoleSpec_VirtualMeshScope_VirtualMeshActions) Descriptor() protoreflect.EnumDescriptor
- func (x RoleSpec_VirtualMeshScope_VirtualMeshActions) Enum() *RoleSpec_VirtualMeshScope_VirtualMeshActions
- func (RoleSpec_VirtualMeshScope_VirtualMeshActions) EnumDescriptor() ([]byte, []int)deprecated
- func (x RoleSpec_VirtualMeshScope_VirtualMeshActions) Number() protoreflect.EnumNumber
- func (x RoleSpec_VirtualMeshScope_VirtualMeshActions) String() string
- func (RoleSpec_VirtualMeshScope_VirtualMeshActions) Type() protoreflect.EnumType
- type RoleSpec_WasmDeploymentScope
- func (*RoleSpec_WasmDeploymentScope) Descriptor() ([]byte, []int)deprecated
- func (x *RoleSpec_WasmDeploymentScope) GetWorkloadSelectors() []*v1alpha2.WorkloadSelector
- func (*RoleSpec_WasmDeploymentScope) ProtoMessage()
- func (x *RoleSpec_WasmDeploymentScope) ProtoReflect() protoreflect.Message
- func (x *RoleSpec_WasmDeploymentScope) Reset()
- func (x *RoleSpec_WasmDeploymentScope) String() string
- type RoleStatus
- func (in *RoleStatus) DeepCopyInto(out *RoleStatus)
- func (*RoleStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RoleStatus) GetObservedGeneration() int64
- func (this *RoleStatus) MarshalJSON() ([]byte, error)
- func (*RoleStatus) ProtoMessage()
- func (x *RoleStatus) ProtoReflect() protoreflect.Message
- func (x *RoleStatus) Reset()
- func (x *RoleStatus) String() string
- func (this *RoleStatus) UnmarshalJSON(b []byte) error
- type RoleStatusWriter
- type RoleTransitionFunction
- type RoleWriter
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "rbac.enterprise.mesh.gloo.solo.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( RoleSpec_TrafficPolicyScope_TrafficPolicyActions_name = map[int32]string{ 0: "UNKNOWN_TRAFFIC_POLICY_ACTION", 1: "ALL", 2: "TRAFFIC_SHIFT", 3: "FAULT_INJECTION", 4: "REQUEST_TIMEOUT", 5: "RETRIES", 6: "CORS_POLICY", 7: "MIRROR", 8: "HEADER_MANIPULATION", 9: "OUTLIER_DETECTION", 10: "MTLS_CONFIG", } RoleSpec_TrafficPolicyScope_TrafficPolicyActions_value = map[string]int32{ "UNKNOWN_TRAFFIC_POLICY_ACTION": 0, "ALL": 1, "TRAFFIC_SHIFT": 2, "FAULT_INJECTION": 3, "REQUEST_TIMEOUT": 4, "RETRIES": 5, "CORS_POLICY": 6, "MIRROR": 7, "HEADER_MANIPULATION": 8, "OUTLIER_DETECTION": 9, "MTLS_CONFIG": 10, } )
Enum value maps for RoleSpec_TrafficPolicyScope_TrafficPolicyActions.
var ( RoleSpec_VirtualMeshScope_VirtualMeshActions_name = map[int32]string{ 0: "UNKNOWN_VIRTUAL_MESH_ACTION", 1: "ALL", 2: "MTLS_CONFIG", 3: "FEDERATION", 4: "GLOBAL_ACCESS_POLICY", } RoleSpec_VirtualMeshScope_VirtualMeshActions_value = map[string]int32{ "UNKNOWN_VIRTUAL_MESH_ACTION": 0, "ALL": 1, "MTLS_CONFIG": 2, "FEDERATION": 3, "GLOBAL_ACCESS_POLICY": 4, } )
Enum value maps for RoleSpec_VirtualMeshScope_VirtualMeshActions.
var File_github_com_solo_io_gloo_mesh_api_enterprise_rbac_v1alpha1_role_proto protoreflect.FileDescriptor
Functions ¶
func AddToScheme ¶
func NewRoleBindingClient ¶
func NewRoleClient ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Clientset ¶
type Clientset interface { // clienset for the rbac.enterprise.mesh.gloo.solo.io/v1alpha1/v1alpha1 APIs Roles() RoleClient // clienset for the rbac.enterprise.mesh.gloo.solo.io/v1alpha1/v1alpha1 APIs RoleBindings() RoleBindingClient }
clienset for the rbac.enterprise.mesh.gloo.solo.io/v1alpha1 APIs
func NewClientset ¶
type MulticlusterClientset ¶
type MulticlusterClientset interface { // Cluster returns a Clientset for the given cluster Cluster(cluster string) (Clientset, error) }
MulticlusterClientset for the rbac.enterprise.mesh.gloo.solo.io/v1alpha1 APIs
func NewMulticlusterClientset ¶
func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset
type MulticlusterRoleBindingClient ¶
type MulticlusterRoleBindingClient interface { // Cluster returns a RoleBindingClient for the given cluster Cluster(cluster string) (RoleBindingClient, error) }
Provides RoleBindingClients for multiple clusters.
func NewMulticlusterRoleBindingClient ¶
func NewMulticlusterRoleBindingClient(client multicluster.Client) MulticlusterRoleBindingClient
type MulticlusterRoleClient ¶
type MulticlusterRoleClient interface { // Cluster returns a RoleClient for the given cluster Cluster(cluster string) (RoleClient, error) }
Provides RoleClients for multiple clusters.
func NewMulticlusterRoleClient ¶
func NewMulticlusterRoleClient(client multicluster.Client) MulticlusterRoleClient
type Role ¶
type Role struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleSpec `json:"spec,omitempty"` Status RoleStatus `json:"status,omitempty"` }
Role is the Schema for the role API
func (*Role) DeepCopyInto ¶
func (*Role) DeepCopyObject ¶
func (Role) GVK ¶
func (Role) GVK() schema.GroupVersionKind
GVK returns the GroupVersionKind associated with the resource type.
type RoleBinding ¶
type RoleBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleBindingSpec `json:"spec,omitempty"` Status RoleBindingStatus `json:"status,omitempty"` }
RoleBinding is the Schema for the roleBinding API
func (*RoleBinding) DeepCopy ¶
func (in *RoleBinding) DeepCopy() *RoleBinding
func (*RoleBinding) DeepCopyInto ¶
func (in *RoleBinding) DeepCopyInto(out *RoleBinding)
func (*RoleBinding) DeepCopyObject ¶
func (in *RoleBinding) DeepCopyObject() runtime.Object
func (RoleBinding) GVK ¶
func (RoleBinding) GVK() schema.GroupVersionKind
GVK returns the GroupVersionKind associated with the resource type.
type RoleBindingClient ¶
type RoleBindingClient interface { RoleBindingReader RoleBindingWriter RoleBindingStatusWriter }
Client knows how to perform CRUD operations on RoleBindings.
type RoleBindingList ¶
type RoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RoleBinding `json:"items"` }
RoleBindingList contains a list of RoleBinding
func (*RoleBindingList) DeepCopy ¶
func (in *RoleBindingList) DeepCopy() *RoleBindingList
func (*RoleBindingList) DeepCopyInto ¶
func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList)
func (*RoleBindingList) DeepCopyObject ¶
func (in *RoleBindingList) DeepCopyObject() runtime.Object
type RoleBindingReader ¶
type RoleBindingReader interface { // Get retrieves a RoleBinding for the given object key GetRoleBinding(ctx context.Context, key client.ObjectKey) (*RoleBinding, error) // List retrieves list of RoleBindings for a given namespace and list options. ListRoleBinding(ctx context.Context, opts ...client.ListOption) (*RoleBindingList, error) }
Reader knows how to read and list RoleBindings.
type RoleBindingSlice ¶
type RoleBindingSlice []*RoleBinding
RoleBindingSlice represents a slice of *RoleBinding
type RoleBindingSpec ¶
type RoleBindingSpec struct { // reference to users or groups to apply the Gloo Mesh Role to Subjects []*v1.TypedObjectRef `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"` // reference to a Gloo Mesh Role RoleRef *v1.ObjectRef `protobuf:"bytes,2,opt,name=role_ref,json=roleRef,proto3" json:"role_ref,omitempty"` // contains filtered or unexported fields }
func (*RoleBindingSpec) DeepCopyInto ¶
func (in *RoleBindingSpec) DeepCopyInto(out *RoleBindingSpec)
DeepCopyInto for the RoleBinding.Spec
func (*RoleBindingSpec) Descriptor
deprecated
func (*RoleBindingSpec) Descriptor() ([]byte, []int)
Deprecated: Use RoleBindingSpec.ProtoReflect.Descriptor instead.
func (*RoleBindingSpec) GetRoleRef ¶
func (x *RoleBindingSpec) GetRoleRef() *v1.ObjectRef
func (*RoleBindingSpec) GetSubjects ¶
func (x *RoleBindingSpec) GetSubjects() []*v1.TypedObjectRef
func (*RoleBindingSpec) MarshalJSON ¶
func (this *RoleBindingSpec) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for RoleBindingSpec
func (*RoleBindingSpec) ProtoMessage ¶
func (*RoleBindingSpec) ProtoMessage()
func (*RoleBindingSpec) ProtoReflect ¶
func (x *RoleBindingSpec) ProtoReflect() protoreflect.Message
func (*RoleBindingSpec) Reset ¶
func (x *RoleBindingSpec) Reset()
func (*RoleBindingSpec) String ¶
func (x *RoleBindingSpec) String() string
func (*RoleBindingSpec) UnmarshalJSON ¶
func (this *RoleBindingSpec) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for RoleBindingSpec
type RoleBindingStatus ¶
type RoleBindingStatus struct {
// contains filtered or unexported fields
}
func (*RoleBindingStatus) DeepCopyInto ¶
func (in *RoleBindingStatus) DeepCopyInto(out *RoleBindingStatus)
DeepCopyInto for the RoleBinding.Status
func (*RoleBindingStatus) Descriptor
deprecated
func (*RoleBindingStatus) Descriptor() ([]byte, []int)
Deprecated: Use RoleBindingStatus.ProtoReflect.Descriptor instead.
func (*RoleBindingStatus) MarshalJSON ¶
func (this *RoleBindingStatus) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for RoleBindingStatus
func (*RoleBindingStatus) ProtoMessage ¶
func (*RoleBindingStatus) ProtoMessage()
func (*RoleBindingStatus) ProtoReflect ¶
func (x *RoleBindingStatus) ProtoReflect() protoreflect.Message
func (*RoleBindingStatus) Reset ¶
func (x *RoleBindingStatus) Reset()
func (*RoleBindingStatus) String ¶
func (x *RoleBindingStatus) String() string
func (*RoleBindingStatus) UnmarshalJSON ¶
func (this *RoleBindingStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for RoleBindingStatus
type RoleBindingStatusWriter ¶
type RoleBindingStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given RoleBinding object. UpdateRoleBindingStatus(ctx context.Context, obj *RoleBinding, opts ...client.UpdateOption) error // Patch patches the given RoleBinding object's subresource. PatchRoleBindingStatus(ctx context.Context, obj *RoleBinding, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a RoleBinding object.
type RoleBindingTransitionFunction ¶
type RoleBindingTransitionFunction func(existing, desired *RoleBinding) error
RoleBindingTransitionFunction instructs the RoleBindingWriter how to transition between an existing RoleBinding object and a desired on an Upsert
type RoleBindingWriter ¶
type RoleBindingWriter interface { // Create saves the RoleBinding object. CreateRoleBinding(ctx context.Context, obj *RoleBinding, opts ...client.CreateOption) error // Delete deletes the RoleBinding object. DeleteRoleBinding(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given RoleBinding object. UpdateRoleBinding(ctx context.Context, obj *RoleBinding, opts ...client.UpdateOption) error // Patch patches the given RoleBinding object. PatchRoleBinding(ctx context.Context, obj *RoleBinding, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all RoleBinding objects matching the given options. DeleteAllOfRoleBinding(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the RoleBinding object. UpsertRoleBinding(ctx context.Context, obj *RoleBinding, transitionFuncs ...RoleBindingTransitionFunction) error }
Writer knows how to create, delete, and update RoleBindings.
type RoleClient ¶
type RoleClient interface { RoleReader RoleWriter RoleStatusWriter }
Client knows how to perform CRUD operations on Roles.
type RoleList ¶
type RoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Role `json:"items"` }
RoleList contains a list of Role
func (*RoleList) DeepCopyInto ¶
func (*RoleList) DeepCopyObject ¶
type RoleReader ¶
type RoleReader interface { // Get retrieves a Role for the given object key GetRole(ctx context.Context, key client.ObjectKey) (*Role, error) // List retrieves list of Roles for a given namespace and list options. ListRole(ctx context.Context, opts ...client.ListOption) (*RoleList, error) }
Reader knows how to read and list Roles.
type RoleSpec ¶
type RoleSpec struct { // A set of TrafficPolicy configuration permissions. Permission granularity is defined at the field level. TrafficPolicyScopes []*RoleSpec_TrafficPolicyScope `protobuf:"bytes,1,rep,name=traffic_policy_scopes,json=trafficPolicyScopes,proto3" json:"traffic_policy_scopes,omitempty"` // A set of VirtualMesh configuration permissions. Permission granularity is defined at the field level. VirtualMeshScopes []*RoleSpec_VirtualMeshScope `protobuf:"bytes,2,rep,name=virtual_mesh_scopes,json=virtualMeshScopes,proto3" json:"virtual_mesh_scopes,omitempty"` // A set of AccessPolicy configuration permissions. Permission granularity is defined at the object level. AccessPolicyScopes []*RoleSpec_AccessPolicyScope `protobuf:"bytes,3,rep,name=access_policy_scopes,json=accessPolicyScopes,proto3" json:"access_policy_scopes,omitempty"` // A set of FailoverService configuration permissions. Permission granularity is defined at the object level. FailoverServiceScopes []*RoleSpec_FailoverServiceScope `` /* 126-byte string literal not displayed */ // A set of WasmDeployment configuration permissions. Permission granularity is defined at the object level. WasmDeploymentScopes []*RoleSpec_WasmDeploymentScope `protobuf:"bytes,5,rep,name=wasm_deployment_scopes,json=wasmDeploymentScopes,proto3" json:"wasm_deployment_scopes,omitempty"` // contains filtered or unexported fields }
A role represents a set of permissions for creating, updating, and deleting Gloo Mesh configuration. A role consists of a set of scopes for each policy type. The permission granularity is defined at the field level for TrafficPolicy and VirtualMesh and at the object level for AccessPolicy and FailoverService.
func (*RoleSpec) DeepCopyInto ¶
DeepCopyInto for the Role.Spec
func (*RoleSpec) Descriptor
deprecated
func (*RoleSpec) GetAccessPolicyScopes ¶
func (x *RoleSpec) GetAccessPolicyScopes() []*RoleSpec_AccessPolicyScope
func (*RoleSpec) GetFailoverServiceScopes ¶
func (x *RoleSpec) GetFailoverServiceScopes() []*RoleSpec_FailoverServiceScope
func (*RoleSpec) GetTrafficPolicyScopes ¶
func (x *RoleSpec) GetTrafficPolicyScopes() []*RoleSpec_TrafficPolicyScope
func (*RoleSpec) GetVirtualMeshScopes ¶
func (x *RoleSpec) GetVirtualMeshScopes() []*RoleSpec_VirtualMeshScope
func (*RoleSpec) GetWasmDeploymentScopes ¶
func (x *RoleSpec) GetWasmDeploymentScopes() []*RoleSpec_WasmDeploymentScope
func (*RoleSpec) MarshalJSON ¶
MarshalJSON is a custom marshaler for RoleSpec
func (*RoleSpec) ProtoMessage ¶
func (*RoleSpec) ProtoMessage()
func (*RoleSpec) ProtoReflect ¶
func (x *RoleSpec) ProtoReflect() protoreflect.Message
func (*RoleSpec) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for RoleSpec
type RoleSpec_AccessPolicyScope ¶
type RoleSpec_AccessPolicyScope struct { // A list of permitted identity selectors. IdentitySelectors []*v1alpha2.IdentitySelector `protobuf:"bytes,1,rep,name=identity_selectors,json=identitySelectors,proto3" json:"identity_selectors,omitempty"` // A list of permitted traffic target selectors. TrafficTargetSelectors []*v1alpha2.TrafficTargetSelector `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Represents permissions for configuring AccessPolicies.
func (*RoleSpec_AccessPolicyScope) Descriptor
deprecated
func (*RoleSpec_AccessPolicyScope) Descriptor() ([]byte, []int)
Deprecated: Use RoleSpec_AccessPolicyScope.ProtoReflect.Descriptor instead.
func (*RoleSpec_AccessPolicyScope) GetIdentitySelectors ¶
func (x *RoleSpec_AccessPolicyScope) GetIdentitySelectors() []*v1alpha2.IdentitySelector
func (*RoleSpec_AccessPolicyScope) GetTrafficTargetSelectors ¶
func (x *RoleSpec_AccessPolicyScope) GetTrafficTargetSelectors() []*v1alpha2.TrafficTargetSelector
func (*RoleSpec_AccessPolicyScope) ProtoMessage ¶
func (*RoleSpec_AccessPolicyScope) ProtoMessage()
func (*RoleSpec_AccessPolicyScope) ProtoReflect ¶
func (x *RoleSpec_AccessPolicyScope) ProtoReflect() protoreflect.Message
func (*RoleSpec_AccessPolicyScope) Reset ¶
func (x *RoleSpec_AccessPolicyScope) Reset()
func (*RoleSpec_AccessPolicyScope) String ¶
func (x *RoleSpec_AccessPolicyScope) String() string
type RoleSpec_FailoverServiceScope ¶
type RoleSpec_FailoverServiceScope struct { // A list of permitted mesh references. MeshRefs []*v1.ObjectRef `protobuf:"bytes,1,rep,name=mesh_refs,json=meshRefs,proto3" json:"mesh_refs,omitempty"` // A list of permitted backing services. BackingServices []*v1alpha2.FailoverServiceSpec_BackingService `protobuf:"bytes,2,rep,name=backing_services,json=backingServices,proto3" json:"backing_services,omitempty"` // contains filtered or unexported fields }
Represents permissions for configuring FailoverServices.
func (*RoleSpec_FailoverServiceScope) Descriptor
deprecated
func (*RoleSpec_FailoverServiceScope) Descriptor() ([]byte, []int)
Deprecated: Use RoleSpec_FailoverServiceScope.ProtoReflect.Descriptor instead.
func (*RoleSpec_FailoverServiceScope) GetBackingServices ¶
func (x *RoleSpec_FailoverServiceScope) GetBackingServices() []*v1alpha2.FailoverServiceSpec_BackingService
func (*RoleSpec_FailoverServiceScope) GetMeshRefs ¶
func (x *RoleSpec_FailoverServiceScope) GetMeshRefs() []*v1.ObjectRef
func (*RoleSpec_FailoverServiceScope) ProtoMessage ¶
func (*RoleSpec_FailoverServiceScope) ProtoMessage()
func (*RoleSpec_FailoverServiceScope) ProtoReflect ¶
func (x *RoleSpec_FailoverServiceScope) ProtoReflect() protoreflect.Message
func (*RoleSpec_FailoverServiceScope) Reset ¶
func (x *RoleSpec_FailoverServiceScope) Reset()
func (*RoleSpec_FailoverServiceScope) String ¶
func (x *RoleSpec_FailoverServiceScope) String() string
type RoleSpec_TrafficPolicyScope ¶
type RoleSpec_TrafficPolicyScope struct { // A list of permitted TrafficPolicy configuration actions. TrafficPolicyActions []RoleSpec_TrafficPolicyScope_TrafficPolicyActions `` /* 219-byte string literal not displayed */ // A list of permitted traffic target selectors. TrafficTargetSelectors []*v1alpha2.TrafficTargetSelector `` /* 129-byte string literal not displayed */ // A list of permitted workload selectors. WorkloadSelectors []*v1alpha2.WorkloadSelector `protobuf:"bytes,3,rep,name=workload_selectors,json=workloadSelectors,proto3" json:"workload_selectors,omitempty"` // contains filtered or unexported fields }
Represents permissions for configuring TrafficPolicies.
func (*RoleSpec_TrafficPolicyScope) Descriptor
deprecated
func (*RoleSpec_TrafficPolicyScope) Descriptor() ([]byte, []int)
Deprecated: Use RoleSpec_TrafficPolicyScope.ProtoReflect.Descriptor instead.
func (*RoleSpec_TrafficPolicyScope) GetTrafficPolicyActions ¶
func (x *RoleSpec_TrafficPolicyScope) GetTrafficPolicyActions() []RoleSpec_TrafficPolicyScope_TrafficPolicyActions
func (*RoleSpec_TrafficPolicyScope) GetTrafficTargetSelectors ¶
func (x *RoleSpec_TrafficPolicyScope) GetTrafficTargetSelectors() []*v1alpha2.TrafficTargetSelector
func (*RoleSpec_TrafficPolicyScope) GetWorkloadSelectors ¶
func (x *RoleSpec_TrafficPolicyScope) GetWorkloadSelectors() []*v1alpha2.WorkloadSelector
func (*RoleSpec_TrafficPolicyScope) ProtoMessage ¶
func (*RoleSpec_TrafficPolicyScope) ProtoMessage()
func (*RoleSpec_TrafficPolicyScope) ProtoReflect ¶
func (x *RoleSpec_TrafficPolicyScope) ProtoReflect() protoreflect.Message
func (*RoleSpec_TrafficPolicyScope) Reset ¶
func (x *RoleSpec_TrafficPolicyScope) Reset()
func (*RoleSpec_TrafficPolicyScope) String ¶
func (x *RoleSpec_TrafficPolicyScope) String() string
type RoleSpec_TrafficPolicyScope_TrafficPolicyActions ¶
type RoleSpec_TrafficPolicyScope_TrafficPolicyActions int32
Enums representing fields on the TrafficPolicy CRD.
const ( RoleSpec_TrafficPolicyScope_UNKNOWN_TRAFFIC_POLICY_ACTION RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 0 RoleSpec_TrafficPolicyScope_ALL RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 1 RoleSpec_TrafficPolicyScope_TRAFFIC_SHIFT RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 2 RoleSpec_TrafficPolicyScope_FAULT_INJECTION RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 3 RoleSpec_TrafficPolicyScope_REQUEST_TIMEOUT RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 4 RoleSpec_TrafficPolicyScope_RETRIES RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 5 RoleSpec_TrafficPolicyScope_CORS_POLICY RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 6 RoleSpec_TrafficPolicyScope_MIRROR RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 7 RoleSpec_TrafficPolicyScope_HEADER_MANIPULATION RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 8 RoleSpec_TrafficPolicyScope_OUTLIER_DETECTION RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 9 RoleSpec_TrafficPolicyScope_MTLS_CONFIG RoleSpec_TrafficPolicyScope_TrafficPolicyActions = 10 )
func (RoleSpec_TrafficPolicyScope_TrafficPolicyActions) Descriptor ¶
func (RoleSpec_TrafficPolicyScope_TrafficPolicyActions) Descriptor() protoreflect.EnumDescriptor
func (RoleSpec_TrafficPolicyScope_TrafficPolicyActions) EnumDescriptor
deprecated
func (RoleSpec_TrafficPolicyScope_TrafficPolicyActions) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoleSpec_TrafficPolicyScope_TrafficPolicyActions.Descriptor instead.
func (RoleSpec_TrafficPolicyScope_TrafficPolicyActions) Number ¶
func (x RoleSpec_TrafficPolicyScope_TrafficPolicyActions) Number() protoreflect.EnumNumber
func (RoleSpec_TrafficPolicyScope_TrafficPolicyActions) String ¶
func (x RoleSpec_TrafficPolicyScope_TrafficPolicyActions) String() string
type RoleSpec_VirtualMeshScope ¶
type RoleSpec_VirtualMeshScope struct { // A list of permitted VirtualMesh configuration actions. VirtualMeshActions []RoleSpec_VirtualMeshScope_VirtualMeshActions `` /* 209-byte string literal not displayed */ // A list of permitted mesh references. MeshRefs []*v1.ObjectRef `protobuf:"bytes,2,rep,name=mesh_refs,json=meshRefs,proto3" json:"mesh_refs,omitempty"` // contains filtered or unexported fields }
Represents permissions for configuring VirtualMeshes.
func (*RoleSpec_VirtualMeshScope) Descriptor
deprecated
func (*RoleSpec_VirtualMeshScope) Descriptor() ([]byte, []int)
Deprecated: Use RoleSpec_VirtualMeshScope.ProtoReflect.Descriptor instead.
func (*RoleSpec_VirtualMeshScope) GetMeshRefs ¶
func (x *RoleSpec_VirtualMeshScope) GetMeshRefs() []*v1.ObjectRef
func (*RoleSpec_VirtualMeshScope) GetVirtualMeshActions ¶
func (x *RoleSpec_VirtualMeshScope) GetVirtualMeshActions() []RoleSpec_VirtualMeshScope_VirtualMeshActions
func (*RoleSpec_VirtualMeshScope) ProtoMessage ¶
func (*RoleSpec_VirtualMeshScope) ProtoMessage()
func (*RoleSpec_VirtualMeshScope) ProtoReflect ¶
func (x *RoleSpec_VirtualMeshScope) ProtoReflect() protoreflect.Message
func (*RoleSpec_VirtualMeshScope) Reset ¶
func (x *RoleSpec_VirtualMeshScope) Reset()
func (*RoleSpec_VirtualMeshScope) String ¶
func (x *RoleSpec_VirtualMeshScope) String() string
type RoleSpec_VirtualMeshScope_VirtualMeshActions ¶
type RoleSpec_VirtualMeshScope_VirtualMeshActions int32
Enums representing fields on the VirtualMesh CRD.
const ( RoleSpec_VirtualMeshScope_UNKNOWN_VIRTUAL_MESH_ACTION RoleSpec_VirtualMeshScope_VirtualMeshActions = 0 RoleSpec_VirtualMeshScope_ALL RoleSpec_VirtualMeshScope_VirtualMeshActions = 1 RoleSpec_VirtualMeshScope_MTLS_CONFIG RoleSpec_VirtualMeshScope_VirtualMeshActions = 2 RoleSpec_VirtualMeshScope_FEDERATION RoleSpec_VirtualMeshScope_VirtualMeshActions = 3 RoleSpec_VirtualMeshScope_GLOBAL_ACCESS_POLICY RoleSpec_VirtualMeshScope_VirtualMeshActions = 4 )
func (RoleSpec_VirtualMeshScope_VirtualMeshActions) Descriptor ¶
func (RoleSpec_VirtualMeshScope_VirtualMeshActions) Descriptor() protoreflect.EnumDescriptor
func (RoleSpec_VirtualMeshScope_VirtualMeshActions) EnumDescriptor
deprecated
func (RoleSpec_VirtualMeshScope_VirtualMeshActions) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoleSpec_VirtualMeshScope_VirtualMeshActions.Descriptor instead.
func (RoleSpec_VirtualMeshScope_VirtualMeshActions) Number ¶
func (x RoleSpec_VirtualMeshScope_VirtualMeshActions) Number() protoreflect.EnumNumber
func (RoleSpec_VirtualMeshScope_VirtualMeshActions) String ¶
func (x RoleSpec_VirtualMeshScope_VirtualMeshActions) String() string
func (RoleSpec_VirtualMeshScope_VirtualMeshActions) Type ¶
func (RoleSpec_VirtualMeshScope_VirtualMeshActions) Type() protoreflect.EnumType
type RoleSpec_WasmDeploymentScope ¶
type RoleSpec_WasmDeploymentScope struct { // A list of permitted workload selectors. WorkloadSelectors []*v1alpha2.WorkloadSelector `protobuf:"bytes,1,rep,name=workload_selectors,json=workloadSelectors,proto3" json:"workload_selectors,omitempty"` // contains filtered or unexported fields }
Represents permissions for configuring WasmDeployments.
func (*RoleSpec_WasmDeploymentScope) Descriptor
deprecated
func (*RoleSpec_WasmDeploymentScope) Descriptor() ([]byte, []int)
Deprecated: Use RoleSpec_WasmDeploymentScope.ProtoReflect.Descriptor instead.
func (*RoleSpec_WasmDeploymentScope) GetWorkloadSelectors ¶
func (x *RoleSpec_WasmDeploymentScope) GetWorkloadSelectors() []*v1alpha2.WorkloadSelector
func (*RoleSpec_WasmDeploymentScope) ProtoMessage ¶
func (*RoleSpec_WasmDeploymentScope) ProtoMessage()
func (*RoleSpec_WasmDeploymentScope) ProtoReflect ¶
func (x *RoleSpec_WasmDeploymentScope) ProtoReflect() protoreflect.Message
func (*RoleSpec_WasmDeploymentScope) Reset ¶
func (x *RoleSpec_WasmDeploymentScope) Reset()
func (*RoleSpec_WasmDeploymentScope) String ¶
func (x *RoleSpec_WasmDeploymentScope) String() string
type RoleStatus ¶
type RoleStatus struct { ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // contains filtered or unexported fields }
func (*RoleStatus) DeepCopyInto ¶
func (in *RoleStatus) DeepCopyInto(out *RoleStatus)
DeepCopyInto for the Role.Status
func (*RoleStatus) Descriptor
deprecated
func (*RoleStatus) Descriptor() ([]byte, []int)
Deprecated: Use RoleStatus.ProtoReflect.Descriptor instead.
func (*RoleStatus) GetObservedGeneration ¶
func (x *RoleStatus) GetObservedGeneration() int64
func (*RoleStatus) MarshalJSON ¶
func (this *RoleStatus) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for RoleStatus
func (*RoleStatus) ProtoMessage ¶
func (*RoleStatus) ProtoMessage()
func (*RoleStatus) ProtoReflect ¶
func (x *RoleStatus) ProtoReflect() protoreflect.Message
func (*RoleStatus) Reset ¶
func (x *RoleStatus) Reset()
func (*RoleStatus) String ¶
func (x *RoleStatus) String() string
func (*RoleStatus) UnmarshalJSON ¶
func (this *RoleStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for RoleStatus
type RoleStatusWriter ¶
type RoleStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given Role object. UpdateRoleStatus(ctx context.Context, obj *Role, opts ...client.UpdateOption) error // Patch patches the given Role object's subresource. PatchRoleStatus(ctx context.Context, obj *Role, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a Role object.
type RoleTransitionFunction ¶
RoleTransitionFunction instructs the RoleWriter how to transition between an existing Role object and a desired on an Upsert
type RoleWriter ¶
type RoleWriter interface { // Create saves the Role object. CreateRole(ctx context.Context, obj *Role, opts ...client.CreateOption) error // Delete deletes the Role object. DeleteRole(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given Role object. UpdateRole(ctx context.Context, obj *Role, opts ...client.UpdateOption) error // Patch patches the given Role object. PatchRole(ctx context.Context, obj *Role, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all Role objects matching the given options. DeleteAllOfRole(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the Role object. UpsertRole(ctx context.Context, obj *Role, transitionFuncs ...RoleTransitionFunction) error }
Writer knows how to create, delete, and update Roles.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers
|
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers |
mocks
Package mock_controller is a generated GoMock package.
|
Package mock_controller is a generated GoMock package. |
Package mock_v1alpha1 is a generated GoMock package.
|
Package mock_v1alpha1 is a generated GoMock package. |
mocks
Package mock_v1alpha1sets is a generated GoMock package.
|
Package mock_v1alpha1sets is a generated GoMock package. |