Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the v1beta1 API group. +kubebuilder:object:generate=true +groupName=agent.octopus.com
Index ¶
- Variables
- type ClusterWorkloadServiceAccount
- func (in *ClusterWorkloadServiceAccount) DeepCopy() *ClusterWorkloadServiceAccount
- func (in *ClusterWorkloadServiceAccount) DeepCopyInto(out *ClusterWorkloadServiceAccount)
- func (in *ClusterWorkloadServiceAccount) DeepCopyObject() runtime.Object
- func (cwsa *ClusterWorkloadServiceAccount) GetConditions() *[]metav1.Condition
- type ClusterWorkloadServiceAccountList
- type ClusterWorkloadServiceAccountPermissions
- type ClusterWorkloadServiceAccountScope
- type ClusterWorkloadServiceAccountSpec
- type ClusterWorkloadServiceAccountStatus
- type WorkloadServiceAccount
- type WorkloadServiceAccountList
- type WorkloadServiceAccountPermissions
- type WorkloadServiceAccountScope
- type WorkloadServiceAccountSpec
- type WorkloadServiceAccountStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "agent.octopus.com", 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 ClusterWorkloadServiceAccount ¶
type ClusterWorkloadServiceAccount struct {
metav1.TypeMeta `json:",inline"`
// metadata is a standard object metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty,omitzero"`
// spec defines the desired state of ClusterWorkloadServiceAccount
// +required
Spec ClusterWorkloadServiceAccountSpec `json:"spec"`
// status defines the observed state of ClusterWorkloadServiceAccount
// +optional
Status ClusterWorkloadServiceAccountStatus `json:"status,omitempty,omitzero"`
}
ClusterWorkloadServiceAccount is the Schema for the clusterworkloadserviceaccounts API
func (*ClusterWorkloadServiceAccount) DeepCopy ¶
func (in *ClusterWorkloadServiceAccount) DeepCopy() *ClusterWorkloadServiceAccount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkloadServiceAccount.
func (*ClusterWorkloadServiceAccount) DeepCopyInto ¶
func (in *ClusterWorkloadServiceAccount) DeepCopyInto(out *ClusterWorkloadServiceAccount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterWorkloadServiceAccount) DeepCopyObject ¶
func (in *ClusterWorkloadServiceAccount) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterWorkloadServiceAccount) GetConditions ¶
func (cwsa *ClusterWorkloadServiceAccount) GetConditions() *[]metav1.Condition
type ClusterWorkloadServiceAccountList ¶
type ClusterWorkloadServiceAccountList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterWorkloadServiceAccount `json:"items"`
}
ClusterWorkloadServiceAccountList contains a list of ClusterWorkloadServiceAccount
func (*ClusterWorkloadServiceAccountList) DeepCopy ¶
func (in *ClusterWorkloadServiceAccountList) DeepCopy() *ClusterWorkloadServiceAccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkloadServiceAccountList.
func (*ClusterWorkloadServiceAccountList) DeepCopyInto ¶
func (in *ClusterWorkloadServiceAccountList) DeepCopyInto(out *ClusterWorkloadServiceAccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterWorkloadServiceAccountList) DeepCopyObject ¶
func (in *ClusterWorkloadServiceAccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterWorkloadServiceAccountPermissions ¶
type ClusterWorkloadServiceAccountPermissions struct {
// +optional
ClusterRoles []v1.RoleRef `json:"clusterRoles,omitempty"`
// Allows users to specify permissions, rather than roles
// A cluster role will be created with the specified permissions
// +optional
Permissions []v1.PolicyRule `json:"permissions,omitempty"`
}
ClusterWorkloadServiceAccountPermissions defines the permissions for the ClusterWorkloadServiceAccount.
func (*ClusterWorkloadServiceAccountPermissions) DeepCopy ¶
func (in *ClusterWorkloadServiceAccountPermissions) DeepCopy() *ClusterWorkloadServiceAccountPermissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkloadServiceAccountPermissions.
func (*ClusterWorkloadServiceAccountPermissions) DeepCopyInto ¶
func (in *ClusterWorkloadServiceAccountPermissions) DeepCopyInto(out *ClusterWorkloadServiceAccountPermissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterWorkloadServiceAccountScope ¶
type ClusterWorkloadServiceAccountScope = WorkloadServiceAccountScope
ClusterWorkloadServiceAccountScope is an alias for WorkloadServiceAccountScope, in case we need to extend it in the future
type ClusterWorkloadServiceAccountSpec ¶
type ClusterWorkloadServiceAccountSpec struct {
// +required
Scope ClusterWorkloadServiceAccountScope `json:"scope"`
// +required
Permissions ClusterWorkloadServiceAccountPermissions `json:"permissions"`
}
ClusterWorkloadServiceAccountSpec defines the desired state of ClusterWorkloadServiceAccount
func (*ClusterWorkloadServiceAccountSpec) DeepCopy ¶
func (in *ClusterWorkloadServiceAccountSpec) DeepCopy() *ClusterWorkloadServiceAccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkloadServiceAccountSpec.
func (*ClusterWorkloadServiceAccountSpec) DeepCopyInto ¶
func (in *ClusterWorkloadServiceAccountSpec) DeepCopyInto(out *ClusterWorkloadServiceAccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterWorkloadServiceAccountStatus ¶
type ClusterWorkloadServiceAccountStatus struct {
// conditions represent the current state of the ClusterWorkloadServiceAccount resource.
// Each condition has a unique type and reflects the status of a specific aspect of the resource.
//
// Standard condition types include:
// - "Available": the resource is fully functional
// - "Progressing": the resource is being created or updated
// - "Degraded": the resource failed to reach or maintain its desired state
//
// The status of each condition is one of True, False, or Unknown.
// +listType=map
// +listMapKey=type
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
ClusterWorkloadServiceAccountStatus defines the observed state of ClusterWorkloadServiceAccount.
func (*ClusterWorkloadServiceAccountStatus) DeepCopy ¶
func (in *ClusterWorkloadServiceAccountStatus) DeepCopy() *ClusterWorkloadServiceAccountStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWorkloadServiceAccountStatus.
func (*ClusterWorkloadServiceAccountStatus) DeepCopyInto ¶
func (in *ClusterWorkloadServiceAccountStatus) DeepCopyInto(out *ClusterWorkloadServiceAccountStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadServiceAccount ¶
type WorkloadServiceAccount struct {
metav1.TypeMeta `json:",inline"`
// metadata is a standard object metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty,omitzero"`
// spec defines the desired state of WorkloadServiceAccount
// +required
Spec WorkloadServiceAccountSpec `json:"spec"`
// status defines the observed state of WorkloadServiceAccount
// +optional
Status WorkloadServiceAccountStatus `json:"status,omitempty,omitzero"`
}
WorkloadServiceAccount is the Schema for the workloadserviceaccounts API
func (*WorkloadServiceAccount) DeepCopy ¶
func (in *WorkloadServiceAccount) DeepCopy() *WorkloadServiceAccount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadServiceAccount.
func (*WorkloadServiceAccount) DeepCopyInto ¶
func (in *WorkloadServiceAccount) DeepCopyInto(out *WorkloadServiceAccount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadServiceAccount) DeepCopyObject ¶
func (in *WorkloadServiceAccount) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WorkloadServiceAccount) GetConditions ¶
func (wsa *WorkloadServiceAccount) GetConditions() *[]metav1.Condition
type WorkloadServiceAccountList ¶
type WorkloadServiceAccountList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WorkloadServiceAccount `json:"items"`
}
WorkloadServiceAccountList contains a list of WorkloadServiceAccount
func (*WorkloadServiceAccountList) DeepCopy ¶
func (in *WorkloadServiceAccountList) DeepCopy() *WorkloadServiceAccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadServiceAccountList.
func (*WorkloadServiceAccountList) DeepCopyInto ¶
func (in *WorkloadServiceAccountList) DeepCopyInto(out *WorkloadServiceAccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadServiceAccountList) DeepCopyObject ¶
func (in *WorkloadServiceAccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadServiceAccountPermissions ¶
type WorkloadServiceAccountPermissions struct {
// +optional
ClusterRoles []v1.RoleRef `json:"clusterRoles,omitempty"`
// +optional
Roles []v1.RoleRef `json:"roles,omitempty"`
// Allows users to specify permissions, rather than roles
// A role will be created with the specified permissions
// +optional
Permissions []v1.PolicyRule `json:"permissions,omitempty"`
}
WorkloadServiceAccountPermissions defines the permissions for the WorkloadServiceAccount.
func (*WorkloadServiceAccountPermissions) DeepCopy ¶
func (in *WorkloadServiceAccountPermissions) DeepCopy() *WorkloadServiceAccountPermissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadServiceAccountPermissions.
func (*WorkloadServiceAccountPermissions) DeepCopyInto ¶
func (in *WorkloadServiceAccountPermissions) DeepCopyInto(out *WorkloadServiceAccountPermissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadServiceAccountScope ¶
type WorkloadServiceAccountScope struct {
// +optional
// +kubebuilder:validation:items:Pattern="^[\\p{Ll}\\p{N}]+(?:-[\\p{L}\\p{N}]+)*$"
Projects []string `json:"projects,omitempty"`
// +optional
// +kubebuilder:validation:items:Pattern="^[\\p{Ll}\\p{N}]+(?:-[\\p{L}\\p{N}]+)*$"
Environments []string `json:"environments,omitempty"`
// +optional
// +kubebuilder:validation:items:Pattern="^[\\p{Ll}\\p{N}]+(?:-[\\p{L}\\p{N}]+)*$"
Tenants []string `json:"tenants,omitempty"`
// +optional
// +kubebuilder:validation:items:Pattern="^[\\p{Ll}\\p{N}]+(?:-[\\p{L}\\p{N}]+)*$"
Steps []string `json:"steps,omitempty"`
// +optional
// +kubebuilder:validation:items:Pattern="^[\\p{Ll}\\p{N}]+(?:-[\\p{L}\\p{N}]+)*$"
Spaces []string `json:"spaces,omitempty"`
}
WorkloadServiceAccountScope defines the octopus scope for the WorkloadServiceAccount
func (*WorkloadServiceAccountScope) DeepCopy ¶
func (in *WorkloadServiceAccountScope) DeepCopy() *WorkloadServiceAccountScope
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadServiceAccountScope.
func (*WorkloadServiceAccountScope) DeepCopyInto ¶
func (in *WorkloadServiceAccountScope) DeepCopyInto(out *WorkloadServiceAccountScope)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadServiceAccountSpec ¶
type WorkloadServiceAccountSpec struct {
// Scope defines the scope of the WorkloadServiceAccount.
// +required
Scope WorkloadServiceAccountScope `json:"scope"`
// Permissions defines the permissions for the WorkloadServiceAccount.
// +required
Permissions WorkloadServiceAccountPermissions `json:"permissions"`
}
WorkloadServiceAccountSpec defines the desired state of WorkloadServiceAccount
func (*WorkloadServiceAccountSpec) DeepCopy ¶
func (in *WorkloadServiceAccountSpec) DeepCopy() *WorkloadServiceAccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadServiceAccountSpec.
func (*WorkloadServiceAccountSpec) DeepCopyInto ¶
func (in *WorkloadServiceAccountSpec) DeepCopyInto(out *WorkloadServiceAccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadServiceAccountStatus ¶
type WorkloadServiceAccountStatus struct {
// conditions represent the current state of the ClusterWorkloadServiceAccount resource.
// Each condition has a unique type and reflects the status of a specific aspect of the resource.
//
// Standard condition types include:
// - "Available": the resource is fully functional
// - "Progressing": the resource is being created or updated
// - "Degraded": the resource failed to reach or maintain its desired state
//
// The status of each condition is one of True, False, or Unknown.
// +listType=map
// +listMapKey=type
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
WorkloadServiceAccountStatus defines the observed state of WorkloadServiceAccount.
func (*WorkloadServiceAccountStatus) DeepCopy ¶
func (in *WorkloadServiceAccountStatus) DeepCopy() *WorkloadServiceAccountStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadServiceAccountStatus.
func (*WorkloadServiceAccountStatus) DeepCopyInto ¶
func (in *WorkloadServiceAccountStatus) DeepCopyInto(out *WorkloadServiceAccountStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.