v1

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 15 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=authz.tkestack.io

Index

Constants

View Source
const GroupName = "authz.tkestack.io"

GroupName is the group name use in this package.

View Source
const Version = "v1"

Version is the version name use in this package.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SchemeBuilder collects functions that add things to a scheme.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme applies all the stored functions to the scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects.

Functions

func Convert_authz_ConfigMapList_To_v1_ConfigMapList

func Convert_authz_ConfigMapList_To_v1_ConfigMapList(in *authz.ConfigMapList, out *ConfigMapList, s conversion.Scope) error

Convert_authz_ConfigMapList_To_v1_ConfigMapList is an autogenerated conversion function.

func Convert_authz_ConfigMap_To_v1_ConfigMap

func Convert_authz_ConfigMap_To_v1_ConfigMap(in *authz.ConfigMap, out *ConfigMap, s conversion.Scope) error

Convert_authz_ConfigMap_To_v1_ConfigMap is an autogenerated conversion function.

func Convert_authz_MultiClusterRoleBindingList_To_v1_MultiClusterRoleBindingList

func Convert_authz_MultiClusterRoleBindingList_To_v1_MultiClusterRoleBindingList(in *authz.MultiClusterRoleBindingList, out *MultiClusterRoleBindingList, s conversion.Scope) error

Convert_authz_MultiClusterRoleBindingList_To_v1_MultiClusterRoleBindingList is an autogenerated conversion function.

func Convert_authz_MultiClusterRoleBindingSpec_To_v1_MultiClusterRoleBindingSpec

func Convert_authz_MultiClusterRoleBindingSpec_To_v1_MultiClusterRoleBindingSpec(in *authz.MultiClusterRoleBindingSpec, out *MultiClusterRoleBindingSpec, s conversion.Scope) error

Convert_authz_MultiClusterRoleBindingSpec_To_v1_MultiClusterRoleBindingSpec is an autogenerated conversion function.

func Convert_authz_MultiClusterRoleBindingStatus_To_v1_MultiClusterRoleBindingStatus

func Convert_authz_MultiClusterRoleBindingStatus_To_v1_MultiClusterRoleBindingStatus(in *authz.MultiClusterRoleBindingStatus, out *MultiClusterRoleBindingStatus, s conversion.Scope) error

Convert_authz_MultiClusterRoleBindingStatus_To_v1_MultiClusterRoleBindingStatus is an autogenerated conversion function.

func Convert_authz_MultiClusterRoleBinding_To_v1_MultiClusterRoleBinding

func Convert_authz_MultiClusterRoleBinding_To_v1_MultiClusterRoleBinding(in *authz.MultiClusterRoleBinding, out *MultiClusterRoleBinding, s conversion.Scope) error

Convert_authz_MultiClusterRoleBinding_To_v1_MultiClusterRoleBinding is an autogenerated conversion function.

func Convert_authz_PolicyList_To_v1_PolicyList

func Convert_authz_PolicyList_To_v1_PolicyList(in *authz.PolicyList, out *PolicyList, s conversion.Scope) error

Convert_authz_PolicyList_To_v1_PolicyList is an autogenerated conversion function.

func Convert_authz_Policy_To_v1_Policy

func Convert_authz_Policy_To_v1_Policy(in *authz.Policy, out *Policy, s conversion.Scope) error

Convert_authz_Policy_To_v1_Policy is an autogenerated conversion function.

func Convert_authz_RoleList_To_v1_RoleList

func Convert_authz_RoleList_To_v1_RoleList(in *authz.RoleList, out *RoleList, s conversion.Scope) error

Convert_authz_RoleList_To_v1_RoleList is an autogenerated conversion function.

func Convert_authz_Role_To_v1_Role

func Convert_authz_Role_To_v1_Role(in *authz.Role, out *Role, s conversion.Scope) error

Convert_authz_Role_To_v1_Role is an autogenerated conversion function.

func Convert_v1_ConfigMapList_To_authz_ConfigMapList

func Convert_v1_ConfigMapList_To_authz_ConfigMapList(in *ConfigMapList, out *authz.ConfigMapList, s conversion.Scope) error

Convert_v1_ConfigMapList_To_authz_ConfigMapList is an autogenerated conversion function.

func Convert_v1_ConfigMap_To_authz_ConfigMap

func Convert_v1_ConfigMap_To_authz_ConfigMap(in *ConfigMap, out *authz.ConfigMap, s conversion.Scope) error

Convert_v1_ConfigMap_To_authz_ConfigMap is an autogenerated conversion function.

func Convert_v1_MultiClusterRoleBindingList_To_authz_MultiClusterRoleBindingList

func Convert_v1_MultiClusterRoleBindingList_To_authz_MultiClusterRoleBindingList(in *MultiClusterRoleBindingList, out *authz.MultiClusterRoleBindingList, s conversion.Scope) error

Convert_v1_MultiClusterRoleBindingList_To_authz_MultiClusterRoleBindingList is an autogenerated conversion function.

func Convert_v1_MultiClusterRoleBindingSpec_To_authz_MultiClusterRoleBindingSpec

func Convert_v1_MultiClusterRoleBindingSpec_To_authz_MultiClusterRoleBindingSpec(in *MultiClusterRoleBindingSpec, out *authz.MultiClusterRoleBindingSpec, s conversion.Scope) error

Convert_v1_MultiClusterRoleBindingSpec_To_authz_MultiClusterRoleBindingSpec is an autogenerated conversion function.

func Convert_v1_MultiClusterRoleBindingStatus_To_authz_MultiClusterRoleBindingStatus

func Convert_v1_MultiClusterRoleBindingStatus_To_authz_MultiClusterRoleBindingStatus(in *MultiClusterRoleBindingStatus, out *authz.MultiClusterRoleBindingStatus, s conversion.Scope) error

Convert_v1_MultiClusterRoleBindingStatus_To_authz_MultiClusterRoleBindingStatus is an autogenerated conversion function.

func Convert_v1_MultiClusterRoleBinding_To_authz_MultiClusterRoleBinding

func Convert_v1_MultiClusterRoleBinding_To_authz_MultiClusterRoleBinding(in *MultiClusterRoleBinding, out *authz.MultiClusterRoleBinding, s conversion.Scope) error

Convert_v1_MultiClusterRoleBinding_To_authz_MultiClusterRoleBinding is an autogenerated conversion function.

func Convert_v1_PolicyList_To_authz_PolicyList

func Convert_v1_PolicyList_To_authz_PolicyList(in *PolicyList, out *authz.PolicyList, s conversion.Scope) error

Convert_v1_PolicyList_To_authz_PolicyList is an autogenerated conversion function.

func Convert_v1_Policy_To_authz_Policy

func Convert_v1_Policy_To_authz_Policy(in *Policy, out *authz.Policy, s conversion.Scope) error

Convert_v1_Policy_To_authz_Policy is an autogenerated conversion function.

func Convert_v1_RoleList_To_authz_RoleList

func Convert_v1_RoleList_To_authz_RoleList(in *RoleList, out *authz.RoleList, s conversion.Scope) error

Convert_v1_RoleList_To_authz_RoleList is an autogenerated conversion function.

func Convert_v1_Role_To_authz_Role

func Convert_v1_Role_To_authz_Role(in *Role, out *authz.Role, s conversion.Scope) error

Convert_v1_Role_To_authz_Role is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type BindingPhase

type BindingPhase string
const (
	BindingActive      BindingPhase = "Active"
	BindingTerminating BindingPhase = "Terminating"
)

type ConfigMap

type ConfigMap struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Data contains the configuration data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// Values with non-UTF-8 byte sequences must use the BinaryData field.
	// The keys stored in Data must not overlap with the keys in
	// the BinaryData field, this is enforced during validation process.
	// +optional
	Data map[string]string `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`

	// BinaryData contains the binary data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// BinaryData can contain byte sequences that are not in the UTF-8 range.
	// The keys stored in BinaryData must not overlap with the ones in
	// the Data field, this is enforced during validation process.
	// +optional
	BinaryData map[string][]byte `json:"binaryData,omitempty" protobuf:"bytes,3,rep,name=binaryData"`
}

ConfigMap holds configuration data for tke to consume.

func (*ConfigMap) DeepCopy

func (in *ConfigMap) DeepCopy() *ConfigMap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap.

func (*ConfigMap) DeepCopyInto

func (in *ConfigMap) DeepCopyInto(out *ConfigMap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigMap) DeepCopyObject

func (in *ConfigMap) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ConfigMap) Descriptor

func (*ConfigMap) Descriptor() ([]byte, []int)

func (*ConfigMap) Marshal

func (m *ConfigMap) Marshal() (dAtA []byte, err error)

func (*ConfigMap) MarshalTo

func (m *ConfigMap) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMap) MarshalToSizedBuffer

func (m *ConfigMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMap) ProtoMessage

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) Reset

func (m *ConfigMap) Reset()

func (*ConfigMap) Size

func (m *ConfigMap) Size() (n int)

func (*ConfigMap) String

func (this *ConfigMap) String() string

func (ConfigMap) SwaggerDoc

func (ConfigMap) SwaggerDoc() map[string]string

func (*ConfigMap) Unmarshal

func (m *ConfigMap) Unmarshal(dAtA []byte) error

func (*ConfigMap) XXX_DiscardUnknown

func (m *ConfigMap) XXX_DiscardUnknown()

func (*ConfigMap) XXX_Marshal

func (m *ConfigMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMap) XXX_Merge

func (m *ConfigMap) XXX_Merge(src proto.Message)

func (*ConfigMap) XXX_Size

func (m *ConfigMap) XXX_Size() int

func (*ConfigMap) XXX_Unmarshal

func (m *ConfigMap) XXX_Unmarshal(b []byte) error

type ConfigMapList

type ConfigMapList struct {
	metav1.TypeMeta `json:",inline"`

	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of ConfigMaps.
	Items []ConfigMap `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ConfigMapList is a resource containing a list of ConfigMap objects.

func (*ConfigMapList) DeepCopy

func (in *ConfigMapList) DeepCopy() *ConfigMapList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList.

func (*ConfigMapList) DeepCopyInto

func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigMapList) DeepCopyObject

func (in *ConfigMapList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ConfigMapList) Descriptor

func (*ConfigMapList) Descriptor() ([]byte, []int)

func (*ConfigMapList) Marshal

func (m *ConfigMapList) Marshal() (dAtA []byte, err error)

func (*ConfigMapList) MarshalTo

func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapList) MarshalToSizedBuffer

func (m *ConfigMapList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapList) ProtoMessage

func (*ConfigMapList) ProtoMessage()

func (*ConfigMapList) Reset

func (m *ConfigMapList) Reset()

func (*ConfigMapList) Size

func (m *ConfigMapList) Size() (n int)

func (*ConfigMapList) String

func (this *ConfigMapList) String() string

func (ConfigMapList) SwaggerDoc

func (ConfigMapList) SwaggerDoc() map[string]string

func (*ConfigMapList) Unmarshal

func (m *ConfigMapList) Unmarshal(dAtA []byte) error

func (*ConfigMapList) XXX_DiscardUnknown

func (m *ConfigMapList) XXX_DiscardUnknown()

func (*ConfigMapList) XXX_Marshal

func (m *ConfigMapList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapList) XXX_Merge

func (m *ConfigMapList) XXX_Merge(src proto.Message)

func (*ConfigMapList) XXX_Size

func (m *ConfigMapList) XXX_Size() int

func (*ConfigMapList) XXX_Unmarshal

func (m *ConfigMapList) XXX_Unmarshal(b []byte) error

type FinalizerName

type FinalizerName string
const (
	PolicyFinalize                  FinalizerName = "policy"
	RoleFinalize                    FinalizerName = "role"
	MultiClusterRoleBindingFinalize FinalizerName = "rolebinding"
)

type MultiClusterRoleBinding

type MultiClusterRoleBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              MultiClusterRoleBindingSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            MultiClusterRoleBindingStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

func (*MultiClusterRoleBinding) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterRoleBinding.

func (*MultiClusterRoleBinding) DeepCopyInto

func (in *MultiClusterRoleBinding) DeepCopyInto(out *MultiClusterRoleBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MultiClusterRoleBinding) DeepCopyObject

func (in *MultiClusterRoleBinding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MultiClusterRoleBinding) Descriptor

func (*MultiClusterRoleBinding) Descriptor() ([]byte, []int)

func (*MultiClusterRoleBinding) Marshal

func (m *MultiClusterRoleBinding) Marshal() (dAtA []byte, err error)

func (*MultiClusterRoleBinding) MarshalTo

func (m *MultiClusterRoleBinding) MarshalTo(dAtA []byte) (int, error)

func (*MultiClusterRoleBinding) MarshalToSizedBuffer

func (m *MultiClusterRoleBinding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiClusterRoleBinding) ProtoMessage

func (*MultiClusterRoleBinding) ProtoMessage()

func (*MultiClusterRoleBinding) Reset

func (m *MultiClusterRoleBinding) Reset()

func (*MultiClusterRoleBinding) Size

func (m *MultiClusterRoleBinding) Size() (n int)

func (*MultiClusterRoleBinding) String

func (this *MultiClusterRoleBinding) String() string

func (*MultiClusterRoleBinding) Unmarshal

func (m *MultiClusterRoleBinding) Unmarshal(dAtA []byte) error

func (*MultiClusterRoleBinding) XXX_DiscardUnknown

func (m *MultiClusterRoleBinding) XXX_DiscardUnknown()

func (*MultiClusterRoleBinding) XXX_Marshal

func (m *MultiClusterRoleBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiClusterRoleBinding) XXX_Merge

func (m *MultiClusterRoleBinding) XXX_Merge(src proto.Message)

func (*MultiClusterRoleBinding) XXX_Size

func (m *MultiClusterRoleBinding) XXX_Size() int

func (*MultiClusterRoleBinding) XXX_Unmarshal

func (m *MultiClusterRoleBinding) XXX_Unmarshal(b []byte) error

type MultiClusterRoleBindingList

type MultiClusterRoleBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// List of rules.
	Items []MultiClusterRoleBinding `json:"items" protobuf:"bytes,2,rep,name=items"`
}

func (*MultiClusterRoleBindingList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterRoleBindingList.

func (*MultiClusterRoleBindingList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MultiClusterRoleBindingList) DeepCopyObject

func (in *MultiClusterRoleBindingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MultiClusterRoleBindingList) Descriptor

func (*MultiClusterRoleBindingList) Descriptor() ([]byte, []int)

func (*MultiClusterRoleBindingList) Marshal

func (m *MultiClusterRoleBindingList) Marshal() (dAtA []byte, err error)

func (*MultiClusterRoleBindingList) MarshalTo

func (m *MultiClusterRoleBindingList) MarshalTo(dAtA []byte) (int, error)

func (*MultiClusterRoleBindingList) MarshalToSizedBuffer

func (m *MultiClusterRoleBindingList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiClusterRoleBindingList) ProtoMessage

func (*MultiClusterRoleBindingList) ProtoMessage()

func (*MultiClusterRoleBindingList) Reset

func (m *MultiClusterRoleBindingList) Reset()

func (*MultiClusterRoleBindingList) Size

func (m *MultiClusterRoleBindingList) Size() (n int)

func (*MultiClusterRoleBindingList) String

func (this *MultiClusterRoleBindingList) String() string

func (MultiClusterRoleBindingList) SwaggerDoc

func (MultiClusterRoleBindingList) SwaggerDoc() map[string]string

func (*MultiClusterRoleBindingList) Unmarshal

func (m *MultiClusterRoleBindingList) Unmarshal(dAtA []byte) error

func (*MultiClusterRoleBindingList) XXX_DiscardUnknown

func (m *MultiClusterRoleBindingList) XXX_DiscardUnknown()

func (*MultiClusterRoleBindingList) XXX_Marshal

func (m *MultiClusterRoleBindingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiClusterRoleBindingList) XXX_Merge

func (m *MultiClusterRoleBindingList) XXX_Merge(src proto.Message)

func (*MultiClusterRoleBindingList) XXX_Size

func (m *MultiClusterRoleBindingList) XXX_Size() int

func (*MultiClusterRoleBindingList) XXX_Unmarshal

func (m *MultiClusterRoleBindingList) XXX_Unmarshal(b []byte) error

type MultiClusterRoleBindingSpec

type MultiClusterRoleBindingSpec struct {
	TenantID string   `json:"tenantID" protobuf:"bytes,1,name=tenantID"`
	Username string   `json:"username" protobuf:"bytes,2,name=username"`
	RoleName string   `json:"roleName" protobuf:"bytes,3,name=roleName"`
	Clusters []string `json:"clusters" protobuf:"bytes,4,rep,name=clusters"`
}

func (*MultiClusterRoleBindingSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterRoleBindingSpec.

func (*MultiClusterRoleBindingSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MultiClusterRoleBindingSpec) Descriptor

func (*MultiClusterRoleBindingSpec) Descriptor() ([]byte, []int)

func (*MultiClusterRoleBindingSpec) Marshal

func (m *MultiClusterRoleBindingSpec) Marshal() (dAtA []byte, err error)

func (*MultiClusterRoleBindingSpec) MarshalTo

func (m *MultiClusterRoleBindingSpec) MarshalTo(dAtA []byte) (int, error)

func (*MultiClusterRoleBindingSpec) MarshalToSizedBuffer

func (m *MultiClusterRoleBindingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiClusterRoleBindingSpec) ProtoMessage

func (*MultiClusterRoleBindingSpec) ProtoMessage()

func (*MultiClusterRoleBindingSpec) Reset

func (m *MultiClusterRoleBindingSpec) Reset()

func (*MultiClusterRoleBindingSpec) Size

func (m *MultiClusterRoleBindingSpec) Size() (n int)

func (*MultiClusterRoleBindingSpec) String

func (this *MultiClusterRoleBindingSpec) String() string

func (*MultiClusterRoleBindingSpec) Unmarshal

func (m *MultiClusterRoleBindingSpec) Unmarshal(dAtA []byte) error

func (*MultiClusterRoleBindingSpec) XXX_DiscardUnknown

func (m *MultiClusterRoleBindingSpec) XXX_DiscardUnknown()

func (*MultiClusterRoleBindingSpec) XXX_Marshal

func (m *MultiClusterRoleBindingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiClusterRoleBindingSpec) XXX_Merge

func (m *MultiClusterRoleBindingSpec) XXX_Merge(src proto.Message)

func (*MultiClusterRoleBindingSpec) XXX_Size

func (m *MultiClusterRoleBindingSpec) XXX_Size() int

func (*MultiClusterRoleBindingSpec) XXX_Unmarshal

func (m *MultiClusterRoleBindingSpec) XXX_Unmarshal(b []byte) error

type MultiClusterRoleBindingStatus

type MultiClusterRoleBindingStatus struct {
	// +optional
	Phase BindingPhase `json:"phase" protobuf:"bytes,1,opt,name=phase"`
}

func (*MultiClusterRoleBindingStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterRoleBindingStatus.

func (*MultiClusterRoleBindingStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MultiClusterRoleBindingStatus) Descriptor

func (*MultiClusterRoleBindingStatus) Descriptor() ([]byte, []int)

func (*MultiClusterRoleBindingStatus) Marshal

func (m *MultiClusterRoleBindingStatus) Marshal() (dAtA []byte, err error)

func (*MultiClusterRoleBindingStatus) MarshalTo

func (m *MultiClusterRoleBindingStatus) MarshalTo(dAtA []byte) (int, error)

func (*MultiClusterRoleBindingStatus) MarshalToSizedBuffer

func (m *MultiClusterRoleBindingStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiClusterRoleBindingStatus) ProtoMessage

func (*MultiClusterRoleBindingStatus) ProtoMessage()

func (*MultiClusterRoleBindingStatus) Reset

func (m *MultiClusterRoleBindingStatus) Reset()

func (*MultiClusterRoleBindingStatus) Size

func (m *MultiClusterRoleBindingStatus) Size() (n int)

func (*MultiClusterRoleBindingStatus) String

func (this *MultiClusterRoleBindingStatus) String() string

func (*MultiClusterRoleBindingStatus) Unmarshal

func (m *MultiClusterRoleBindingStatus) Unmarshal(dAtA []byte) error

func (*MultiClusterRoleBindingStatus) XXX_DiscardUnknown

func (m *MultiClusterRoleBindingStatus) XXX_DiscardUnknown()

func (*MultiClusterRoleBindingStatus) XXX_Marshal

func (m *MultiClusterRoleBindingStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiClusterRoleBindingStatus) XXX_Merge

func (m *MultiClusterRoleBindingStatus) XXX_Merge(src proto.Message)

func (*MultiClusterRoleBindingStatus) XXX_Size

func (m *MultiClusterRoleBindingStatus) XXX_Size() int

func (*MultiClusterRoleBindingStatus) XXX_Unmarshal

func (m *MultiClusterRoleBindingStatus) XXX_Unmarshal(b []byte) error

type Policy

type Policy struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	DisplayName string `json:"displayName" protobuf:"bytes,2,opt,name=displayName"`
	// +optional
	TenantID string `json:"tenantID" protobuf:"bytes,3,opt,name=tenantID"`
	// +optional
	Username string `json:"username" protobuf:"bytes,4,opt,name=username"`
	// +optional
	Description string              `json:"description" protobuf:"bytes,5,opt,name=description"`
	Scope       Scope               `json:"scope" protobuf:"bytes,6,opt,name=scope"`
	Rules       []rbacv1.PolicyRule `json:"rules" protobuf:"bytes,7,rep,name=rules"`
}

Policy is a rbac template in TKE.

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Policy) DeepCopyObject

func (in *Policy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Policy) Descriptor

func (*Policy) Descriptor() ([]byte, []int)

func (*Policy) Marshal

func (m *Policy) Marshal() (dAtA []byte, err error)

func (*Policy) MarshalTo

func (m *Policy) MarshalTo(dAtA []byte) (int, error)

func (*Policy) MarshalToSizedBuffer

func (m *Policy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) Reset

func (m *Policy) Reset()

func (*Policy) Size

func (m *Policy) Size() (n int)

func (*Policy) String

func (this *Policy) String() string

func (Policy) SwaggerDoc

func (Policy) SwaggerDoc() map[string]string

func (*Policy) Unmarshal

func (m *Policy) Unmarshal(dAtA []byte) error

func (*Policy) XXX_DiscardUnknown

func (m *Policy) XXX_DiscardUnknown()

func (*Policy) XXX_Marshal

func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Policy) XXX_Merge

func (m *Policy) XXX_Merge(src proto.Message)

func (*Policy) XXX_Size

func (m *Policy) XXX_Size() int

func (*Policy) XXX_Unmarshal

func (m *Policy) XXX_Unmarshal(b []byte) error

type PolicyList

type PolicyList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of policies
	Items []Policy `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PolicyList is the whole list of all rbac templates.

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PolicyList) DeepCopyObject

func (in *PolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PolicyList) Descriptor

func (*PolicyList) Descriptor() ([]byte, []int)

func (*PolicyList) Marshal

func (m *PolicyList) Marshal() (dAtA []byte, err error)

func (*PolicyList) MarshalTo

func (m *PolicyList) MarshalTo(dAtA []byte) (int, error)

func (*PolicyList) MarshalToSizedBuffer

func (m *PolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PolicyList) ProtoMessage

func (*PolicyList) ProtoMessage()

func (*PolicyList) Reset

func (m *PolicyList) Reset()

func (*PolicyList) Size

func (m *PolicyList) Size() (n int)

func (*PolicyList) String

func (this *PolicyList) String() string

func (PolicyList) SwaggerDoc

func (PolicyList) SwaggerDoc() map[string]string

func (*PolicyList) Unmarshal

func (m *PolicyList) Unmarshal(dAtA []byte) error

func (*PolicyList) XXX_DiscardUnknown

func (m *PolicyList) XXX_DiscardUnknown()

func (*PolicyList) XXX_Marshal

func (m *PolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PolicyList) XXX_Merge

func (m *PolicyList) XXX_Merge(src proto.Message)

func (*PolicyList) XXX_Size

func (m *PolicyList) XXX_Size() int

func (*PolicyList) XXX_Unmarshal

func (m *PolicyList) XXX_Unmarshal(b []byte) error

type Role

type Role struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	DisplayName string `json:"displayName" protobuf:"bytes,2,opt,name=displayName"`
	// +optional
	TenantID string `json:"tenantID" protobuf:"bytes,3,opt,name=tenantID"`
	// +optional
	Username string `json:"username" protobuf:"bytes,4,opt,name=username"`
	// +optional
	Description string   `json:"description" protobuf:"bytes,5,opt,name=description"`
	Scope       Scope    `json:"scope" protobuf:"bytes,6,opt,name=scope"`
	Policies    []string `json:"policies" protobuf:"bytes,7,rep,name=policies"`
}

Role is a collection with multiple policies.

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Role) DeepCopyObject

func (in *Role) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Role) Descriptor

func (*Role) Descriptor() ([]byte, []int)

func (*Role) Marshal

func (m *Role) Marshal() (dAtA []byte, err error)

func (*Role) MarshalTo

func (m *Role) MarshalTo(dAtA []byte) (int, error)

func (*Role) MarshalToSizedBuffer

func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) Reset

func (m *Role) Reset()

func (*Role) Size

func (m *Role) Size() (n int)

func (*Role) String

func (this *Role) String() string

func (Role) SwaggerDoc

func (Role) SwaggerDoc() map[string]string

func (*Role) Unmarshal

func (m *Role) Unmarshal(dAtA []byte) error

func (*Role) XXX_DiscardUnknown

func (m *Role) XXX_DiscardUnknown()

func (*Role) XXX_Marshal

func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Role) XXX_Merge

func (m *Role) XXX_Merge(src proto.Message)

func (*Role) XXX_Size

func (m *Role) XXX_Size() int

func (*Role) XXX_Unmarshal

func (m *Role) XXX_Unmarshal(b []byte) error

type RoleList

type RoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// List of rules.
	Items []Role `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RoleList is the whole list of policy.

func (*RoleList) DeepCopy

func (in *RoleList) DeepCopy() *RoleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RoleList) DeepCopyObject

func (in *RoleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RoleList) Descriptor

func (*RoleList) Descriptor() ([]byte, []int)

func (*RoleList) Marshal

func (m *RoleList) Marshal() (dAtA []byte, err error)

func (*RoleList) MarshalTo

func (m *RoleList) MarshalTo(dAtA []byte) (int, error)

func (*RoleList) MarshalToSizedBuffer

func (m *RoleList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleList) ProtoMessage

func (*RoleList) ProtoMessage()

func (*RoleList) Reset

func (m *RoleList) Reset()

func (*RoleList) Size

func (m *RoleList) Size() (n int)

func (*RoleList) String

func (this *RoleList) String() string

func (RoleList) SwaggerDoc

func (RoleList) SwaggerDoc() map[string]string

func (*RoleList) Unmarshal

func (m *RoleList) Unmarshal(dAtA []byte) error

func (*RoleList) XXX_DiscardUnknown

func (m *RoleList) XXX_DiscardUnknown()

func (*RoleList) XXX_Marshal

func (m *RoleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleList) XXX_Merge

func (m *RoleList) XXX_Merge(src proto.Message)

func (*RoleList) XXX_Size

func (m *RoleList) XXX_Size() int

func (*RoleList) XXX_Unmarshal

func (m *RoleList) XXX_Unmarshal(b []byte) error

type Scope

type Scope string
const (
	PlatformScope     Scope = "Platform"
	MultiClusterScope Scope = "MultiCluster"
	BusinessScope     Scope = "Business"
)

Jump to

Keyboard shortcuts

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