Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the kubeflow v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubeflow/kubeflow/components/profile-controller/v2/pkg/apis/kubeflow +k8s:defaulter-gen=TypeMeta +groupName=kubeflow.org
Package v1alpha1 contains API Schema definitions for the kubeflow v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubeflow/kubeflow/components/profile-controller/v2/pkg/apis/kubeflow +k8s:defaulter-gen=TypeMeta +groupName=kubeflow.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "rbac.istio.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type AccessRule ¶
type AccessRule struct { // Required. A list of service names. // Exact match, prefix match, and suffix match are supported for service names. // For example, the service name "bookstore.mtv.cluster.local" matches // "bookstore.mtv.cluster.local" (exact match), or "bookstore*" (prefix match), // or "*.mtv.cluster.local" (suffix match). // If set to ["*"], it refers to all services in the namespace. Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` }
AccessRule defines a permission to access a list of services.
func (*AccessRule) DeepCopy ¶
func (in *AccessRule) DeepCopy() *AccessRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessRule.
func (*AccessRule) DeepCopyInto ¶
func (in *AccessRule) DeepCopyInto(out *AccessRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleRef ¶
type RoleRef struct { // Required. The type of the role being referenced. // Currently, "ServiceRole" is the only supported value for "kind". Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // Required. The name of the ServiceRole object being referenced. // The ServiceRole object must be in the same namespace as the ServiceRoleBinding object. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
RoleRef refers to a role object.
func (*RoleRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef.
func (*RoleRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceRole ¶
type ServiceRole struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceRoleSpec `json:"spec,omitempty"` Status ServiceRoleStatus `json:"status,omitempty"` }
ServiceRole is the Schema for the serviceroles API +k8s:openapi-gen=true
func (*ServiceRole) DeepCopy ¶
func (in *ServiceRole) DeepCopy() *ServiceRole
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRole.
func (*ServiceRole) DeepCopyInto ¶
func (in *ServiceRole) DeepCopyInto(out *ServiceRole)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceRole) DeepCopyObject ¶
func (in *ServiceRole) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceRoleBinding ¶
type ServiceRoleBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceRoleBindingSpec `json:"spec,omitempty"` Status ServiceRoleBindingStatus `json:"status,omitempty"` }
ServiceRoleBinding is the Schema for the servicerolebindings API +k8s:openapi-gen=true
func (*ServiceRoleBinding) DeepCopy ¶
func (in *ServiceRoleBinding) DeepCopy() *ServiceRoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRoleBinding.
func (*ServiceRoleBinding) DeepCopyInto ¶
func (in *ServiceRoleBinding) DeepCopyInto(out *ServiceRoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceRoleBinding) DeepCopyObject ¶
func (in *ServiceRoleBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceRoleBindingList ¶
type ServiceRoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceRoleBinding `json:"items"` }
ServiceRoleBindingList contains a list of ServiceRoleBinding
func (*ServiceRoleBindingList) DeepCopy ¶
func (in *ServiceRoleBindingList) DeepCopy() *ServiceRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRoleBindingList.
func (*ServiceRoleBindingList) DeepCopyInto ¶
func (in *ServiceRoleBindingList) DeepCopyInto(out *ServiceRoleBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceRoleBindingList) DeepCopyObject ¶
func (in *ServiceRoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceRoleBindingSpec ¶
type ServiceRoleBindingSpec struct { // Required. List of subjects that are assigned the ServiceRole object. Subjects []*Subject `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"` // Required. Reference to the ServiceRole object. RoleRef *RoleRef `protobuf:"bytes,2,opt,name=roleRef,proto3" json:"roleRef,omitempty"` }
ServiceRoleBindingSpec defines the desired state of ServiceRoleBinding
func (*ServiceRoleBindingSpec) DeepCopy ¶
func (in *ServiceRoleBindingSpec) DeepCopy() *ServiceRoleBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRoleBindingSpec.
func (*ServiceRoleBindingSpec) DeepCopyInto ¶
func (in *ServiceRoleBindingSpec) DeepCopyInto(out *ServiceRoleBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceRoleBindingStatus ¶
type ServiceRoleBindingStatus struct { }
ServiceRoleBindingStatus defines the observed state of ServiceRoleBinding
func (*ServiceRoleBindingStatus) DeepCopy ¶
func (in *ServiceRoleBindingStatus) DeepCopy() *ServiceRoleBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRoleBindingStatus.
func (*ServiceRoleBindingStatus) DeepCopyInto ¶
func (in *ServiceRoleBindingStatus) DeepCopyInto(out *ServiceRoleBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceRoleList ¶
type ServiceRoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceRole `json:"items"` }
ServiceRoleList contains a list of ServiceRole
func (*ServiceRoleList) DeepCopy ¶
func (in *ServiceRoleList) DeepCopy() *ServiceRoleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRoleList.
func (*ServiceRoleList) DeepCopyInto ¶
func (in *ServiceRoleList) DeepCopyInto(out *ServiceRoleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceRoleList) DeepCopyObject ¶
func (in *ServiceRoleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceRoleSpec ¶
type ServiceRoleSpec struct { // Required. The set of access rules (permissions) that the role has. Rules []*AccessRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` }
ServiceRoleSpec defines the desired state of ServiceRole
func (*ServiceRoleSpec) DeepCopy ¶
func (in *ServiceRoleSpec) DeepCopy() *ServiceRoleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRoleSpec.
func (*ServiceRoleSpec) DeepCopyInto ¶
func (in *ServiceRoleSpec) DeepCopyInto(out *ServiceRoleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceRoleStatus ¶
type ServiceRoleStatus struct { }
ServiceRoleStatus defines the observed state of ServiceRole
func (*ServiceRoleStatus) DeepCopy ¶
func (in *ServiceRoleStatus) DeepCopy() *ServiceRoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRoleStatus.
func (*ServiceRoleStatus) DeepCopyInto ¶
func (in *ServiceRoleStatus) DeepCopyInto(out *ServiceRoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subject ¶
type Subject struct { // Optional. The user name/ID that the subject represents. User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Properties map[string]string `` /* 161-byte string literal not displayed */ }
Subject defines an identity. The identity is either a user or identified by a set of `properties`. The supported keys in `properties` are listed in "constraint and properties" page.
func (*Subject) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
func (*Subject) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.