Documentation ¶
Overview ¶
Package v1alpha1 contains managed resources for Gitlab Groups +kubebuilder:object:generate=true +groupName=groups.gitlab.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AccessLevelValue
- type CustomAttribute
- type DeployToken
- func (in *DeployToken) DeepCopy() *DeployToken
- func (in *DeployToken) DeepCopyInto(out *DeployToken)
- func (in *DeployToken) DeepCopyObject() runtime.Object
- func (mg *DeployToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *DeployToken) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *DeployToken) GetProviderConfigReference() *xpv1.Reference
- func (mg *DeployToken) GetProviderReference() *xpv1.Reference
- func (mg *DeployToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DeployToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *DeployToken) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DeployToken) SetConditions(c ...xpv1.Condition)
- func (mg *DeployToken) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DeployToken) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DeployToken) SetProviderReference(r *xpv1.Reference)
- func (mg *DeployToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DeployToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeployTokenList
- type DeployTokenObservation
- type DeployTokenParameters
- type DeployTokenSpec
- type DeployTokenStatus
- type Group
- func (in *Group) DeepCopy() *Group
- func (in *Group) DeepCopyInto(out *Group)
- func (in *Group) DeepCopyObject() runtime.Object
- func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Group) GetProviderConfigReference() *xpv1.Reference
- func (mg *Group) GetProviderReference() *xpv1.Reference
- func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Group) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Group) SetConditions(c ...xpv1.Condition)
- func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Group) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Group) SetProviderReference(r *xpv1.Reference)
- func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type GroupList
- type GroupObservation
- type GroupParameters
- type GroupSpec
- type GroupStatus
- type LDAPGroupLink
- type Member
- func (in *Member) DeepCopy() *Member
- func (in *Member) DeepCopyInto(out *Member)
- func (in *Member) DeepCopyObject() runtime.Object
- func (mg *Member) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Member) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Member) GetProviderConfigReference() *xpv1.Reference
- func (mg *Member) GetProviderReference() *xpv1.Reference
- func (mg *Member) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Member) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Member) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Member) SetConditions(c ...xpv1.Condition)
- func (mg *Member) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Member) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Member) SetProviderReference(r *xpv1.Reference)
- func (mg *Member) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Member) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MemberList
- type MemberObservation
- type MemberParameters
- type MemberSAMLIdentity
- type MemberSpec
- type MemberStatus
- type ProjectCreationLevelValue
- type SharedWithGroups
- type SharedWithGroupsObservation
- type StorageStatistics
- type SubGroupCreationLevelValue
- type Variable
- func (in *Variable) DeepCopy() *Variable
- func (in *Variable) DeepCopyInto(out *Variable)
- func (in *Variable) DeepCopyObject() runtime.Object
- func (mg *Variable) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Variable) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Variable) GetProviderConfigReference() *xpv1.Reference
- func (mg *Variable) GetProviderReference() *xpv1.Reference
- func (mg *Variable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Variable) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Variable) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Variable) SetConditions(c ...xpv1.Condition)
- func (mg *Variable) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Variable) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Variable) SetProviderReference(r *xpv1.Reference)
- func (mg *Variable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Variable) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VariableList
- type VariableParameters
- type VariableSpec
- type VariableStatus
- type VariableType
- type VisibilityValue
Constants ¶
const ( KubernetesGroup = "groups.gitlab.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: KubernetesGroup, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( GroupKind = reflect.TypeOf(Group{}).Name() GroupKubernetesGroupKind = schema.GroupKind{Group: KubernetesGroup, Kind: GroupKind}.String() GroupKindAPIVersion = GroupKind + "." + SchemeGroupVersion.String() GroupKubernetesGroupVersionKind = SchemeGroupVersion.WithKind(GroupKind) )
GroupGitLab type metadata
var ( MemberKind = reflect.TypeOf(Member{}).Name() MemberKubernetesGroupKind = schema.GroupKind{Group: KubernetesGroup, Kind: MemberKind}.String() MemberKindAPIVersion = MemberKind + "." + SchemeGroupVersion.String() MemberKubernetesGroupVersionKind = SchemeGroupVersion.WithKind(MemberKind) )
MemberGitLab type metadata
var ( DeployTokenKind = reflect.TypeOf(DeployToken{}).Name() DeployTokenGroupKind = schema.GroupKind{Group: KubernetesGroup, Kind: DeployTokenKind}.String() DeployTokenKindAPIVersion = DeployTokenKind + "." + SchemeGroupVersion.String() DeployTokenGroupVersionKind = SchemeGroupVersion.WithKind(DeployTokenKind) )
Deploy Token type metadata
var ( VariableKind = reflect.TypeOf(Variable{}).Name() VariableGroupKind = schema.GroupKind{Group: KubernetesGroup, Kind: VariableKind}.String() VariableKindAPIVersion = VariableKind + "." + SchemeGroupVersion.String() VariableGroupVersionKind = SchemeGroupVersion.WithKind(VariableKind) )
Variable type metadata
Functions ¶
This section is empty.
Types ¶
type AccessLevelValue ¶
type AccessLevelValue int
AccessLevelValue represents a permission level within GitLab.
GitLab API docs: https://docs.gitlab.com/ce/permissions/permissions.html
const ( NoPermissions AccessLevelValue = 0 MinimalAccessPermissions AccessLevelValue = 5 GuestPermissions AccessLevelValue = 10 ReporterPermissions AccessLevelValue = 20 DeveloperPermissions AccessLevelValue = 30 MaintainerPermissions AccessLevelValue = 40 OwnerPermissions AccessLevelValue = 50 // These are deprecated and should be removed in a future version MasterPermissions AccessLevelValue = 40 OwnerPermission AccessLevelValue = 50 )
List of available access levels
GitLab API docs: https://docs.gitlab.com/ce/permissions/permissions.html
type CustomAttribute ¶
CustomAttribute struct is used to unmarshal response to api calls.
GitLab API docs: https://docs.gitlab.com/ce/api/custom_attributes.html
func (*CustomAttribute) DeepCopy ¶
func (in *CustomAttribute) DeepCopy() *CustomAttribute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomAttribute.
func (*CustomAttribute) DeepCopyInto ¶
func (in *CustomAttribute) DeepCopyInto(out *CustomAttribute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployToken ¶ added in v0.2.0
type DeployToken struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeployTokenSpec `json:"spec"` Status DeployTokenStatus `json:"status,omitempty"` }
A DeployToken is a managed resource that represents a Gitlab deploy token +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gitlab}
func (*DeployToken) DeepCopy ¶ added in v0.2.0
func (in *DeployToken) DeepCopy() *DeployToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployToken.
func (*DeployToken) DeepCopyInto ¶ added in v0.2.0
func (in *DeployToken) DeepCopyInto(out *DeployToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployToken) DeepCopyObject ¶ added in v0.2.0
func (in *DeployToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeployToken) GetCondition ¶ added in v0.2.0
func (mg *DeployToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DeployToken.
func (*DeployToken) GetDeletionPolicy ¶ added in v0.2.0
func (mg *DeployToken) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DeployToken.
func (*DeployToken) GetProviderConfigReference ¶ added in v0.2.0
func (mg *DeployToken) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DeployToken.
func (*DeployToken) GetProviderReference ¶ added in v0.2.0
func (mg *DeployToken) GetProviderReference() *xpv1.Reference
GetProviderReference of this DeployToken. Deprecated: Use GetProviderConfigReference.
func (*DeployToken) GetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *DeployToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DeployToken.
func (*DeployToken) GetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *DeployToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DeployToken.
func (*DeployToken) ResolveReferences ¶ added in v0.2.0
ResolveReferences of this Deploy Token
func (*DeployToken) SetConditions ¶ added in v0.2.0
func (mg *DeployToken) SetConditions(c ...xpv1.Condition)
SetConditions of this DeployToken.
func (*DeployToken) SetDeletionPolicy ¶ added in v0.2.0
func (mg *DeployToken) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DeployToken.
func (*DeployToken) SetProviderConfigReference ¶ added in v0.2.0
func (mg *DeployToken) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DeployToken.
func (*DeployToken) SetProviderReference ¶ added in v0.2.0
func (mg *DeployToken) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this DeployToken. Deprecated: Use SetProviderConfigReference.
func (*DeployToken) SetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *DeployToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DeployToken.
func (*DeployToken) SetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *DeployToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DeployToken.
type DeployTokenList ¶ added in v0.2.0
type DeployTokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeployToken `json:"items"` }
DeployTokenList contains a list of Group items
func (*DeployTokenList) DeepCopy ¶ added in v0.2.0
func (in *DeployTokenList) DeepCopy() *DeployTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenList.
func (*DeployTokenList) DeepCopyInto ¶ added in v0.2.0
func (in *DeployTokenList) DeepCopyInto(out *DeployTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployTokenList) DeepCopyObject ¶ added in v0.2.0
func (in *DeployTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeployTokenList) GetItems ¶ added in v0.2.0
func (l *DeployTokenList) GetItems() []resource.Managed
GetItems of this DeployTokenList.
type DeployTokenObservation ¶ added in v0.2.0
type DeployTokenObservation struct{}
DeployTokenObservation represents a deploy token.
GitLab API docs: https://docs.gitlab.com/ee/api/deploy_tokens.html
func (*DeployTokenObservation) DeepCopy ¶ added in v0.2.0
func (in *DeployTokenObservation) DeepCopy() *DeployTokenObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenObservation.
func (*DeployTokenObservation) DeepCopyInto ¶ added in v0.2.0
func (in *DeployTokenObservation) DeepCopyInto(out *DeployTokenObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployTokenParameters ¶ added in v0.2.0
type DeployTokenParameters struct { // GroupID is the ID of the group to create the deploy token in. // +optional // +immutable GroupID *int `json:"groupId,omitempty"` // GroupIDRef is a reference to a group to retrieve its groupId // +optional // +immutable GroupIDRef *xpv1.Reference `json:"groupIdRef,omitempty"` // GroupIDSelector selects reference to a group to retrieve its groupId. // +optional GroupIDSelector *xpv1.Selector `json:"groupIdSelector,omitempty"` // Expiration date for the deploy token. Does not expire if no value is provided. // Expected in ISO 8601 format (2019-03-15T08:00:00Z) // +optional // +immutable ExpiresAt *metav1.Time `json:"expiresAt,omitempty"` // Username for deploy token. Default is gitlab+deploy-token-{n} // +optional // +immutable Username *string `json:"username,omitempty"` // Scopes indicates the deploy token scopes. // Must be at least one of read_repository, read_registry, write_registry, // read_package_registry, or write_package_registry. // +immutable Scopes []string `json:"scopes"` }
DeployTokenParameters define the desired state of a Gitlab deploy token https://docs.gitlab.com/ee/api/deploy_tokens.html
func (*DeployTokenParameters) DeepCopy ¶ added in v0.2.0
func (in *DeployTokenParameters) DeepCopy() *DeployTokenParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenParameters.
func (*DeployTokenParameters) DeepCopyInto ¶ added in v0.2.0
func (in *DeployTokenParameters) DeepCopyInto(out *DeployTokenParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployTokenSpec ¶ added in v0.2.0
type DeployTokenSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider DeployTokenParameters `json:"forProvider"` }
A DeployTokenSpec defines the desired state of a Gitlab Group.
func (*DeployTokenSpec) DeepCopy ¶ added in v0.2.0
func (in *DeployTokenSpec) DeepCopy() *DeployTokenSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenSpec.
func (*DeployTokenSpec) DeepCopyInto ¶ added in v0.2.0
func (in *DeployTokenSpec) DeepCopyInto(out *DeployTokenSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployTokenStatus ¶ added in v0.2.0
type DeployTokenStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider DeployTokenObservation `json:"atProvider,omitempty"` }
A DeployTokenStatus represents the observed state of a Gitlab Group.
func (*DeployTokenStatus) DeepCopy ¶ added in v0.2.0
func (in *DeployTokenStatus) DeepCopy() *DeployTokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenStatus.
func (*DeployTokenStatus) DeepCopyInto ¶ added in v0.2.0
func (in *DeployTokenStatus) DeepCopyInto(out *DeployTokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Group ¶
type Group struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GroupSpec `json:"spec"` Status GroupStatus `json:"status,omitempty"` }
A Group is a managed resource that represents a Gitlab Group +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".status.atProvider.ID" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gitlab}
func (*Group) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.
func (*Group) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Group) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Group) GetCondition ¶
func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Group.
func (*Group) GetDeletionPolicy ¶
func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Group.
func (*Group) GetProviderConfigReference ¶
GetProviderConfigReference of this Group.
func (*Group) GetProviderReference ¶
GetProviderReference of this Group. Deprecated: Use GetProviderConfigReference.
func (*Group) GetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Group.
func (*Group) GetWriteConnectionSecretToReference ¶
func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Group.
func (*Group) ResolveReferences ¶
ResolveReferences of this Group.
func (*Group) SetConditions ¶
SetConditions of this Group.
func (*Group) SetDeletionPolicy ¶
func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Group.
func (*Group) SetProviderConfigReference ¶
SetProviderConfigReference of this Group.
func (*Group) SetProviderReference ¶
SetProviderReference of this Group. Deprecated: Use SetProviderConfigReference.
func (*Group) SetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Group.
func (*Group) SetWriteConnectionSecretToReference ¶
func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Group.
type GroupList ¶
type GroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Group `json:"items"` }
GroupList contains a list of Group items
func (*GroupList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.
func (*GroupList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupObservation ¶
type GroupObservation struct { ID *int `json:"id,omitempty"` AvatarURL *string `json:"avatarUrl,omitempty"` WebURL *string `json:"webUrl,omitempty"` FullName *string `json:"fullName,omitempty"` FullPath *string `json:"fullPath,omitempty"` Statistics *StorageStatistics `json:"statistics,omitempty"` CustomAttributes []CustomAttribute `json:"customAttributes,omitempty"` LDAPCN *string `json:"ldapCn,omitempty"` LDAPAccess *AccessLevelValue `json:"ldapAccess,omitempty"` LDAPGroupLinks []LDAPGroupLink `json:"ldapGroupLinks,omitempty"` MarkedForDeletionOn *metav1.Time `json:"markedForDeletionOn,omitempty"` CreatedAt *metav1.Time `json:"createdAt,omitempty"` }
GroupObservation is the observed state of a Group.
func (*GroupObservation) DeepCopy ¶
func (in *GroupObservation) DeepCopy() *GroupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupObservation.
func (*GroupObservation) DeepCopyInto ¶
func (in *GroupObservation) DeepCopyInto(out *GroupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupParameters ¶
type GroupParameters struct { // The path of the group. // +immutable Path string `json:"path"` // The group’s description. // +optional Description *string `json:"description,omitempty"` // Name is the human-readable name of the group. // If set, it overrides metadata.name. // +kubebuilder:validation:MaxLength:=255 // +optional Name *string `json:"name,omitempty"` // Prevent adding new members to project membership within this group. // +optional MembershipLock *bool `json:"membershipLock,omitempty"` // The group’s visibility. Can be private, internal, or public. // +optional Visibility *VisibilityValue `json:"visibility,omitempty"` // +optional ShareWithGroupLock *bool `json:"shareWithGroupLock,omitempty"` // Require all users in this group to setup Two-factor authentication. // +optional RequireTwoFactorAuth *bool `json:"requireTwoFactorAuthentication,omitempty"` // Time before Two-factor authentication is enforced (in hours). // +optional TwoFactorGracePeriod *int `json:"twoFactorGracePeriod,omitempty"` // developers can create projects in the group. // Can be noone (No one), maintainer (Maintainers), or developer (Developers + Maintainers). // +optional ProjectCreationLevel *ProjectCreationLevelValue `json:"projectCreationLevel,omitempty"` // Default to Auto DevOps pipeline for all projects within this group. // +optional AutoDevopsEnabled *bool `json:"autoDevopsEnabled,omitempty"` // Allowed to create subgroups. Can be owner (Owners), or maintainer (Maintainers). // +optional SubGroupCreationLevel *SubGroupCreationLevelValue `json:"subgroupCreationLevel,omitempty"` // Disable email notifications. // +optional EmailsDisabled *bool `json:"emailsDisabled,omitempty"` // Disable the capability of a group from getting mentioned. // +optional MentionsDisabled *bool `json:"mentionsDisabled,omitempty"` // Enable/disable Large File Storage (LFS) for the projects in this group. // +optional LFSEnabled *bool `json:"lfsEnabled,omitempty"` // Allow users to request member access. // +optional RequestAccessEnabled *bool `json:"requestAccessEnabled,omitempty"` // The parent group ID for creating nested group. // +optional ParentID *int `json:"parentId,omitempty"` // ParentIDRef is a reference to a group to retrieve its parentId // +optional // +immutable ParentIDRef *xpv1.Reference `json:"parentIdRef,omitempty"` // ParentIDSelector selects reference to a group to retrieve its parentId. // +optional ParentIDSelector *xpv1.Selector `json:"parentIdSelector,omitempty"` // Can be nil (default; inherit system default), 0 (unlimited) or > 0. // +optional SharedRunnersMinutesLimit *int `json:"sharedRunnersMinutesLimit,omitempty"` // +optional ExtraSharedRunnersMinutesLimit *int `json:"extraSharedRunnersMinutesLimit,omitempty"` // +optional SharedWithGroups []SharedWithGroups `json:"sharedWithGroups,omitempty"` }
GroupParameters define the desired state of a Gitlab Project
func (*GroupParameters) DeepCopy ¶
func (in *GroupParameters) DeepCopy() *GroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupParameters.
func (*GroupParameters) DeepCopyInto ¶
func (in *GroupParameters) DeepCopyInto(out *GroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupSpec ¶
type GroupSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider GroupParameters `json:"forProvider"` }
A GroupSpec defines the desired state of a Gitlab Group.
func (*GroupSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpec.
func (*GroupSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupStatus ¶
type GroupStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider GroupObservation `json:"atProvider,omitempty"` }
A GroupStatus represents the observed state of a Gitlab Group.
func (*GroupStatus) DeepCopy ¶
func (in *GroupStatus) DeepCopy() *GroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupStatus.
func (*GroupStatus) DeepCopyInto ¶
func (in *GroupStatus) DeepCopyInto(out *GroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LDAPGroupLink ¶
type LDAPGroupLink struct { CN string `json:"cn"` GroupAccess AccessLevelValue `json:"groupAccess"` Provider string `json:"provider"` }
LDAPGroupLink represents a GitLab LDAP group link.
GitLab API docs: https://docs.gitlab.com/ce/api/groups.html#ldap-group-links
func (*LDAPGroupLink) DeepCopy ¶
func (in *LDAPGroupLink) DeepCopy() *LDAPGroupLink
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPGroupLink.
func (*LDAPGroupLink) DeepCopyInto ¶
func (in *LDAPGroupLink) DeepCopyInto(out *LDAPGroupLink)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Member ¶
type Member struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MemberSpec `json:"spec"` Status MemberStatus `json:"status,omitempty"` }
A Member is a managed resource that represents a Gitlab Group Member +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="Group ID",type="integer",JSONPath=".spec.forProvider.groupId" +kubebuilder:printcolumn:name="Username",type="string",JSONPath=".status.atProvider.username" +kubebuilder:printcolumn:name="Acceess Level",type="integer",JSONPath=".spec.forProvider.accessLevel" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gitlab}
func (*Member) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Member.
func (*Member) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Member) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Member) GetCondition ¶
func (mg *Member) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Member.
func (*Member) GetDeletionPolicy ¶
func (mg *Member) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Member.
func (*Member) GetProviderConfigReference ¶
GetProviderConfigReference of this Member.
func (*Member) GetProviderReference ¶
GetProviderReference of this Member. Deprecated: Use GetProviderConfigReference.
func (*Member) GetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Member) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Member.
func (*Member) GetWriteConnectionSecretToReference ¶
func (mg *Member) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Member.
func (*Member) ResolveReferences ¶
ResolveReferences of this Member
func (*Member) SetConditions ¶
SetConditions of this Member.
func (*Member) SetDeletionPolicy ¶
func (mg *Member) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Member.
func (*Member) SetProviderConfigReference ¶
SetProviderConfigReference of this Member.
func (*Member) SetProviderReference ¶
SetProviderReference of this Member. Deprecated: Use SetProviderConfigReference.
func (*Member) SetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Member) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Member.
func (*Member) SetWriteConnectionSecretToReference ¶
func (mg *Member) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Member.
type MemberList ¶
type MemberList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Member `json:"items"` }
MemberList contains a list of Member items
func (*MemberList) DeepCopy ¶
func (in *MemberList) DeepCopy() *MemberList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberList.
func (*MemberList) DeepCopyInto ¶
func (in *MemberList) DeepCopyInto(out *MemberList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemberList) DeepCopyObject ¶
func (in *MemberList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MemberList) GetItems ¶
func (l *MemberList) GetItems() []resource.Managed
GetItems of this MemberList.
type MemberObservation ¶
type MemberObservation struct { Username string `json:"username,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` AvatarURL string `json:"avatarURL,omitempty"` WebURL string `json:"webURL,omitempty"` GroupSAMLIdentity *MemberSAMLIdentity `json:"groupSamlIdentity,omitempty"` }
MemberObservation represents a group member.
GitLab API docs: https://docs.gitlab.com/ce/api/groups.html#list-group-members
func (*MemberObservation) DeepCopy ¶
func (in *MemberObservation) DeepCopy() *MemberObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberObservation.
func (*MemberObservation) DeepCopyInto ¶
func (in *MemberObservation) DeepCopyInto(out *MemberObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemberParameters ¶
type MemberParameters struct { // The ID of the group owned by the authenticated user. // +optional // +immutable GroupID *int `json:"groupId,omitempty"` // GroupIDRef is a reference to a group to retrieve its groupId // +optional // +immutable GroupIDRef *xpv1.Reference `json:"groupIdRef,omitempty"` // GroupIDSelector selects reference to a group to retrieve its groupId. // +optional GroupIDSelector *xpv1.Selector `json:"groupIdSelector,omitempty"` // The user ID of the member. // +optional UserID *int `json:"userID,omitempty"` // The userName of the member. // +optional UserName *string `json:"userName,omitempty"` // A valid access level. // +immutable AccessLevel AccessLevelValue `json:"accessLevel"` // A date string in the format YEAR-MONTH-DAY. // +optional ExpiresAt *string `json:"expiresAt,omitempty"` }
A MemberParameters defines the desired state of a Gitlab Group Member.
func (*MemberParameters) DeepCopy ¶
func (in *MemberParameters) DeepCopy() *MemberParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberParameters.
func (*MemberParameters) DeepCopyInto ¶
func (in *MemberParameters) DeepCopyInto(out *MemberParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemberSAMLIdentity ¶
type MemberSAMLIdentity struct { ExternUID string `json:"externUID"` Provider string `json:"provider"` SAMLProviderID int `json:"samlProviderID"` }
MemberSAMLIdentity represents the SAML Identity link for the group member.
GitLab API docs: https://docs.gitlab.com/ce/api/members.html#list-all-members-of-a-group-or-project Gitlab MR for API change: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20357 Gitlab MR for API Doc change: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/25652
func (*MemberSAMLIdentity) DeepCopy ¶
func (in *MemberSAMLIdentity) DeepCopy() *MemberSAMLIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberSAMLIdentity.
func (*MemberSAMLIdentity) DeepCopyInto ¶
func (in *MemberSAMLIdentity) DeepCopyInto(out *MemberSAMLIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemberSpec ¶
type MemberSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider MemberParameters `json:"forProvider"` }
A MemberSpec defines the desired state of a Gitlab Group Member.
func (*MemberSpec) DeepCopy ¶
func (in *MemberSpec) DeepCopy() *MemberSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberSpec.
func (*MemberSpec) DeepCopyInto ¶
func (in *MemberSpec) DeepCopyInto(out *MemberSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemberStatus ¶
type MemberStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider MemberObservation `json:"atProvider,omitempty"` }
A MemberStatus represents the observed state of a Gitlab Group Member.
func (*MemberStatus) DeepCopy ¶
func (in *MemberStatus) DeepCopy() *MemberStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemberStatus.
func (*MemberStatus) DeepCopyInto ¶
func (in *MemberStatus) DeepCopyInto(out *MemberStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectCreationLevelValue ¶
type ProjectCreationLevelValue string
ProjectCreationLevelValue represents a project creation level within GitLab.
GitLab API docs: https://docs.gitlab.com/ce/api/
const ( NoOneProjectCreation ProjectCreationLevelValue = "noone" MaintainerProjectCreation ProjectCreationLevelValue = "maintainer" DeveloperProjectCreation ProjectCreationLevelValue = "developer" )
List of available project creation levels.
GitLab API docs: https://docs.gitlab.com/ce/api/
type SharedWithGroups ¶
type SharedWithGroups struct { // +optional GroupID *int `json:"groupId,omitempty"` GroupIDRef *xpv1.Reference `json:"groupIdRef,omitempty"` GroupIDSelector *xpv1.Selector `json:"groupIdSelector,omitempty"` // https://docs.gitlab.com/ee/api/members.html#roles // +required // +immutable GroupAccessLevel int `json:"groupAccessLevel"` // +optional // +immutable ExpiresAt *metav1.Time `json:"expiresAt,omitempty"` }
SharedWithGroups represents a GitLab Shared with groups. At least one of the fields [GroupID, GroupIDRef, GroupIDSelector] must be set.
func (*SharedWithGroups) DeepCopy ¶
func (in *SharedWithGroups) DeepCopy() *SharedWithGroups
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedWithGroups.
func (*SharedWithGroups) DeepCopyInto ¶
func (in *SharedWithGroups) DeepCopyInto(out *SharedWithGroups)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SharedWithGroupsObservation ¶ added in v0.4.0
type SharedWithGroupsObservation struct {}
SharedWithGroupsObservation is the observed state of a SharedWithGroups.
func (*SharedWithGroupsObservation) DeepCopy ¶ added in v0.4.0
func (in *SharedWithGroupsObservation) DeepCopy() *SharedWithGroupsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedWithGroupsObservation.
func (*SharedWithGroupsObservation) DeepCopyInto ¶ added in v0.4.0
func (in *SharedWithGroupsObservation) DeepCopyInto(out *SharedWithGroupsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageStatistics ¶
type StorageStatistics struct { StorageSize int64 `json:"storageSize"` RepositorySize int64 `json:"repositorySize"` LfsObjectsSize int64 `json:"lfsObjectsSize"` JobArtifactsSize int64 `json:"jobArtifactsSize"` }
StorageStatistics represents a statistics record for a group or project.
func (*StorageStatistics) DeepCopy ¶
func (in *StorageStatistics) DeepCopy() *StorageStatistics
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatistics.
func (*StorageStatistics) DeepCopyInto ¶
func (in *StorageStatistics) DeepCopyInto(out *StorageStatistics)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubGroupCreationLevelValue ¶
type SubGroupCreationLevelValue string
SubGroupCreationLevelValue represents a sub group creation level within GitLab.
GitLab API docs: https://docs.gitlab.com/ce/api/
const ( OwnerSubGroupCreationLevelValue SubGroupCreationLevelValue = "owner" MaintainerSubGroupCreationLevelValue SubGroupCreationLevelValue = "maintainer" )
List of available sub group creation levels.
GitLab API docs: https://docs.gitlab.com/ce/api/
type Variable ¶ added in v0.5.0
type Variable struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VariableSpec `json:"spec"` Status VariableStatus `json:"status,omitempty"` }
A Variable is a managed resource that represents a Gitlab CI variable. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gitlab}
func (*Variable) DeepCopy ¶ added in v0.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.
func (*Variable) DeepCopyInto ¶ added in v0.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Variable) DeepCopyObject ¶ added in v0.5.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Variable) GetCondition ¶ added in v0.5.0
func (mg *Variable) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Variable.
func (*Variable) GetDeletionPolicy ¶ added in v0.5.0
func (mg *Variable) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Variable.
func (*Variable) GetProviderConfigReference ¶ added in v0.5.0
GetProviderConfigReference of this Variable.
func (*Variable) GetProviderReference ¶ added in v0.5.0
GetProviderReference of this Variable. Deprecated: Use GetProviderConfigReference.
func (*Variable) GetPublishConnectionDetailsTo ¶ added in v0.5.0
func (mg *Variable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Variable.
func (*Variable) GetWriteConnectionSecretToReference ¶ added in v0.5.0
func (mg *Variable) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Variable.
func (*Variable) ResolveReferences ¶ added in v0.5.0
ResolveReferences of this Variable
func (*Variable) SetConditions ¶ added in v0.5.0
SetConditions of this Variable.
func (*Variable) SetDeletionPolicy ¶ added in v0.5.0
func (mg *Variable) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Variable.
func (*Variable) SetProviderConfigReference ¶ added in v0.5.0
SetProviderConfigReference of this Variable.
func (*Variable) SetProviderReference ¶ added in v0.5.0
SetProviderReference of this Variable. Deprecated: Use SetProviderConfigReference.
func (*Variable) SetPublishConnectionDetailsTo ¶ added in v0.5.0
func (mg *Variable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Variable.
func (*Variable) SetWriteConnectionSecretToReference ¶ added in v0.5.0
func (mg *Variable) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Variable.
type VariableList ¶ added in v0.5.0
type VariableList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Variable `json:"items"` }
VariableList contains a list of Variable items.
func (*VariableList) DeepCopy ¶ added in v0.5.0
func (in *VariableList) DeepCopy() *VariableList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableList.
func (*VariableList) DeepCopyInto ¶ added in v0.5.0
func (in *VariableList) DeepCopyInto(out *VariableList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VariableList) DeepCopyObject ¶ added in v0.5.0
func (in *VariableList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VariableList) GetItems ¶ added in v0.5.0
func (l *VariableList) GetItems() []resource.Managed
GetItems of this VariableList.
type VariableParameters ¶ added in v0.5.0
type VariableParameters struct { // GroupID is the ID of the group to create the variable on. // +optional // +immutable GroupID *int `json:"groupId,omitempty"` // GroupIDRef is a reference to a group to retrieve its groupId. // +optional // +immutable GroupIDRef *xpv1.Reference `json:"groupIdRef,omitempty"` // GroupIDSelector selects reference to a group to retrieve its groupId. // +optional GroupIDSelector *xpv1.Selector `json:"groupIdSelector,omitempty"` // Key of a variable. // +kubebuilder:validation:Pattern:=^[a-zA-Z0-9\_]+$ // +kubebuilder:validation:MaxLength:=255 // +immutable Key string `json:"key"` // Value of a variable. Mutually exclusive with ValueSecretRef. // +optional Value *string `json:"value,omitempty"` // ValueSecretRef is used to obtain the value from a secret. This will set Masked and Raw to true if they // have not been set implicitly. Mutually exclusive with Value. // +optional // +nullable ValueSecretRef *xpv1.SecretKeySelector `json:"valueSecretRef,omitempty"` // Masked enables or disables variable masking. // +optional Masked *bool `json:"masked,omitempty"` // Protected enables or disables variable protection. // +optional Protected *bool `json:"protected,omitempty"` // Raw disables variable expansion of the variable. // +optional Raw *bool `json:"raw,omitempty"` // VariableType is the type of a variable. // +kubebuilder:validation:Enum:=env_var;file // +optional VariableType *VariableType `json:"variableType,omitempty"` // EnvironmentScope indicates the environment scope of a variable. // +optional EnvironmentScope *string `json:"environmentScope,omitempty"` }
VariableParameters define the desired state of a Gitlab CI Variable https://docs.gitlab.com/ee/api/group_level_variables.html
func (*VariableParameters) DeepCopy ¶ added in v0.5.0
func (in *VariableParameters) DeepCopy() *VariableParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableParameters.
func (*VariableParameters) DeepCopyInto ¶ added in v0.5.0
func (in *VariableParameters) DeepCopyInto(out *VariableParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VariableSpec ¶ added in v0.5.0
type VariableSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider VariableParameters `json:"forProvider"` }
A VariableSpec defines the desired state of a Gitlab Group CI Variable.
func (*VariableSpec) DeepCopy ¶ added in v0.5.0
func (in *VariableSpec) DeepCopy() *VariableSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableSpec.
func (*VariableSpec) DeepCopyInto ¶ added in v0.5.0
func (in *VariableSpec) DeepCopyInto(out *VariableSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VariableStatus ¶ added in v0.5.0
type VariableStatus struct {
xpv1.ResourceStatus `json:",inline"`
}
A VariableStatus represents the observed state of a Gitlab Group CI Variable.
func (*VariableStatus) DeepCopy ¶ added in v0.5.0
func (in *VariableStatus) DeepCopy() *VariableStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableStatus.
func (*VariableStatus) DeepCopyInto ¶ added in v0.5.0
func (in *VariableStatus) DeepCopyInto(out *VariableStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VariableType ¶ added in v0.5.0
type VariableType string
VariableType indicates the type of the GitLab CI variable.
const ( VariableTypeEnvVar VariableType = "env_var" VariableTypeFile VariableType = "file" )
List of variable type values.
GitLab API docs: https://docs.gitlab.com/ee/api/group_level_variables.html
type VisibilityValue ¶
type VisibilityValue string
VisibilityValue represents a visibility level within GitLab.
GitLab API docs: https://docs.gitlab.com/ce/api/
const ( PrivateVisibility VisibilityValue = "private" InternalVisibility VisibilityValue = "internal" PublicVisibility VisibilityValue = "public" )
List of available visibility levels.
GitLab API docs: https://docs.gitlab.com/ce/api/