Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the argocd v1beta1 API group +kubebuilder:object:generate=true +groupName=argocd.codemug.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "argocd.codemug.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type GroupMapping ¶
type GroupMapping struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GroupMappingSpec `json:"spec,omitempty"` Status GroupMappingStatus `json:"status,omitempty"` }
GroupMapping is the Schema for the groupmappings API
func (*GroupMapping) DeepCopy ¶
func (in *GroupMapping) DeepCopy() *GroupMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMapping.
func (*GroupMapping) DeepCopyInto ¶
func (in *GroupMapping) DeepCopyInto(out *GroupMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupMapping) DeepCopyObject ¶
func (in *GroupMapping) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupMappingList ¶
type GroupMappingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GroupMapping `json:"items"` }
GroupMappingList contains a list of GroupMapping
func (*GroupMappingList) DeepCopy ¶
func (in *GroupMappingList) DeepCopy() *GroupMappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMappingList.
func (*GroupMappingList) DeepCopyInto ¶
func (in *GroupMappingList) DeepCopyInto(out *GroupMappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupMappingList) DeepCopyObject ¶
func (in *GroupMappingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupMappingSpec ¶
type GroupMappingSpec struct {
Mappings []MappingSpec `json:"mappings,omitempty,omitempty"`
}
GroupMappingSpec defines the desired state of GroupMapping
func (*GroupMappingSpec) DeepCopy ¶
func (in *GroupMappingSpec) DeepCopy() *GroupMappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMappingSpec.
func (*GroupMappingSpec) DeepCopyInto ¶
func (in *GroupMappingSpec) DeepCopyInto(out *GroupMappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupMappingStatus ¶
type GroupMappingStatus struct { Status Status `json:"status,omitempty"` Details string `json:"details,omitempty"` }
GroupMappingStatus defines the observed state of GroupMapping
func (*GroupMappingStatus) DeepCopy ¶
func (in *GroupMappingStatus) DeepCopy() *GroupMappingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupMappingStatus.
func (*GroupMappingStatus) DeepCopyInto ¶
func (in *GroupMappingStatus) DeepCopyInto(out *GroupMappingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingSpec ¶
type MappingSpec struct { // The name of the group to be created GroupName string `json:"groupName,omitempty"` // The name of the role to map this group on RoleName string `json:"roleName,omitempty"` }
func (*MappingSpec) DeepCopy ¶
func (in *MappingSpec) DeepCopy() *MappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingSpec.
func (*MappingSpec) DeepCopyInto ¶
func (in *MappingSpec) DeepCopyInto(out *MappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionSpec ¶
type PermissionSpec struct { // The type of resource on which the permission is to be defined. // This can be one of (clusters, projects, applications, // repositories, certificates, or * for all) Resource string `json:"resource,omitempty"` // The actions that are being permitted on the specified resource. // This can be one of (get, create, update, delete, sync, // override, action, or * for all) Actions []string `json:"actions,omitempty"` // If the permission is to be applied to a specific instance of // the resource type, the name of that instance is specified here. // If this is not specified, the permission is applied to all // instances of the resource type // +kubebuilder:validation:Optional Instance string `json:"instance,omitempty"` }
func (*PermissionSpec) DeepCopy ¶
func (in *PermissionSpec) DeepCopy() *PermissionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionSpec.
func (*PermissionSpec) DeepCopyInto ¶
func (in *PermissionSpec) DeepCopyInto(out *PermissionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleMapping ¶
type RoleMapping struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleMappingSpec `json:"spec,omitempty"` Status RoleMappingStatus `json:"status,omitempty"` }
RoleMapping is the Schema for the rolemappings API
func (*RoleMapping) DeepCopy ¶
func (in *RoleMapping) DeepCopy() *RoleMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleMapping.
func (*RoleMapping) DeepCopyInto ¶
func (in *RoleMapping) DeepCopyInto(out *RoleMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleMapping) DeepCopyObject ¶
func (in *RoleMapping) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleMappingList ¶
type RoleMappingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RoleMapping `json:"items"` }
RoleMappingList contains a list of RoleMapping
func (*RoleMappingList) DeepCopy ¶
func (in *RoleMappingList) DeepCopy() *RoleMappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleMappingList.
func (*RoleMappingList) DeepCopyInto ¶
func (in *RoleMappingList) DeepCopyInto(out *RoleMappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleMappingList) DeepCopyObject ¶
func (in *RoleMappingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleMappingSpec ¶
type RoleMappingSpec struct { // Roles to permissions mapping specification Roles []RoleSpec `json:"roles,omitempty"` }
RoleMappingSpec defines the desired state of RoleMapping
func (*RoleMappingSpec) DeepCopy ¶
func (in *RoleMappingSpec) DeepCopy() *RoleMappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleMappingSpec.
func (*RoleMappingSpec) DeepCopyInto ¶
func (in *RoleMappingSpec) DeepCopyInto(out *RoleMappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleMappingStatus ¶
type RoleMappingStatus struct { Status Status `json:"status,omitempty"` Details string `json:"details,omitempty"` }
RoleMappingStatus defines the observed state of RoleMapping
func (*RoleMappingStatus) DeepCopy ¶
func (in *RoleMappingStatus) DeepCopy() *RoleMappingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleMappingStatus.
func (*RoleMappingStatus) DeepCopyInto ¶
func (in *RoleMappingStatus) DeepCopyInto(out *RoleMappingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleSpec ¶
type RoleSpec struct { // The name of the role Name string `json:"name,omitempty"` // +kubebuilder:validation:Optional Permissions []PermissionSpec `json:"permissions,omitempty"` }
func (*RoleSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpec.
func (*RoleSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.