Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the ibmcloud v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ibmcloud.ibm.com
Package v1alpha1 contains API Schema definitions for the ibmcloud v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ibmcloud.ibm.com
Index ¶
- Variables
- type AccessGroup
- type AccessGroupDef
- type AccessGroupList
- type AccessGroupSpec
- type AccessGroupStatus
- type AccessPolicy
- type AccessPolicyList
- type AccessPolicySpec
- type AccessPolicyStatus
- type AuthorizationPolicy
- type AuthorizationPolicyList
- type AuthorizationPolicySpec
- type AuthorizationPolicyStatus
- type CustomRole
- type CustomRoleList
- type CustomRoleSpec
- type CustomRoleStatus
- type CustomRolesDef
- type Info
- type Roles
- type Subject
- type Target
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "ibmcloud.ibm.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type AccessGroup ¶
type AccessGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccessGroupSpec `json:"spec,omitempty"` Status AccessGroupStatus `json:"status,omitempty"` }
AccessGroup is the Schema for the accessgroup API +kubebuilder:resource:path=accessgroups,scope=Namespaced +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status
func (*AccessGroup) DeepCopy ¶
func (in *AccessGroup) DeepCopy() *AccessGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessGroup.
func (*AccessGroup) DeepCopyInto ¶
func (in *AccessGroup) DeepCopyInto(out *AccessGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessGroup) DeepCopyObject ¶
func (in *AccessGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessGroup) GetStatus ¶
func (s *AccessGroup) GetStatus() resv1.Status
GetStatus returns the access group status
type AccessGroupDef ¶
type AccessGroupDef struct { AccessGroupName string `json:"accessGroupName"` AccessGroupNamespace string `json:"accessGroupNamespace"` }
func (*AccessGroupDef) DeepCopy ¶
func (in *AccessGroupDef) DeepCopy() *AccessGroupDef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessGroupDef.
func (*AccessGroupDef) DeepCopyInto ¶
func (in *AccessGroupDef) DeepCopyInto(out *AccessGroupDef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessGroupList ¶
type AccessGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AccessGroup `json:"items"` }
AccessGroupList contains a list of AccessGroup
func (*AccessGroupList) DeepCopy ¶
func (in *AccessGroupList) DeepCopy() *AccessGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessGroupList.
func (*AccessGroupList) DeepCopyInto ¶
func (in *AccessGroupList) DeepCopyInto(out *AccessGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessGroupList) DeepCopyObject ¶
func (in *AccessGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessGroupSpec ¶
type AccessGroupSpec struct { Name string `json:"name"` Description string `json:"description"` UserEmails []string `json:"userEmails,omitempty"` ServiceIDs []string `json:"serviceIDs,omitempty"` }
AccessGroupSpec defines the desired state of AccessGroup
func (*AccessGroupSpec) DeepCopy ¶
func (in *AccessGroupSpec) DeepCopy() *AccessGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessGroupSpec.
func (*AccessGroupSpec) DeepCopyInto ¶
func (in *AccessGroupSpec) DeepCopyInto(out *AccessGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessGroupStatus ¶
type AccessGroupStatus struct { resv1.ResourceStatus `json:",inline"` GroupID string `json:"GroupID,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` UserEmails []string `json:"userEmails,omitempty"` ServiceIDs []string `json:"serviceIDs,omitempty"` }
AccessGroupStatus defines the observed state of AccessGroup
func (*AccessGroupStatus) DeepCopy ¶
func (in *AccessGroupStatus) DeepCopy() *AccessGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessGroupStatus.
func (*AccessGroupStatus) DeepCopyInto ¶
func (in *AccessGroupStatus) DeepCopyInto(out *AccessGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessPolicy ¶
type AccessPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccessPolicySpec `json:"spec,omitempty"` Status AccessPolicyStatus `json:"status,omitempty"` }
AccessPolicy is the Schema for the accesspolicies API +kubebuilder:resource:path=accesspolicies,scope=Namespaced +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status
func (*AccessPolicy) DeepCopy ¶
func (in *AccessPolicy) DeepCopy() *AccessPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessPolicy.
func (*AccessPolicy) DeepCopyInto ¶
func (in *AccessPolicy) DeepCopyInto(out *AccessPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessPolicy) DeepCopyObject ¶
func (in *AccessPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessPolicy) GetStatus ¶
func (s *AccessPolicy) GetStatus() resv1.Status
GetStatus returns the access policy status
type AccessPolicyList ¶
type AccessPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AccessPolicy `json:"items"` }
AccessPolicyList contains a list of AccessPolicy
func (*AccessPolicyList) DeepCopy ¶
func (in *AccessPolicyList) DeepCopy() *AccessPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessPolicyList.
func (*AccessPolicyList) DeepCopyInto ¶
func (in *AccessPolicyList) DeepCopyInto(out *AccessPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessPolicyList) DeepCopyObject ¶
func (in *AccessPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessPolicySpec ¶
type AccessPolicySpec struct { Subject Subject `json:"subject,required"` Roles Roles `json:"roles,required"` Target Target `json:"target,required"` }
AccessPolicySpec defines the desired state of AccessPolicy
func (*AccessPolicySpec) DeepCopy ¶
func (in *AccessPolicySpec) DeepCopy() *AccessPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessPolicySpec.
func (*AccessPolicySpec) DeepCopyInto ¶
func (in *AccessPolicySpec) DeepCopyInto(out *AccessPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessPolicyStatus ¶
type AccessPolicyStatus struct { resv1.ResourceStatus `json:",inline"` PolicyID string `json:"policyID,omitempty"` Subject Subject `json:"subject,omitempty"` Roles Roles `json:"roles,omitempty"` Target Target `json:"target,omitempty"` }
AccessPolicyStatus defines the observed state of AccessPolicy
func (*AccessPolicyStatus) DeepCopy ¶
func (in *AccessPolicyStatus) DeepCopy() *AccessPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessPolicyStatus.
func (*AccessPolicyStatus) DeepCopyInto ¶
func (in *AccessPolicyStatus) DeepCopyInto(out *AccessPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationPolicy ¶
type AuthorizationPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AuthorizationPolicySpec `json:"spec,omitempty"` Status AuthorizationPolicyStatus `json:"status,omitempty"` }
AuthorizationPolicy is the Schema for the authorizationpolicies API +kubebuilder:resource:path=authorizationpolicies,scope=Namespaced +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status
func (*AuthorizationPolicy) DeepCopy ¶
func (in *AuthorizationPolicy) DeepCopy() *AuthorizationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationPolicy.
func (*AuthorizationPolicy) DeepCopyInto ¶
func (in *AuthorizationPolicy) DeepCopyInto(out *AuthorizationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthorizationPolicy) DeepCopyObject ¶
func (in *AuthorizationPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AuthorizationPolicy) GetStatus ¶
func (s *AuthorizationPolicy) GetStatus() resv1.Status
GetStatus returns the authorization policy status
type AuthorizationPolicyList ¶
type AuthorizationPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AuthorizationPolicy `json:"items"` }
AuthorizationPolicyList contains a list of AuthorizationPolicy
func (*AuthorizationPolicyList) DeepCopy ¶
func (in *AuthorizationPolicyList) DeepCopy() *AuthorizationPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationPolicyList.
func (*AuthorizationPolicyList) DeepCopyInto ¶
func (in *AuthorizationPolicyList) DeepCopyInto(out *AuthorizationPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthorizationPolicyList) DeepCopyObject ¶
func (in *AuthorizationPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthorizationPolicySpec ¶
type AuthorizationPolicySpec struct { Source Info `json:"source,required"` Roles []string `json:"roles,required"` Target Info `json:"target,required"` }
AuthorizationPolicySpec defines the desired state of AuthorizationPolicy
func (*AuthorizationPolicySpec) DeepCopy ¶
func (in *AuthorizationPolicySpec) DeepCopy() *AuthorizationPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationPolicySpec.
func (*AuthorizationPolicySpec) DeepCopyInto ¶
func (in *AuthorizationPolicySpec) DeepCopyInto(out *AuthorizationPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationPolicyStatus ¶
type AuthorizationPolicyStatus struct { resv1.ResourceStatus `json:",inline"` PolicyID string `json:"policyID,omitempty"` Source Info `json:"source,omitempty"` Roles []string `json:"roles,omitempty"` Target Info `json:"target,omitempty"` }
AuthorizationPolicyStatus defines the observed state of AuthorizationPolicy
func (*AuthorizationPolicyStatus) DeepCopy ¶
func (in *AuthorizationPolicyStatus) DeepCopy() *AuthorizationPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationPolicyStatus.
func (*AuthorizationPolicyStatus) DeepCopyInto ¶
func (in *AuthorizationPolicyStatus) DeepCopyInto(out *AuthorizationPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomRole ¶
type CustomRole struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CustomRoleSpec `json:"spec,omitempty"` Status CustomRoleStatus `json:"status,omitempty"` }
CustomRole is the Schema for the customroles API +kubebuilder:resource:path=customroles,scope=Namespaced +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status
func (*CustomRole) DeepCopy ¶
func (in *CustomRole) DeepCopy() *CustomRole
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRole.
func (*CustomRole) DeepCopyInto ¶
func (in *CustomRole) DeepCopyInto(out *CustomRole)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomRole) DeepCopyObject ¶
func (in *CustomRole) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CustomRole) GetStatus ¶
func (s *CustomRole) GetStatus() resv1.Status
GetStatus returns the custom role status
type CustomRoleList ¶
type CustomRoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CustomRole `json:"items"` }
CustomRoleList contains a list of CustomRole
func (*CustomRoleList) DeepCopy ¶
func (in *CustomRoleList) DeepCopy() *CustomRoleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRoleList.
func (*CustomRoleList) DeepCopyInto ¶
func (in *CustomRoleList) DeepCopyInto(out *CustomRoleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomRoleList) DeepCopyObject ¶
func (in *CustomRoleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CustomRoleSpec ¶
type CustomRoleSpec struct { RoleName string `json:"roleName,required"` ServiceClass string `json:"serviceClass,required"` DisplayName string `json:"displayName,required"` Description string `json:"description,required"` Actions []string `json:"actions,required"` }
CustomRoleSpec defines the desired state of CustomRole
func (*CustomRoleSpec) DeepCopy ¶
func (in *CustomRoleSpec) DeepCopy() *CustomRoleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRoleSpec.
func (*CustomRoleSpec) DeepCopyInto ¶
func (in *CustomRoleSpec) DeepCopyInto(out *CustomRoleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomRoleStatus ¶
type CustomRoleStatus struct { resv1.ResourceStatus `json:",inline"` RoleID string `json:"roleID,omitempty"` RoleCRN string `json:"roleCRN,omitempty"` RoleName string `json:"roleName,omitempty"` ServiceClass string `json:"serviceClass,omitempty"` DisplayName string `json:"displayName,omitempty"` Description string `json:"description,omitempty"` Actions []string `json:"actions,omitempty"` }
CustomRoleStatus defines the observed state of CustomRole
func (*CustomRoleStatus) DeepCopy ¶
func (in *CustomRoleStatus) DeepCopy() *CustomRoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRoleStatus.
func (*CustomRoleStatus) DeepCopyInto ¶
func (in *CustomRoleStatus) DeepCopyInto(out *CustomRoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomRolesDef ¶
type CustomRolesDef struct { CustomRoleName string `json:"customRoleName"` CustomRoleNamespace string `json:"customRoleNamespace"` }
func (*CustomRolesDef) DeepCopy ¶
func (in *CustomRolesDef) DeepCopy() *CustomRolesDef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRolesDef.
func (*CustomRolesDef) DeepCopyInto ¶
func (in *CustomRolesDef) DeepCopyInto(out *CustomRolesDef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Info ¶
type Info struct { ServiceClass string `json:"serviceClass,required"` ServiceID string `json:"serviceID,omitempty"` ResourceName string `json:"resourceName,omitempty"` ResourceID string `json:"resourceID,omitempty"` ResourceKey string `json:"resourceKey,omitempty"` ResourceValue string `json:"resourceValue,omitempty"` ResourceGroup string `json:"resourceGroup,omitempty"` // mutually exclusive with ServiceID }
func (*Info) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Info.
func (*Info) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Roles ¶
type Roles struct { DefinedRoles []string `json:"definedRoles,omitempty"` CustomRolesDName []string `json:"customRolesDName,omitempty"` CustomRolesDef []CustomRolesDef `json:"customRolesDef,omitempty"` }
func (*Roles) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Roles.
func (*Roles) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subject ¶
type Subject struct { UserEmail string `json:"userEmail,omitempty"` ServiceID string `json:"serviceID,omitempty"` AccessGroupID string `json:"accessGroupID,omitempty"` AccessGroupDef AccessGroupDef `json:"accessGroupDef,omitempty"` }
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.
type Target ¶
type Target struct { ResourceGroup string `json:"resourceGroup,omitempty"` Region string `json:"region,omitempty"` ServiceClass string `json:"serviceClass,omitempty"` ServiceID string `json:"serviceID,omitempty"` ResourceName string `json:"resourceName,omitempty"` ResourceID string `json:"resourceID,omitempty"` ResourceKey string `json:"resourceKey,omitempty"` ResourceValue string `json:"resourceValue,omitempty"` }
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.