Documentation
¶
Overview ¶
Package v1alpha1 contains managed resources for Gitlab Projects +kubebuilder:object:generate=true +groupName=projects.gitlab.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AccessControlValue
- type AccessLevelValue
- type AccessToken
- func (in *AccessToken) DeepCopy() *AccessToken
- func (in *AccessToken) DeepCopyInto(out *AccessToken)
- func (in *AccessToken) DeepCopyObject() runtime.Object
- func (mg *AccessToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *AccessToken) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *AccessToken) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *AccessToken) GetProviderConfigReference() *xpv1.Reference
- func (mg *AccessToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *AccessToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *AccessToken) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *AccessToken) SetConditions(c ...xpv1.Condition)
- func (mg *AccessToken) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *AccessToken) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *AccessToken) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *AccessToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *AccessToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AccessTokenList
- type AccessTokenObservation
- type AccessTokenParameters
- type AccessTokenSpec
- type AccessTokenStatus
- type ApprovalRule
- func (in *ApprovalRule) DeepCopy() *ApprovalRule
- func (in *ApprovalRule) DeepCopyInto(out *ApprovalRule)
- func (in *ApprovalRule) DeepCopyObject() runtime.Object
- func (mg *ApprovalRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *ApprovalRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *ApprovalRule) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *ApprovalRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *ApprovalRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ApprovalRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *ApprovalRule) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ApprovalRule) SetConditions(c ...xpv1.Condition)
- func (mg *ApprovalRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ApprovalRule) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *ApprovalRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ApprovalRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ApprovalRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ApprovalRuleList
- type ApprovalRuleObservation
- type ApprovalRuleParameters
- type ApprovalRuleSpec
- type ApprovalRuleStatus
- type ContainerExpirationPolicy
- type ContainerExpirationPolicyAttributes
- type CustomAttribute
- type DeployKey
- func (in *DeployKey) DeepCopy() *DeployKey
- func (in *DeployKey) DeepCopyInto(out *DeployKey)
- func (in *DeployKey) DeepCopyObject() runtime.Object
- func (mg *DeployKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *DeployKey) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *DeployKey) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *DeployKey) GetProviderConfigReference() *xpv1.Reference
- func (mg *DeployKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DeployKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *DeployKey) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DeployKey) SetConditions(c ...xpv1.Condition)
- func (mg *DeployKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DeployKey) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *DeployKey) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DeployKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DeployKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeployKeyList
- type DeployKeyObservation
- type DeployKeyParameters
- type DeployKeySpec
- type DeployKeyStatus
- 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) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *DeployToken) GetProviderConfigReference() *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) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *DeployToken) SetProviderConfigReference(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 ForkParent
- type GroupAccess
- type Hook
- func (in *Hook) DeepCopy() *Hook
- func (in *Hook) DeepCopyInto(out *Hook)
- func (in *Hook) DeepCopyObject() runtime.Object
- func (mg *Hook) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Hook) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Hook) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Hook) GetProviderConfigReference() *xpv1.Reference
- func (mg *Hook) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Hook) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Hook) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Hook) SetConditions(c ...xpv1.Condition)
- func (mg *Hook) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Hook) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Hook) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Hook) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Hook) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type HookList
- type HookObservation
- type HookParameters
- type HookSpec
- type HookStatus
- type LastPipeline
- type Links
- 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) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Member) GetProviderConfigReference() *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) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Member) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Member) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Member) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MemberList
- type MemberObservation
- type MemberParameters
- type MemberSpec
- type MemberStatus
- type MergeMethodValue
- type NotificationLevelValue
- type Permissions
- type PipelineSchedule
- func (in *PipelineSchedule) DeepCopy() *PipelineSchedule
- func (in *PipelineSchedule) DeepCopyInto(out *PipelineSchedule)
- func (in *PipelineSchedule) DeepCopyObject() runtime.Object
- func (mg *PipelineSchedule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *PipelineSchedule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *PipelineSchedule) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *PipelineSchedule) GetProviderConfigReference() *xpv1.Reference
- func (mg *PipelineSchedule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PipelineSchedule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *PipelineSchedule) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *PipelineSchedule) SetConditions(c ...xpv1.Condition)
- func (mg *PipelineSchedule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PipelineSchedule) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *PipelineSchedule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PipelineSchedule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PipelineSchedule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PipelineScheduleList
- type PipelineScheduleObservation
- type PipelineScheduleParameters
- type PipelineScheduleSpec
- type PipelineScheduleStatus
- type PipelineVariable
- type Project
- func (in *Project) DeepCopy() *Project
- func (in *Project) DeepCopyInto(out *Project)
- func (in *Project) DeepCopyObject() runtime.Object
- func (mg *Project) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Project) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Project) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Project) GetProviderConfigReference() *xpv1.Reference
- func (mg *Project) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Project) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Project) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Project) SetConditions(c ...xpv1.Condition)
- func (mg *Project) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Project) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Project) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Project) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Project) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ProjectAccess
- type ProjectLicense
- type ProjectList
- type ProjectNamespace
- type ProjectObservation
- type ProjectParameters
- type ProjectSpec
- type ProjectStatistics
- type ProjectStatus
- type PushRules
- type RuleType
- type Runner
- func (in *Runner) DeepCopy() *Runner
- func (in *Runner) DeepCopyInto(out *Runner)
- func (in *Runner) DeepCopyObject() runtime.Object
- func (mg *Runner) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Runner) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Runner) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Runner) GetProviderConfigReference() *xpv1.Reference
- func (mg *Runner) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Runner) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Runner) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Runner) SetConditions(c ...xpv1.Condition)
- func (mg *Runner) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Runner) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Runner) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Runner) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Runner) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RunnerList
- type RunnerObservation
- type RunnerParameters
- type RunnerProject
- type RunnerSpec
- type RunnerStatus
- type SharedWithGroups
- type StorageStatistics
- type Token
- type User
- type UserIdentity
- 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) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Variable) GetProviderConfigReference() *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) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Variable) SetProviderConfigReference(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 ( Group = "projects.gitlab.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( ProjectKind = reflect.TypeOf(Project{}).Name() ProjectGroupKind = schema.GroupKind{Group: Group, Kind: ProjectKind}.String() ProjectKindAPIVersion = ProjectKind + "." + SchemeGroupVersion.String() ProjectGroupVersionKind = SchemeGroupVersion.WithKind(ProjectKind) )
Project type metadata
var ( HookKind = reflect.TypeOf(Hook{}).Name() HookGroupKind = schema.GroupKind{Group: Group, Kind: HookKind}.String() HookKindAPIVersion = HookKind + "." + SchemeGroupVersion.String() HookGroupVersionKind = SchemeGroupVersion.WithKind(HookKind) )
Hook type metadata
var ( MemberKind = reflect.TypeOf(Member{}).Name() MemberGroupKind = schema.GroupKind{Group: Group, Kind: MemberKind}.String() MemberKindAPIVersion = MemberKind + "." + SchemeGroupVersion.String() MemberGroupVersionKind = SchemeGroupVersion.WithKind(MemberKind) )
Member type metadata
var ( ApprovalRuleKind = reflect.TypeOf(ApprovalRule{}).Name() ApprovalRuleGroupKind = schema.GroupKind{Group: Group, Kind: MemberKind}.String() ApprovalRuleKindAPIVersion = MemberKind + "." + SchemeGroupVersion.String() ApprovalRuleGroupVersionKind = SchemeGroupVersion.WithKind(ApprovalRuleKind) )
Approval Rule type metadata
var ( DeployTokenKind = reflect.TypeOf(DeployToken{}).Name() DeployTokenGroupKind = schema.GroupKind{Group: Group, Kind: DeployTokenKind}.String() DeployTokenKindAPIVersion = DeployTokenKind + "." + SchemeGroupVersion.String() DeployTokenGroupVersionKind = SchemeGroupVersion.WithKind(DeployTokenKind) )
Deploy Token type metadata
var ( AccessTokenKind = reflect.TypeOf(AccessToken{}).Name() AccessTokenGroupKind = schema.GroupKind{Group: Group, Kind: AccessTokenKind}.String() AccessTokenKindAPIVersion = AccessTokenKind + "." + SchemeGroupVersion.String() AccessTokenGroupVersionKind = SchemeGroupVersion.WithKind(AccessTokenKind) )
Access Token type metadata
var ( VariableKind = reflect.TypeOf(Variable{}).Name() VariableGroupKind = schema.GroupKind{Group: Group, Kind: VariableKind}.String() VariableKindAPIVersion = VariableKind + "." + SchemeGroupVersion.String() VariableGroupVersionKind = SchemeGroupVersion.WithKind(VariableKind) )
Variable type metadata
var ( DeployKeyKind = reflect.TypeOf(DeployKey{}).Name() DeployKeyGroupKind = schema.GroupKind{Group: Group, Kind: DeployKeyKind}.String() DeployKeyKindAPIVersion = DeployKeyKind + "." + SchemeGroupVersion.String() DeployKeyGroupVersionKind = SchemeGroupVersion.WithKind(DeployKeyKind) )
Deploy Key type metadata
var ( PipelineScheduleKind = reflect.TypeOf(PipelineSchedule{}).Name() PipelineScheduleGroupKind = schema.GroupKind{Group: Group, Kind: PipelineScheduleKind}.String() PipelineScheduleKindAPIVersion = PipelineScheduleKind + "." + SchemeGroupVersion.String() PipelineScheduleGroupVersionKind = SchemeGroupVersion.WithKind(PipelineScheduleKind) )
Pipeline Sharing type metadata
var ( RunnerKind = reflect.TypeOf(Runner{}).Name() RunnerGroupKind = schema.GroupKind{Group: Group, Kind: RunnerKind}.String() RunnerKindAPIVersion = RunnerKind + "." + SchemeGroupVersion.String() RunnerGroupVersionKind = SchemeGroupVersion.WithKind(RunnerKind) )
Functions ¶
This section is empty.
Types ¶
type AccessControlValue ¶
type AccessControlValue string
AccessControlValue represents an access control value within GitLab, used for managing access to certain project features.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html
const ( DisabledAccessControl AccessControlValue = "disabled" EnabledAccessControl AccessControlValue = "enabled" PrivateAccessControl AccessControlValue = "private" PublicAccessControl AccessControlValue = "public" )
List of available access control values.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html
type AccessLevelValue ¶
type AccessLevelValue int
AccessLevelValue represents a permission level within GitLab.
GitLab API docs: https://docs.gitlab.com/ce/permissions/permissions.html
type AccessToken ¶ added in v0.4.0
type AccessToken struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccessTokenSpec `json:"spec"` Status AccessTokenStatus `json:"status,omitempty"` }
A AccessToken is a managed resource that represents a Gitlab project access 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 (*AccessToken) DeepCopy ¶ added in v0.4.0
func (in *AccessToken) DeepCopy() *AccessToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessToken.
func (*AccessToken) DeepCopyInto ¶ added in v0.4.0
func (in *AccessToken) DeepCopyInto(out *AccessToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessToken) DeepCopyObject ¶ added in v0.4.0
func (in *AccessToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessToken) GetCondition ¶ added in v0.4.0
func (mg *AccessToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this AccessToken.
func (*AccessToken) GetDeletionPolicy ¶ added in v0.4.0
func (mg *AccessToken) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this AccessToken.
func (*AccessToken) GetManagementPolicies ¶ added in v0.6.0
func (mg *AccessToken) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this AccessToken.
func (*AccessToken) GetProviderConfigReference ¶ added in v0.4.0
func (mg *AccessToken) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this AccessToken.
func (*AccessToken) GetPublishConnectionDetailsTo ¶ added in v0.4.0
func (mg *AccessToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this AccessToken.
func (*AccessToken) GetWriteConnectionSecretToReference ¶ added in v0.4.0
func (mg *AccessToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this AccessToken.
func (*AccessToken) ResolveReferences ¶ added in v0.4.0
ResolveReferences of this AccessToken.
func (*AccessToken) SetConditions ¶ added in v0.4.0
func (mg *AccessToken) SetConditions(c ...xpv1.Condition)
SetConditions of this AccessToken.
func (*AccessToken) SetDeletionPolicy ¶ added in v0.4.0
func (mg *AccessToken) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this AccessToken.
func (*AccessToken) SetManagementPolicies ¶ added in v0.6.0
func (mg *AccessToken) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this AccessToken.
func (*AccessToken) SetProviderConfigReference ¶ added in v0.4.0
func (mg *AccessToken) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this AccessToken.
func (*AccessToken) SetPublishConnectionDetailsTo ¶ added in v0.4.0
func (mg *AccessToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this AccessToken.
func (*AccessToken) SetWriteConnectionSecretToReference ¶ added in v0.4.0
func (mg *AccessToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this AccessToken.
type AccessTokenList ¶ added in v0.4.0
type AccessTokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AccessToken `json:"items"` }
AccessTokenList contains a list of Project items
func (*AccessTokenList) DeepCopy ¶ added in v0.4.0
func (in *AccessTokenList) DeepCopy() *AccessTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessTokenList.
func (*AccessTokenList) DeepCopyInto ¶ added in v0.4.0
func (in *AccessTokenList) DeepCopyInto(out *AccessTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessTokenList) DeepCopyObject ¶ added in v0.4.0
func (in *AccessTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccessTokenList) GetItems ¶ added in v0.4.0
func (l *AccessTokenList) GetItems() []resource.Managed
GetItems of this AccessTokenList.
type AccessTokenObservation ¶ added in v0.4.0
type AccessTokenObservation struct {
TokenID *int `json:"id,omitempty"`
}
AccessTokenObservation represents a access token.
GitLab API docs: https://docs.gitlab.com/ee/api/project_access_tokens.html
func (*AccessTokenObservation) DeepCopy ¶ added in v0.4.0
func (in *AccessTokenObservation) DeepCopy() *AccessTokenObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessTokenObservation.
func (*AccessTokenObservation) DeepCopyInto ¶ added in v0.4.0
func (in *AccessTokenObservation) DeepCopyInto(out *AccessTokenObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessTokenParameters ¶ added in v0.4.0
type AccessTokenParameters struct { // ProjectID is the ID of the project to create the access token in. // +optional // +immutable // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-gitlab/apis/projects/v1alpha1.Project ProjectID *string `json:"projectId,omitempty"` // ProjectIDRef is a reference to a project to retrieve its projectId // +optional // +immutable ProjectIDRef *xpv1.Reference `json:"projectIdRef,omitempty"` // ProjectIDSelector selects reference to a project to retrieve its projectId. // +optional ProjectIDSelector *xpv1.Selector `json:"projectIdSelector,omitempty"` // Expiration date of the access token. The date cannot be set later than the maximum allowable lifetime of an access token. // If not set, the maximum allowable lifetime of a personal access token is 365 days. // Expected in ISO 8601 format (2019-03-15T08:00:00Z) // +immutable ExpiresAt *metav1.Time `json:"expiresAt,omitempty"` // Access level for the project. Default is 40. // Valid values are 10 (Guest), 20 (Reporter), 30 (Developer), 40 (Maintainer), and 50 (Owner). // +optional // +immutable AccessLevel *AccessLevelValue `json:"accessLevel,omitempty"` // Scopes indicates the access 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"` // Name of the project access token // +required Name string `json:"name"` }
AccessTokenParameters define the desired state of a Gitlab access token https://docs.gitlab.com/ee/api/access_tokens.html
func (*AccessTokenParameters) DeepCopy ¶ added in v0.4.0
func (in *AccessTokenParameters) DeepCopy() *AccessTokenParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessTokenParameters.
func (*AccessTokenParameters) DeepCopyInto ¶ added in v0.4.0
func (in *AccessTokenParameters) DeepCopyInto(out *AccessTokenParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessTokenSpec ¶ added in v0.4.0
type AccessTokenSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider AccessTokenParameters `json:"forProvider"` }
A AccessTokenSpec defines the desired state of a Gitlab Project.
func (*AccessTokenSpec) DeepCopy ¶ added in v0.4.0
func (in *AccessTokenSpec) DeepCopy() *AccessTokenSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessTokenSpec.
func (*AccessTokenSpec) DeepCopyInto ¶ added in v0.4.0
func (in *AccessTokenSpec) DeepCopyInto(out *AccessTokenSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessTokenStatus ¶ added in v0.4.0
type AccessTokenStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider AccessTokenObservation `json:"atProvider,omitempty"` }
A AccessTokenStatus represents the observed state of a Gitlab Project.
func (*AccessTokenStatus) DeepCopy ¶ added in v0.4.0
func (in *AccessTokenStatus) DeepCopy() *AccessTokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessTokenStatus.
func (*AccessTokenStatus) DeepCopyInto ¶ added in v0.4.0
func (in *AccessTokenStatus) DeepCopyInto(out *AccessTokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApprovalRule ¶ added in v0.12.0
type ApprovalRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApprovalRuleSpec `json:"spec"` Status ApprovalRuleStatus `json:"status,omitempty"` }
A ApprovalRule is a managed resource that represents a Gitlab Project ApprovalRule +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="Project ID",type="integer",JSONPath=".spec.forProvider.projectId" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gitlab}
func (*ApprovalRule) DeepCopy ¶ added in v0.12.0
func (in *ApprovalRule) DeepCopy() *ApprovalRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApprovalRule.
func (*ApprovalRule) DeepCopyInto ¶ added in v0.12.0
func (in *ApprovalRule) DeepCopyInto(out *ApprovalRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApprovalRule) DeepCopyObject ¶ added in v0.12.0
func (in *ApprovalRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApprovalRule) GetCondition ¶ added in v0.12.0
func (mg *ApprovalRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ApprovalRule.
func (*ApprovalRule) GetDeletionPolicy ¶ added in v0.12.0
func (mg *ApprovalRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ApprovalRule.
func (*ApprovalRule) GetManagementPolicies ¶ added in v0.12.0
func (mg *ApprovalRule) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ApprovalRule.
func (*ApprovalRule) GetProviderConfigReference ¶ added in v0.12.0
func (mg *ApprovalRule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ApprovalRule.
func (*ApprovalRule) GetPublishConnectionDetailsTo ¶ added in v0.12.0
func (mg *ApprovalRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ApprovalRule.
func (*ApprovalRule) GetWriteConnectionSecretToReference ¶ added in v0.12.0
func (mg *ApprovalRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ApprovalRule.
func (*ApprovalRule) ResolveReferences ¶ added in v0.12.0
ResolveReferences of this Hook
func (*ApprovalRule) SetConditions ¶ added in v0.12.0
func (mg *ApprovalRule) SetConditions(c ...xpv1.Condition)
SetConditions of this ApprovalRule.
func (*ApprovalRule) SetDeletionPolicy ¶ added in v0.12.0
func (mg *ApprovalRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ApprovalRule.
func (*ApprovalRule) SetManagementPolicies ¶ added in v0.12.0
func (mg *ApprovalRule) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ApprovalRule.
func (*ApprovalRule) SetProviderConfigReference ¶ added in v0.12.0
func (mg *ApprovalRule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ApprovalRule.
func (*ApprovalRule) SetPublishConnectionDetailsTo ¶ added in v0.12.0
func (mg *ApprovalRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ApprovalRule.
func (*ApprovalRule) SetWriteConnectionSecretToReference ¶ added in v0.12.0
func (mg *ApprovalRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ApprovalRule.
type ApprovalRuleList ¶ added in v0.12.0
type ApprovalRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ApprovalRule `json:"items"` }
ApprovalRuleList contains a list of Approval Rules items
func (*ApprovalRuleList) DeepCopy ¶ added in v0.12.0
func (in *ApprovalRuleList) DeepCopy() *ApprovalRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApprovalRuleList.
func (*ApprovalRuleList) DeepCopyInto ¶ added in v0.12.0
func (in *ApprovalRuleList) DeepCopyInto(out *ApprovalRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApprovalRuleList) DeepCopyObject ¶ added in v0.12.0
func (in *ApprovalRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApprovalRuleList) GetItems ¶ added in v0.12.0
func (l *ApprovalRuleList) GetItems() []resource.Managed
GetItems of this ApprovalRuleList.
type ApprovalRuleObservation ¶ added in v0.12.0
type ApprovalRuleObservation struct{}
ApprovalRuleObservation represents a project member.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html#list-project-team-members
func (*ApprovalRuleObservation) DeepCopy ¶ added in v0.12.0
func (in *ApprovalRuleObservation) DeepCopy() *ApprovalRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApprovalRuleObservation.
func (*ApprovalRuleObservation) DeepCopyInto ¶ added in v0.12.0
func (in *ApprovalRuleObservation) DeepCopyInto(out *ApprovalRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApprovalRuleParameters ¶ added in v0.12.0
type ApprovalRuleParameters struct { // The ID of the project owned by the authenticated user. // +optional // +immutable ProjectID *int `json:"projectId,omitempty"` // ProjectIDRef is a reference to a project to retrieve its projectId // +optional // +immutable ProjectIDRef *xpv1.Reference `json:"projectIdRef,omitempty"` // ProjectIDSelector selects reference to a project to retrieve its projectId. // +optional ProjectIDSelector *xpv1.Selector `json:"projectIdSelector,omitempty"` // The number of required approvals for this rule. ApprovalsRequired *int `json:"approvalsRequired,omitempty"` // The name of the approval rule Name *string `json:"name,omitempty"` // If true, applies the rule to all protected branches and ignores the protected_branch_ids attribute. // +optional AppliesToAllProtectedBranches *bool `json:"appliesToAllProtectedBranches,omitempty"` // The IDs of groups as approvers. // +optional GroupIDs *[]int `json:"groupIds,omitempty"` // The IDs of protected branches to scope the rule by. // +optional ProtectedBranchIDs *[]int `json:"protectedBranchIds,omitempty"` // The rule type. Supported values include any_approver, regular, and report_approver // +optional // +immutable RuleType *RuleType `json:"ruleType,omitempty"` // The IDs of users as approvers. If used with usernames, adds both lists of users. // +optional UserIDs *[]int `json:"userIds,omitempty"` // The usernames of approvers. If used with user_ids, adds both lists of users. // +optional Usernames *[]string `json:"usernames,omitempty"` }
A ApprovalRuleParameters defines the desired state of a Gitlab Project Member.
func (*ApprovalRuleParameters) DeepCopy ¶ added in v0.12.0
func (in *ApprovalRuleParameters) DeepCopy() *ApprovalRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApprovalRuleParameters.
func (*ApprovalRuleParameters) DeepCopyInto ¶ added in v0.12.0
func (in *ApprovalRuleParameters) DeepCopyInto(out *ApprovalRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApprovalRuleSpec ¶ added in v0.12.0
type ApprovalRuleSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider ApprovalRuleParameters `json:"forProvider"` }
A ApprovalRuleSpec defines the desired state of a Gitlab Project Member.
func (*ApprovalRuleSpec) DeepCopy ¶ added in v0.12.0
func (in *ApprovalRuleSpec) DeepCopy() *ApprovalRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApprovalRuleSpec.
func (*ApprovalRuleSpec) DeepCopyInto ¶ added in v0.12.0
func (in *ApprovalRuleSpec) DeepCopyInto(out *ApprovalRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApprovalRuleStatus ¶ added in v0.12.0
type ApprovalRuleStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider ApprovalRuleObservation `json:"atProvider,omitempty"` }
A ApprovalRuleStatus represents the observed state of a Gitlab Project Member.
func (*ApprovalRuleStatus) DeepCopy ¶ added in v0.12.0
func (in *ApprovalRuleStatus) DeepCopy() *ApprovalRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApprovalRuleStatus.
func (*ApprovalRuleStatus) DeepCopyInto ¶ added in v0.12.0
func (in *ApprovalRuleStatus) DeepCopyInto(out *ApprovalRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerExpirationPolicy ¶
type ContainerExpirationPolicy struct { Cadence string `json:"cadence"` KeepN int `json:"keepN"` OlderThan string `json:"olderThan"` NameRegexDelete string `json:"nameRegexDelete"` NameRegexKeep string `json:"nameRegexKeep"` Enabled bool `json:"enabled"` NextRunAt *metav1.Time `json:"nextRunAt"` }
ContainerExpirationPolicy represents the container expiration policy.
func (*ContainerExpirationPolicy) DeepCopy ¶
func (in *ContainerExpirationPolicy) DeepCopy() *ContainerExpirationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerExpirationPolicy.
func (*ContainerExpirationPolicy) DeepCopyInto ¶
func (in *ContainerExpirationPolicy) DeepCopyInto(out *ContainerExpirationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerExpirationPolicyAttributes ¶
type ContainerExpirationPolicyAttributes struct { Cadence *string `json:"cadence,omitempty"` KeepN *int `json:"keepN,omitempty"` OlderThan *string `json:"olderThan,omitempty"` NameRegexDelete *string `json:"nameRegexDelete,omitempty"` NameRegexKeep *string `json:"nameRegexKeep,omitempty"` Enabled *bool `json:"enabled,omitempty"` // Deprecated members NameRegex *string `url:"name_regex,omitempty" json:"name_regex,omitempty"` }
ContainerExpirationPolicyAttributes represents the available container expiration policy attributes.
GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#create-project
func (*ContainerExpirationPolicyAttributes) DeepCopy ¶
func (in *ContainerExpirationPolicyAttributes) DeepCopy() *ContainerExpirationPolicyAttributes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerExpirationPolicyAttributes.
func (*ContainerExpirationPolicyAttributes) DeepCopyInto ¶
func (in *ContainerExpirationPolicyAttributes) DeepCopyInto(out *ContainerExpirationPolicyAttributes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 DeployKey ¶ added in v0.4.0
type DeployKey struct { metav1.TypeMeta `json:","` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeployKeySpec `json:"spec"` Status DeployKeyStatus `json:"status,omitempty"` }
A DeployKey is a managed resource that represents a Gitlab Deploy Key. +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 (*DeployKey) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKey.
func (*DeployKey) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployKey) DeepCopyObject ¶ added in v0.4.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeployKey) GetCondition ¶ added in v0.4.0
func (mg *DeployKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DeployKey.
func (*DeployKey) GetDeletionPolicy ¶ added in v0.4.0
func (mg *DeployKey) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DeployKey.
func (*DeployKey) GetManagementPolicies ¶ added in v0.6.0
func (mg *DeployKey) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DeployKey.
func (*DeployKey) GetProviderConfigReference ¶ added in v0.4.0
GetProviderConfigReference of this DeployKey.
func (*DeployKey) GetPublishConnectionDetailsTo ¶ added in v0.4.0
func (mg *DeployKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DeployKey.
func (*DeployKey) GetWriteConnectionSecretToReference ¶ added in v0.4.0
func (mg *DeployKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DeployKey.
func (*DeployKey) ResolveReferences ¶ added in v0.4.0
ResolveReferences of this DeployKey.
func (*DeployKey) SetConditions ¶ added in v0.4.0
SetConditions of this DeployKey.
func (*DeployKey) SetDeletionPolicy ¶ added in v0.4.0
func (mg *DeployKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DeployKey.
func (*DeployKey) SetManagementPolicies ¶ added in v0.6.0
func (mg *DeployKey) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DeployKey.
func (*DeployKey) SetProviderConfigReference ¶ added in v0.4.0
SetProviderConfigReference of this DeployKey.
func (*DeployKey) SetPublishConnectionDetailsTo ¶ added in v0.4.0
func (mg *DeployKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DeployKey.
func (*DeployKey) SetWriteConnectionSecretToReference ¶ added in v0.4.0
func (mg *DeployKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DeployKey.
type DeployKeyList ¶ added in v0.4.0
type DeployKeyList struct { metav1.TypeMeta `json:","` metav1.ListMeta `json:"metadata,omitempty"` Items []DeployKey `json:"items"` }
DeployKeyList contains a list of Deploy Key items.
func (*DeployKeyList) DeepCopy ¶ added in v0.4.0
func (in *DeployKeyList) DeepCopy() *DeployKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeyList.
func (*DeployKeyList) DeepCopyInto ¶ added in v0.4.0
func (in *DeployKeyList) DeepCopyInto(out *DeployKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployKeyList) DeepCopyObject ¶ added in v0.4.0
func (in *DeployKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeployKeyList) GetItems ¶ added in v0.4.0
func (l *DeployKeyList) GetItems() []resource.Managed
GetItems of this DeployKeyList.
type DeployKeyObservation ¶ added in v0.4.0
type DeployKeyObservation struct { ID *int `json:"id,omitempty"` CreatedAt *metav1.Time `json:"createdAt,omitempty"` }
DeployKeyObservation represents observed stated of Deploy Key. https://docs.gitlab.com/ee/api/deploy_keys.html
func (*DeployKeyObservation) DeepCopy ¶ added in v0.4.0
func (in *DeployKeyObservation) DeepCopy() *DeployKeyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeyObservation.
func (*DeployKeyObservation) DeepCopyInto ¶ added in v0.4.0
func (in *DeployKeyObservation) DeepCopyInto(out *DeployKeyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployKeyParameters ¶ added in v0.4.0
type DeployKeyParameters struct { // The ID or URL-encoded path of the project owned by the authenticated user. // +optional // +immutable // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-gitlab/apis/projects/v1alpha1.Project // +crossplane:generate:reference:refFieldName=ProjectIDRef // +crossplane:generate:reference:selectorFieldName=ProjectIDSelector ProjectID *string `json:"projectId,omitempty"` // ProjectIDRef is a reference to a project to retrieve its ProjectID. // +optional // +immutable ProjectIDRef *xpv1.Reference `json:"projectIdRef,omitempty"` // ProjectIDSelector selects reference to a project to retrieve its ProjectID. // +optional // +immutable ProjectIDSelector *xpv1.Selector `json:"projectIdSelector,omitempty"` // New Deploy Key’s title. // This property is required. Title string `json:"title"` // Can Deploy Key push to the project’s repository. // +optional CanPush *bool `json:"canPush,omitempty"` // Expiration date for the Deploy Key. Does not expire if no value is provided. // Expected in ISO 8601 format (2019-03-15T08:00:00Z). // +optional ExpiresAt *metav1.Time `json:"expiresAt,omitempty"` // KeySecretRef field representing reference to the key. // This property is required. KeySecretRef xpv1.SecretKeySelector `json:"keySecretRef"` }
DeployKeyParameters define desired state of Gitlab Deploy Key. https://docs.gitlab.com/ee/api/deploy_keys.html At least 1 of [ProjectID, ProjectIDRef, ProjectIDSelector] required.
func (*DeployKeyParameters) DeepCopy ¶ added in v0.4.0
func (in *DeployKeyParameters) DeepCopy() *DeployKeyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeyParameters.
func (*DeployKeyParameters) DeepCopyInto ¶ added in v0.4.0
func (in *DeployKeyParameters) DeepCopyInto(out *DeployKeyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployKeySpec ¶ added in v0.4.0
type DeployKeySpec struct { xpv1.ResourceSpec `json:","` ForProvider DeployKeyParameters `json:"forProvider"` }
DeployKeySpec defines desired state of Gitlab Deploy Key.
func (*DeployKeySpec) DeepCopy ¶ added in v0.4.0
func (in *DeployKeySpec) DeepCopy() *DeployKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeySpec.
func (*DeployKeySpec) DeepCopyInto ¶ added in v0.4.0
func (in *DeployKeySpec) DeepCopyInto(out *DeployKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployKeyStatus ¶ added in v0.4.0
type DeployKeyStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider DeployKeyObservation `json:"atProvider,omitempty"` }
DeployKeyStatus represents observed state of Gitlab Deploy Key.
func (*DeployKeyStatus) DeepCopy ¶ added in v0.4.0
func (in *DeployKeyStatus) DeepCopy() *DeployKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeyStatus.
func (*DeployKeyStatus) DeepCopyInto ¶ added in v0.4.0
func (in *DeployKeyStatus) DeepCopyInto(out *DeployKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployToken ¶
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 ¶
func (in *DeployToken) DeepCopy() *DeployToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployToken.
func (*DeployToken) DeepCopyInto ¶
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 ¶
func (in *DeployToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeployToken) GetCondition ¶
func (mg *DeployToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DeployToken.
func (*DeployToken) GetDeletionPolicy ¶
func (mg *DeployToken) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DeployToken.
func (*DeployToken) GetManagementPolicies ¶ added in v0.6.0
func (mg *DeployToken) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DeployToken.
func (*DeployToken) GetProviderConfigReference ¶
func (mg *DeployToken) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DeployToken.
func (*DeployToken) GetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *DeployToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DeployToken.
func (*DeployToken) GetWriteConnectionSecretToReference ¶
func (mg *DeployToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DeployToken.
func (*DeployToken) ResolveReferences ¶
ResolveReferences of this Deploy Token
func (*DeployToken) SetConditions ¶
func (mg *DeployToken) SetConditions(c ...xpv1.Condition)
SetConditions of this DeployToken.
func (*DeployToken) SetDeletionPolicy ¶
func (mg *DeployToken) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DeployToken.
func (*DeployToken) SetManagementPolicies ¶ added in v0.6.0
func (mg *DeployToken) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DeployToken.
func (*DeployToken) SetProviderConfigReference ¶
func (mg *DeployToken) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DeployToken.
func (*DeployToken) SetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *DeployToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DeployToken.
func (*DeployToken) SetWriteConnectionSecretToReference ¶
func (mg *DeployToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DeployToken.
type DeployTokenList ¶
type DeployTokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeployToken `json:"items"` }
DeployTokenList contains a list of Project items
func (*DeployTokenList) DeepCopy ¶
func (in *DeployTokenList) DeepCopy() *DeployTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenList.
func (*DeployTokenList) DeepCopyInto ¶
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 ¶
func (in *DeployTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeployTokenList) GetItems ¶
func (l *DeployTokenList) GetItems() []resource.Managed
GetItems of this DeployTokenList.
type DeployTokenObservation ¶
type DeployTokenObservation struct{}
DeployTokenObservation represents a deploy token.
GitLab API docs: https://docs.gitlab.com/ee/api/deploy_tokens.html
func (*DeployTokenObservation) DeepCopy ¶
func (in *DeployTokenObservation) DeepCopy() *DeployTokenObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenObservation.
func (*DeployTokenObservation) DeepCopyInto ¶
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 ¶
type DeployTokenParameters struct { // ProjectID is the ID of the project to create the deploy token in. // +optional // +immutable ProjectID *int `json:"projectId,omitempty"` // ProjectIDRef is a reference to a project to retrieve its projectId // +optional // +immutable ProjectIDRef *xpv1.Reference `json:"projectIdRef,omitempty"` // ProjectIDSelector selects reference to a project to retrieve its projectId. // +optional ProjectIDSelector *xpv1.Selector `json:"projectIdSelector,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 ¶
func (in *DeployTokenParameters) DeepCopy() *DeployTokenParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenParameters.
func (*DeployTokenParameters) DeepCopyInto ¶
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 ¶
type DeployTokenSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider DeployTokenParameters `json:"forProvider"` }
A DeployTokenSpec defines the desired state of a Gitlab Project.
func (*DeployTokenSpec) DeepCopy ¶
func (in *DeployTokenSpec) DeepCopy() *DeployTokenSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenSpec.
func (*DeployTokenSpec) DeepCopyInto ¶
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 ¶
type DeployTokenStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider DeployTokenObservation `json:"atProvider,omitempty"` }
A DeployTokenStatus represents the observed state of a Gitlab Project.
func (*DeployTokenStatus) DeepCopy ¶
func (in *DeployTokenStatus) DeepCopy() *DeployTokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployTokenStatus.
func (*DeployTokenStatus) DeepCopyInto ¶
func (in *DeployTokenStatus) DeepCopyInto(out *DeployTokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ForkParent ¶
type ForkParent struct { HTTPURLToRepo string `json:"HTTPURLToRepo"` ID int `json:"ID"` Name string `json:"name"` NameWithNamespace string `json:"nameWithNamespace"` Path string `json:"path"` PathWithNamespace string `json:"pathWithNamespace"` WebURL string `json:"webURL"` }
ForkParent represents the parent project when this is a fork.
func (*ForkParent) DeepCopy ¶
func (in *ForkParent) DeepCopy() *ForkParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForkParent.
func (*ForkParent) DeepCopyInto ¶
func (in *ForkParent) DeepCopyInto(out *ForkParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupAccess ¶
type GroupAccess struct { AccessLevel AccessLevelValue `json:"accessLevel"` NotificationLevel NotificationLevelValue `json:"notificationLevel"` }
GroupAccess represents group access.
func (*GroupAccess) DeepCopy ¶
func (in *GroupAccess) DeepCopy() *GroupAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupAccess.
func (*GroupAccess) DeepCopyInto ¶
func (in *GroupAccess) DeepCopyInto(out *GroupAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hook ¶
type Hook struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HookSpec `json:"spec"` Status HookStatus `json:"status,omitempty"` }
A Hook is a managed resource that represents a Gitlab Project Hook +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 (*Hook) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hook.
func (*Hook) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Hook) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Hook) GetCondition ¶
func (mg *Hook) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Hook.
func (*Hook) GetDeletionPolicy ¶
func (mg *Hook) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Hook.
func (*Hook) GetManagementPolicies ¶ added in v0.6.0
func (mg *Hook) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Hook.
func (*Hook) GetProviderConfigReference ¶
GetProviderConfigReference of this Hook.
func (*Hook) GetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Hook) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Hook.
func (*Hook) GetWriteConnectionSecretToReference ¶
func (mg *Hook) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Hook.
func (*Hook) ResolveReferences ¶
ResolveReferences of this Hook
func (*Hook) SetConditions ¶
SetConditions of this Hook.
func (*Hook) SetDeletionPolicy ¶
func (mg *Hook) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Hook.
func (*Hook) SetManagementPolicies ¶ added in v0.6.0
func (mg *Hook) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Hook.
func (*Hook) SetProviderConfigReference ¶
SetProviderConfigReference of this Hook.
func (*Hook) SetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Hook) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Hook.
func (*Hook) SetWriteConnectionSecretToReference ¶
func (mg *Hook) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Hook.
type HookList ¶
type HookList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Hook `json:"items"` }
HookList contains a list of Project Hook items
func (*HookList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookList.
func (*HookList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HookList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HookObservation ¶
type HookObservation struct { // ID of the project hook at gitlab ID int `json:"id,omitempty"` // CreatedAt specifies the time the project hook was created CreatedAt *metav1.Time `json:"createdAt,omitempty"` }
HookObservation represents a project hook.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html#list-project-hooks
func (*HookObservation) DeepCopy ¶
func (in *HookObservation) DeepCopy() *HookObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookObservation.
func (*HookObservation) DeepCopyInto ¶
func (in *HookObservation) DeepCopyInto(out *HookObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HookParameters ¶
type HookParameters struct { // URL is the hook URL. URL *string `json:"url"` // ConfidentialNoteEvents triggers hook on confidential issues events. // +optional ConfidentialNoteEvents *bool `json:"confidentialNoteEvents,omitempty"` // ProjectID is the ID of the project. // +optional // +immutable ProjectID *int `json:"projectId,omitempty"` // ProjectIDRef is a reference to a project to retrieve its projectId // +optional // +immutable ProjectIDRef *xpv1.Reference `json:"projectIdRef,omitempty"` // ProjectIDSelector selects reference to a project to retrieve its projectId. // +optional ProjectIDSelector *xpv1.Selector `json:"projectIdSelector,omitempty"` // PushEvents triggers hook on push events. // +optional PushEvents *bool `json:"pushEvents,omitempty"` // PushEventsBranchFilter triggers hook on push events for matching branches only. // +optional PushEventsBranchFilter *string `json:"pushEventsBranch_filter,omitempty"` // IssuesEvents triggers hook on issues events. // +optional IssuesEvents *bool `json:"issuesEvents,omitempty"` // ConfidentialIssuesEvents triggers hook on confidential issues events. // +optional ConfidentialIssuesEvents *bool `json:"confidentialIssuesEvents,omitempty"` // MergeRequestsEvents triggers hook on merge requests events. // +optional MergeRequestsEvents *bool `json:"mergeRequestsEvents,omitempty"` // TagPushEvents triggers hook on tag push events. // +optional TagPushEvents *bool `json:"tagPushEvents,omitempty"` // NoteEvents triggers hook on note events. // +optional NoteEvents *bool `json:"noteEvents,omitempty"` // JobEvents triggers hook on job events. // +optional JobEvents *bool `json:"jobEvents,omitempty"` // PipelineEvents triggers hook on pipeline events. // +optional PipelineEvents *bool `json:"pipelineEvents,omitempty"` // WikiPageEvents triggers hook on wiki events. // +optional WikiPageEvents *bool `json:"wikiPageEvents,omitempty"` // EnableSSLVerification enables SSL verification when triggering the hook. // +optional EnableSSLVerification *bool `json:"enableSslVerification,omitempty"` // Token is the secret token to validate received payloads. Token *Token `json:"token"` }
HookParameters defines the desired state of a Gitlab Project Hook.
func (*HookParameters) DeepCopy ¶
func (in *HookParameters) DeepCopy() *HookParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookParameters.
func (*HookParameters) DeepCopyInto ¶
func (in *HookParameters) DeepCopyInto(out *HookParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HookSpec ¶
type HookSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider HookParameters `json:"forProvider"` }
A HookSpec defines the desired state of a Gitlab Project Hook.
func (*HookSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookSpec.
func (*HookSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HookStatus ¶
type HookStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider HookObservation `json:"atProvider,omitempty"` }
A HookStatus represents the observed state of a Gitlab Project Hook.
func (*HookStatus) DeepCopy ¶
func (in *HookStatus) DeepCopy() *HookStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookStatus.
func (*HookStatus) DeepCopyInto ¶
func (in *HookStatus) DeepCopyInto(out *HookStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastPipeline ¶ added in v0.4.0
type LastPipeline struct { ID int `json:"id"` SHA string `json:"sha"` Ref string `json:"ref"` Status string `json:"status"` WebURL string `json:"webUrl"` }
LastPipeline represents the last pipeline ran by schedule this will be returned only for individual schedule get operation
func (*LastPipeline) DeepCopy ¶ added in v0.4.0
func (in *LastPipeline) DeepCopy() *LastPipeline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastPipeline.
func (*LastPipeline) DeepCopyInto ¶ added in v0.4.0
func (in *LastPipeline) DeepCopyInto(out *LastPipeline)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Links ¶
type Links struct { Self string `json:"self"` Issues string `json:"issues"` MergeRequests string `json:"mergeRequests"` RepoBranches string `json:"repoBranches"` Labels string `json:"labels"` Events string `json:"events"` Members string `json:"members"` }
Links represents a project web links for self, issues, mergeRequests, repoBranches, labels, events, members.
func (*Links) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Links.
func (*Links) DeepCopyInto ¶
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 Project 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="Project ID",type="integer",JSONPath=".spec.forProvider.projectId" +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) GetManagementPolicies ¶ added in v0.6.0
func (mg *Member) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Member.
func (*Member) GetProviderConfigReference ¶
GetProviderConfigReference of this Member.
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 Project Member
func (*Member) SetConditions ¶
SetConditions of this Member.
func (*Member) SetDeletionPolicy ¶
func (mg *Member) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Member.
func (*Member) SetManagementPolicies ¶ added in v0.6.0
func (mg *Member) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Member.
func (*Member) SetProviderConfigReference ¶
SetProviderConfigReference of this Member.
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"` Email string `json:"email,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` CreatedAt *metav1.Time `json:"createdAt,omitempty"` WebURL string `json:"webURL,omitempty"` AvatarURL string `json:"avatarURL,omitempty"` }
MemberObservation represents a project member.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html#list-project-team-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 project owned by the authenticated user. // +optional // +immutable ProjectID *int `json:"projectId,omitempty"` // ProjectIDRef is a reference to a project to retrieve its projectId // +optional // +immutable ProjectIDRef *xpv1.Reference `json:"projectIdRef,omitempty"` // ProjectIDSelector selects reference to a project to retrieve its projectId. // +optional ProjectIDSelector *xpv1.Selector `json:"projectIdSelector,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 Project 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 MemberSpec ¶
type MemberSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider MemberParameters `json:"forProvider"` }
A MemberSpec defines the desired state of a Gitlab Project 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 Project 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 MergeMethodValue ¶
type MergeMethodValue string
MergeMethodValue represents a project merge type within GitLab.
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html#project-merge-method
const ( NoFastForwardMerge MergeMethodValue = "merge" FastForwardMerge MergeMethodValue = "ff" RebaseMerge MergeMethodValue = "rebase_merge" )
List of available merge type
GitLab API docs: https://docs.gitlab.com/ce/api/projects.html#project-merge-method
type NotificationLevelValue ¶
type NotificationLevelValue int
NotificationLevelValue represents a notification level.
type Permissions ¶
type Permissions struct { ProjectAccess *ProjectAccess `json:"projectAccess,omitempty"` GroupAccess *GroupAccess `json:"groupAccess,omitempty"` }
Permissions represents permissions.
func (*Permissions) DeepCopy ¶
func (in *Permissions) DeepCopy() *Permissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permissions.
func (*Permissions) DeepCopyInto ¶
func (in *Permissions) DeepCopyInto(out *Permissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineSchedule ¶ added in v0.4.0
type PipelineSchedule struct { metav1.TypeMeta `json:","` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PipelineScheduleSpec `json:"spec"` Status PipelineScheduleStatus `json:"status,omitempty"` }
A PipelineSchedule is a managed resource that represents a Gitlab Pipeline Schedule. +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 (*PipelineSchedule) DeepCopy ¶ added in v0.4.0
func (in *PipelineSchedule) DeepCopy() *PipelineSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineSchedule.
func (*PipelineSchedule) DeepCopyInto ¶ added in v0.4.0
func (in *PipelineSchedule) DeepCopyInto(out *PipelineSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineSchedule) DeepCopyObject ¶ added in v0.4.0
func (in *PipelineSchedule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PipelineSchedule) GetCondition ¶ added in v0.4.0
func (mg *PipelineSchedule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PipelineSchedule.
func (*PipelineSchedule) GetDeletionPolicy ¶ added in v0.4.0
func (mg *PipelineSchedule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PipelineSchedule.
func (*PipelineSchedule) GetManagementPolicies ¶ added in v0.6.0
func (mg *PipelineSchedule) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PipelineSchedule.
func (*PipelineSchedule) GetProviderConfigReference ¶ added in v0.4.0
func (mg *PipelineSchedule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PipelineSchedule.
func (*PipelineSchedule) GetPublishConnectionDetailsTo ¶ added in v0.4.0
func (mg *PipelineSchedule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PipelineSchedule.
func (*PipelineSchedule) GetWriteConnectionSecretToReference ¶ added in v0.4.0
func (mg *PipelineSchedule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PipelineSchedule.
func (*PipelineSchedule) ResolveReferences ¶ added in v0.4.0
ResolveReferences of this PipelineSchedule.
func (*PipelineSchedule) SetConditions ¶ added in v0.4.0
func (mg *PipelineSchedule) SetConditions(c ...xpv1.Condition)
SetConditions of this PipelineSchedule.
func (*PipelineSchedule) SetDeletionPolicy ¶ added in v0.4.0
func (mg *PipelineSchedule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PipelineSchedule.
func (*PipelineSchedule) SetManagementPolicies ¶ added in v0.6.0
func (mg *PipelineSchedule) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PipelineSchedule.
func (*PipelineSchedule) SetProviderConfigReference ¶ added in v0.4.0
func (mg *PipelineSchedule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PipelineSchedule.
func (*PipelineSchedule) SetPublishConnectionDetailsTo ¶ added in v0.4.0
func (mg *PipelineSchedule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PipelineSchedule.
func (*PipelineSchedule) SetWriteConnectionSecretToReference ¶ added in v0.4.0
func (mg *PipelineSchedule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PipelineSchedule.
type PipelineScheduleList ¶ added in v0.4.0
type PipelineScheduleList struct { metav1.TypeMeta `json:","` metav1.ListMeta `json:"metadata,omitempty"` Items []PipelineSchedule `json:"items"` }
PipelineScheduleList contains a list of Pipeline Schedule items.
func (*PipelineScheduleList) DeepCopy ¶ added in v0.4.0
func (in *PipelineScheduleList) DeepCopy() *PipelineScheduleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineScheduleList.
func (*PipelineScheduleList) DeepCopyInto ¶ added in v0.4.0
func (in *PipelineScheduleList) DeepCopyInto(out *PipelineScheduleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineScheduleList) DeepCopyObject ¶ added in v0.4.0
func (in *PipelineScheduleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PipelineScheduleList) GetItems ¶ added in v0.4.0
func (l *PipelineScheduleList) GetItems() []resource.Managed
GetItems of this PipelineScheduleList.
type PipelineScheduleObservation ¶ added in v0.4.0
type PipelineScheduleObservation struct { ID *int `json:"id,omitempty"` NextRunAt *metav1.Time `json:"nextRunAt,omitempty"` CreatedAt *metav1.Time `json:"createdAt,omitempty"` UpdatedAt *metav1.Time `json:"updatedAt,omitempty"` Owner *User `json:"owner,omitempty"` LastPipeline *LastPipeline `json:"lastPipeline,omitempty"` }
PipelineScheduleObservation represents observed stated of Gitlab Pipeline Schedule. https://docs.gitlab.com/ee/api/pipeline_schedules.htm
func (*PipelineScheduleObservation) DeepCopy ¶ added in v0.4.0
func (in *PipelineScheduleObservation) DeepCopy() *PipelineScheduleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineScheduleObservation.
func (*PipelineScheduleObservation) DeepCopyInto ¶ added in v0.4.0
func (in *PipelineScheduleObservation) DeepCopyInto(out *PipelineScheduleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineScheduleParameters ¶ added in v0.4.0
type PipelineScheduleParameters struct { // The ID or URL-encoded path of the project owned by the authenticated user. // +optional // +immutable // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-gitlab/apis/projects/v1alpha1.Project // +crossplane:generate:reference:refFieldName=ProjectIDRef // +crossplane:generate:reference:selectorFieldName=ProjectIDSelector ProjectID *string `json:"projectId,omitempty"` // ProjectIDRef is a reference to a project to retrieve its ProjectID. // +optional // +immutable ProjectIDRef *xpv1.Reference `json:"projectIdRef,omitempty"` // ProjectIDSelector selects reference to a project to retrieve its ProjectID. // +optional // +immutable ProjectIDSelector *xpv1.Selector `json:"projectIdSelector,omitempty"` // Description is a description of the pipeline schedule. // +required Description string `json:"description"` // Ref is the branch or tag name that is triggered. // +required Ref string `json:"ref"` // Cron is the cron schedule, for example: 0 1 * * *. // +required Cron string `json:"cron"` // CronTimezone is the time zone supported by ActiveSupport::TimeZone, // for example: Pacific Time (US & Canada) (default: UTC). // +optional CronTimezone *string `json:"cronTimezone,omitempty"` // Active is the activation of pipeline schedule. // If false is set, the pipeline schedule is initially deactivated (default: true). // +optional Active *bool `json:"active,omitempty"` // PipelineVariables is a type of environment variable. Variables []PipelineVariable `json:"variables,omitempty"` }
PipelineScheduleParameters represents a pipeline schedule.
GitLab API docs: https://docs.gitlab.com/ee/api/pipeline_schedules.html At least 1 of [ProjectID, ProjectIDRef, ProjectIDSelector] required.
func (*PipelineScheduleParameters) DeepCopy ¶ added in v0.4.0
func (in *PipelineScheduleParameters) DeepCopy() *PipelineScheduleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineScheduleParameters.
func (*PipelineScheduleParameters) DeepCopyInto ¶ added in v0.4.0
func (in *PipelineScheduleParameters) DeepCopyInto(out *PipelineScheduleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineScheduleSpec ¶ added in v0.4.0
type PipelineScheduleSpec struct { xpv1.ResourceSpec `json:","` ForProvider PipelineScheduleParameters `json:"forProvider"` }
PipelineScheduleSpec defines desired state of Gitlab Pipeline Schedule.
func (*PipelineScheduleSpec) DeepCopy ¶ added in v0.4.0
func (in *PipelineScheduleSpec) DeepCopy() *PipelineScheduleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineScheduleSpec.
func (*PipelineScheduleSpec) DeepCopyInto ¶ added in v0.4.0
func (in *PipelineScheduleSpec) DeepCopyInto(out *PipelineScheduleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineScheduleStatus ¶ added in v0.4.0
type PipelineScheduleStatus struct { xpv1.ResourceStatus `json:","` AtProvider PipelineScheduleObservation `json:"atProvider,omitempty"` }
PipelineScheduleStatus represents observed state of Gitlab Pipeline Schedule.
func (*PipelineScheduleStatus) DeepCopy ¶ added in v0.4.0
func (in *PipelineScheduleStatus) DeepCopy() *PipelineScheduleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineScheduleStatus.
func (*PipelineScheduleStatus) DeepCopyInto ¶ added in v0.4.0
func (in *PipelineScheduleStatus) DeepCopyInto(out *PipelineScheduleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineVariable ¶ added in v0.4.0
type PipelineVariable struct { Key string `json:"key"` Value string `json:"value"` // +optional VariableType *string `json:"variableType,omitempty"` }
PipelineVariable represents a pipeline variable.
GitLab API docs: https://docs.gitlab.com/ee/api/pipelines.html
func (*PipelineVariable) DeepCopy ¶ added in v0.4.0
func (in *PipelineVariable) DeepCopy() *PipelineVariable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineVariable.
func (*PipelineVariable) DeepCopyInto ¶ added in v0.4.0
func (in *PipelineVariable) DeepCopyInto(out *PipelineVariable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Project ¶
type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProjectSpec `json:"spec"` Status ProjectStatus `json:"status,omitempty"` }
A Project is a managed resource that represents a Gitlab Project +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="PATH WITH NAMESPACE",type="string",JSONPath=".status.atProvider.pathWithNamespace" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gitlab}
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Project) GetCondition ¶
func (mg *Project) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Project.
func (*Project) GetDeletionPolicy ¶
func (mg *Project) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Project.
func (*Project) GetManagementPolicies ¶ added in v0.6.0
func (mg *Project) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Project.
func (*Project) GetProviderConfigReference ¶
GetProviderConfigReference of this Project.
func (*Project) GetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Project) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Project.
func (*Project) GetWriteConnectionSecretToReference ¶
func (mg *Project) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Project.
func (*Project) ResolveReferences ¶
ResolveReferences of this Project
func (*Project) SetConditions ¶
SetConditions of this Project.
func (*Project) SetDeletionPolicy ¶
func (mg *Project) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Project.
func (*Project) SetManagementPolicies ¶ added in v0.6.0
func (mg *Project) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Project.
func (*Project) SetProviderConfigReference ¶
SetProviderConfigReference of this Project.
func (*Project) SetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Project) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Project.
func (*Project) SetWriteConnectionSecretToReference ¶
func (mg *Project) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Project.
type ProjectAccess ¶
type ProjectAccess struct { AccessLevel AccessLevelValue `json:"accessLevel"` NotificationLevel NotificationLevelValue `json:"notificationLevel"` }
ProjectAccess represents project access.
func (*ProjectAccess) DeepCopy ¶
func (in *ProjectAccess) DeepCopy() *ProjectAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectAccess.
func (*ProjectAccess) DeepCopyInto ¶
func (in *ProjectAccess) DeepCopyInto(out *ProjectAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectLicense ¶
type ProjectLicense struct { Key string `json:"key"` Name string `json:"name"` Nickname string `json:"nickname"` HTMLURL string `json:"HTMLURL"` SourceURL string `json:"sourceURL"` }
ProjectLicense represent the license for a project.
func (*ProjectLicense) DeepCopy ¶
func (in *ProjectLicense) DeepCopy() *ProjectLicense
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectLicense.
func (*ProjectLicense) DeepCopyInto ¶
func (in *ProjectLicense) DeepCopyInto(out *ProjectLicense)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectList ¶
type ProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Project `json:"items"` }
ProjectList contains a list of Project items
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectList) GetItems ¶
func (l *ProjectList) GetItems() []resource.Managed
GetItems of this ProjectList.
type ProjectNamespace ¶
type ProjectNamespace struct { ID int `json:"ID"` Name string `json:"name"` Path string `json:"path"` Kind string `json:"kind"` FullPath string `json:"fullPath"` AvatarURL string `json:"avatarURL"` WebURL string `json:"webURL"` }
ProjectNamespace represents a project namespace.
func (*ProjectNamespace) DeepCopy ¶
func (in *ProjectNamespace) DeepCopy() *ProjectNamespace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectNamespace.
func (*ProjectNamespace) DeepCopyInto ¶
func (in *ProjectNamespace) DeepCopyInto(out *ProjectNamespace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectObservation ¶
type ProjectObservation struct { ID int `json:"id,omitempty"` Archived bool `json:"archived,omitempty"` AvatarURL string `json:"avatarUrl,omitempty"` ComplianceFrameworks []string `json:"complianceFrameworks,omitempty"` ContainerExpirationPolicy *ContainerExpirationPolicy `json:"containerExpirationPolicy,omitempty"` CreatedAt *metav1.Time `json:"createdAt,omitempty"` CreatorID int `json:"creatorId,omitempty"` CustomAttributes []CustomAttribute `json:"customAttributes,omitempty"` EmptyRepo bool `json:"emptyRepo,omitempty"` ForkedFromProject *ForkParent `json:"forkedFromProject,omitempty"` ForksCount int `json:"forksCount,omitempty"` HTTPURLToRepo string `json:"httpUrlToRepo,omitempty"` ImportError string `json:"importError,omitempty"` ImportStatus string `json:"importStatus,omitempty"` IssuesEnabled bool `json:"issuesEnabled,omitempty"` JobsEnabled bool `json:"jobsEnabled,omitempty"` IssuesAccessLevel AccessControlValue `json:"issuesAccessLevel,omitempty"` BuildsAccessLevel AccessControlValue `json:"buildsAccessLevel,omitempty"` LastActivityAt *metav1.Time `json:"lastActivityAt,omitempty"` License *ProjectLicense `json:"license,omitempty"` LicenseURL string `json:"licenseUrl,omitempty"` Links *Links `json:"links,omitempty"` MarkedForDeletionAt *metav1.Time `json:"markedForDeletionAt,omitempty"` MergeRequestsEnabled bool `json:"mergeRequestsEnabled,omitempty"` MarkedForDeletionOn *metav1.Time `json:"markedForDeletionOn,omitempty"` MergeRequestsAccessLevel AccessControlValue `json:"mergeRequestsAccessLevel,omitempty"` NameWithNamespace string `json:"nameWithNamespace,omitempty"` Namespace *ProjectNamespace `json:"namespace,omitempty"` OpenIssuesCount int `json:"openIssuesCount,omitempty"` Owner *User `json:"owner,omitempty"` PathWithNamespace string `json:"pathWithNamespace,omitempty"` Permissions *Permissions `json:"permissions,omitempty"` Public bool `json:"public,omitempty"` ReadmeURL string `json:"readmeUrl,omitempty"` SSHURLToRepo string `json:"sshUrlToRepo,omitempty"` ServiceDeskAddress string `json:"serviceDeskAddress,omitempty"` SnippetsEnabled bool `json:"snippetsEnabled,omitempty"` SnippetsAccessLevel AccessControlValue `json:"snippetsAccessLevel,omitempty"` StarCount int `json:"starCount,omitempty"` Statistics *ProjectStatistics `json:"statistics,omitempty"` WebURL string `json:"webUrl,omitempty"` WikiEnabled bool `json:"wikiEnabled,omitempty"` WikiAccessLevel AccessControlValue `json:"wikiAccessLevel,omitempty"` }
ProjectObservation is the observed state of a Project.
func (*ProjectObservation) DeepCopy ¶
func (in *ProjectObservation) DeepCopy() *ProjectObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectObservation.
func (*ProjectObservation) DeepCopyInto ¶
func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectParameters ¶
type ProjectParameters struct { // Set whether or not merge requests can be merged with skipped jobs. // +optional AllowMergeOnSkippedPipeline *bool `json:"allowMergeOnSkippedPipeline,omitempty"` // How many approvers should approve merge request by default.More actions // To configure approval rules, see Merge request approvals API. // Deprecated: use Approvals Resource instead // +optional ApprovalsBeforeMerge *int `json:"approvalsBeforeMerge,omitempty"` // Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled. // +optional AutoCancelPendingPipelines *string `json:"autoCancelPendingPipelines,omitempty"` // Auto Deploy strategy (continuous, manual or timedIncremental). // +optional AutoDevopsDeployStrategy *string `json:"autoDevopsDeployStrategy,omitempty"` // Enable Auto DevOps for this project. // +optional AutoDevopsEnabled *bool `json:"autoDevopsEnabled,omitempty"` // Set whether auto-closing referenced issues on default branch. // +optional AutocloseReferencedIssues *bool `json:"autocloseReferencedIssues,omitempty"` // Test coverage parsing. // +optional BuildCoverageRegex *string `json:"buildCoverageRegex,omitempty"` // The Git strategy. Defaults to fetch. // +optional BuildGitStrategy *string `json:"buildGitStrategy,omitempty"` // The maximum amount of time, in seconds, that a job can run. // +optional BuildTimeout *int `json:"buildTimeout,omitempty"` // One of disabled, private, or enabled. // +optional BuildsAccessLevel *AccessControlValue `json:"buildsAccessLevel,omitempty"` // The path to CI configuration file. // +optional CIConfigPath *string `json:"ciConfigPath,omitempty"` // Default number of revisions for shallow cloning. // +optional CIDefaultGitDepth *int `json:"ciDefaultGitDepth,omitempty"` // When a new deployment job starts, skip older deployment jobs that are still pending // +optional CIForwardDeploymentEnabled *bool `json:"ciForwardDeploymentEnabled,omitempty"` // Update the image cleanup policy for this project. Accepts: cadence (string), keepN (integer), olderThan (string), // nameRegex (string), nameRegexDelete (string), nameRegexKeep (string), enabled (boolean). // +optional ContainerExpirationPolicyAttributes *ContainerExpirationPolicyAttributes `json:"containerExpirationPolicyAttributes,omitempty"` // Enable container registry for this project. // // Deprecated: Use ContainerRegistryAccessLevel. // // +optional ContainerRegistryEnabled *bool `json:"containerRegistryEnabled,omitempty"` // Set visibility of container registry. // +optional ContainerRegistryAccessLevel *AccessControlValue `json:"containerRegistryAccessLevel,omitempty"` // The default branch name. Requires initializeWithReadme to be true. // +optional DefaultBranch *string `json:"defaultBranch,omitempty"` // Short project description. // +optional Description *string `json:"description,omitempty"` // Name is the human-readable name of the project. // If set, it overrides metadata.name. // +kubebuilder:validation:MaxLength:=255 // +optional Name *string `json:"name,omitempty"` // Disable email notifications. // +optional EmailsDisabled *bool `json:"emailsDisabled,omitempty"` // The classification label for the project. // +optional ExternalAuthorizationClassificationLabel *string `json:"externalAuthorizationClassificationLabel,omitempty"` // One of disabled, private, or enabled. // +optional ForkingAccessLevel *AccessControlValue `json:"forkingAccessLevel,omitempty"` // For group-level custom templates, specifies ID of group from which all the custom project templates are sourced. // Leave empty for instance-level templates. Requires useCustomTemplate to be true. // +optional // +immutable GroupWithProjectTemplatesID *int `json:"groupWithProjectTemplatesId,omitempty"` // URL to import repository from. // +optional ImportURL *string `json:"importUrl,omitempty"` // false by default. // +optional // +immutable InitializeWithReadme *bool `json:"initializeWithReadme,omitempty"` // One of disabled, private, or enabled. // +optional IssuesAccessLevel *AccessControlValue `json:"issuesAccessLevel,omitempty"` // Default description for Issues. Description is parsed with GitLab Flavored Markdown. // See Templates for issues and merge requests. // +optional IssuesTemplate *string `json:"issuesTemplate,omitempty"` // Enable LFS. // +optional LFSEnabled *bool `json:"lfsEnabled,omitempty"` // Set the merge method used. // +optional MergeMethod *MergeMethodValue `json:"mergeMethod,omitempty"` // One of disabled, private, or enabled. // +optional MergeRequestsAccessLevel *AccessControlValue `json:"mergeRequestsAccessLevel,omitempty"` // Default description for Merge Requests. Description is parsed with GitLab Flavored Markdown. // See Templates for issues and merge requests. // +optional MergeRequestsTemplate *string `json:"mergeRequestsTemplate,omitempty"` // Enables pull mirroring in a project. // +optional Mirror *bool `json:"mirror,omitempty"` // Pull mirror overwrites diverged branches. // +optional MirrorOverwritesDivergedBranches *bool `json:"mirrorOverwritesDivergedBranches,omitempty"` // Pull mirroring triggers builds. // +optional MirrorTriggerBuilds *bool `json:"mirrorTriggerBuilds,omitempty"` // User responsible for all the activity surrounding a pull mirror event. (admins only) // +optional MirrorUserID *int `json:"mirrorUserId,omitempty"` // Namespace for the new project (defaults to the current user’s namespace). // +optional NamespaceID *int `json:"namespaceId,omitempty"` // NamespaceIDRef is a reference to a project to retrieve its namespaceId // +optional // +immutable NamespaceIDRef *xpv1.Reference `json:"namespaceIdRef,omitempty"` // NamespaceIDSelector selects reference to a project to retrieve its namespaceId. // +optional NamespaceIDSelector *xpv1.Selector `json:"namespaceIdSelector,omitempty"` // Set whether merge requests can only be merged when all the discussions are resolved. // +optional OnlyAllowMergeIfAllDiscussionsAreResolved *bool `json:"onlyAllowMergeIfAllDiscussionsAreResolved,omitempty"` // Set whether merge requests can only be merged with successful jobs. // +optional OnlyAllowMergeIfPipelineSucceeds *bool `json:"onlyAllowMergeIfPipelineSucceeds,omitempty"` // Only mirror protected branches. // +optional OnlyMirrorProtectedBranches *bool `json:"onlyMirrorProtectedBranches,omitempty"` // One of disabled, private, or enabled. // +optional OperationsAccessLevel *AccessControlValue `json:"operationsAccessLevel,omitempty"` // Enable or disable packages repository feature. // +optional PackagesEnabled *bool `json:"packagesEnabled,omitempty"` // One of disabled, private, enabled, or public. // +optional PagesAccessLevel *AccessControlValue `json:"pagesAccessLevel,omitempty"` // Repository name for new project. // Generated based on name if not provided (generated as lowercase with dashes). // +optional Path *string `json:"path,omitempty"` // Show link to create/view merge request when pushing from the command line. // +optional // +immutable PrintingMergeRequestLinkEnabled *bool `json:"printingMergeRequestLinkEnabled,omitempty"` // If true, jobs can be viewed by non-project members. // +optional PublicBuilds *bool `json:"publicBuilds,omitempty"` // PushRule specifies are pre-receive Git hooks you can enable in a // user-friendly interface. // Push rules give you more control over what can and can’t be pushed to // your repository. // +optional PushRules *PushRules `json:"pushRules,omitempty"` // Enable Delete source branch option by default for all new merge requests. // +optional RemoveSourceBranchAfterMerge *bool `json:"removeSourceBranchAfterMerge,omitempty"` // One of disabled, private, or enabled. // +optional RepositoryAccessLevel *AccessControlValue `json:"repositoryAccessLevel,omitempty"` // Allow users to request member access. // +optional RequestAccessEnabled *bool `json:"requestAccessEnabled,omitempty"` // Automatically resolve merge request diffs discussions on lines changed with a push. // +optional ResolveOutdatedDiffDiscussions *bool `json:"resolveOutdatedDiffDiscussions,omitempty"` // Enable or disable Service Desk feature. // +optional ServiceDeskEnabled *bool `json:"serviceDeskEnabled,omitempty"` // +optional SharedRunnersEnabled *bool `json:"sharedRunnersEnabled,omitempty"` // One of disabled, private, or enabled. // +optional SnippetsAccessLevel *AccessControlValue `json:"snippetsAccessLevel,omitempty"` // The commit message used to apply merge request suggestions. // +optional SuggestionCommitMessage *string `json:"suggestionCommitMessage,omitempty"` // The list of tags for a project; put array of tags, // that should be finally assigned to a project. // // Deprecated: Use topics instead. // // +optional TagList []string `json:"tagList,omitempty"` // The list of topics for the project; // +optional Topics []string `json:"topics,omitempty"` // When used without useCustomTemplate, name of a built-in project template. // When used with useCustomTemplate, name of a custom project template. // +optional // +immutable TemplateName *string `json:"templateName,omitempty"` // When used with useCustomTemplate, project ID of a custom project template. // This is preferable to using templateName since templateName may be ambiguous. // +optional // +immutable TemplateProjectID *int `json:"templateProjectId,omitempty"` // Use either custom instance or group (with groupWithProjectTemplatesId) project template. // +optional // +immutable UseCustomTemplate *bool `json:"useCustomTemplate,omitempty"` // See project visibility level. // +optional Visibility *VisibilityValue `json:"visibility,omitempty"` // One of disabled, private, or enabled. // +optional WikiAccessLevel *AccessControlValue `json:"wikiAccessLevel,omitempty"` // Force the immediate deletion of the project when removed. In GitLab Premium and Ultimate a project is by default // just marked for deletion and removed permanently after seven days. Defaults to false. // +optional PermanentlyRemove *bool `json:"permanentlyRemove,omitempty"` // RemoveFinalizerOnPendingDeletion specifies wether the finalizer of this // object should be removed in case the Kubernetes object and // the external Gitlab project are marked for pending deletion. RemoveFinalizerOnPendingDeletion *bool `json:"removeFinalizerOnPendingDeletion,omitempty"` }
ProjectParameters define the desired state of a Gitlab Project
func (*ProjectParameters) DeepCopy ¶
func (in *ProjectParameters) DeepCopy() *ProjectParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectParameters.
func (*ProjectParameters) DeepCopyInto ¶
func (in *ProjectParameters) DeepCopyInto(out *ProjectParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectSpec ¶
type ProjectSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider ProjectParameters `json:"forProvider"` }
A ProjectSpec defines the desired state of a Gitlab Project.
func (*ProjectSpec) DeepCopy ¶
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectStatistics ¶
type ProjectStatistics struct { StorageStatistics `json:",inline"` CommitCount int `json:"commitCount"` }
ProjectStatistics represents a statistics record for a project.
func (*ProjectStatistics) DeepCopy ¶
func (in *ProjectStatistics) DeepCopy() *ProjectStatistics
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatistics.
func (*ProjectStatistics) DeepCopyInto ¶
func (in *ProjectStatistics) DeepCopyInto(out *ProjectStatistics)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectStatus ¶
type ProjectStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider ProjectObservation `json:"atProvider,omitempty"` }
A ProjectStatus represents the observed state of a Gitlab Project.
func (*ProjectStatus) DeepCopy ¶
func (in *ProjectStatus) DeepCopy() *ProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatus.
func (*ProjectStatus) DeepCopyInto ¶
func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PushRules ¶ added in v0.12.0
type PushRules struct { // All commit author emails must match this regular expression. AuthorEmailRegex *string `json:"authorEmailRegex,omitempty"` // All branch names must match this regular expression. BranchNameRegex *string `json:"branchNameRegex,omitempty"` // Users can only push commits to this repository if the committer email is // one of their own verified emails. CommitCommitterCheck *bool `json:"commitCommitterCheck,omitempty"` // Users can only push commits to this repository if the commit author name // is consistent with their GitLab account name. CommitCommitterNameCheck *bool `json:"commitCommitterNameCheck,omitempty"` // No commit message is allowed to match this regular expression. CommitMessageNegativeRegex *string `json:"commitMessageNegativeRegex,omitempty"` // All commit messages must match this regular expression. CommitMessageRegex *string `json:"commitMessageRegex,omitempty"` // Deny deleting a tag. DenyDeleteTag *bool `json:"denyDeleteTag,omitempty"` // All committed filenames must not match this regular expression. FileNameRegex *string `json:"fileNameRegex,omitempty"` // Maximum file size (MB). MaxFileSize *int `json:"maxFileSize,omitempty"` // Restrict commits by author (email) to existing GitLab users. MemberCheck *bool `json:"memberCheck,omitempty"` // GitLab rejects any files that are likely to contain secrets. PreventSecrets *bool `json:"preventSecrets,omitempty"` // Reject commit when it’s not signed. RejectUnsignedCommits *bool `json:"rejectUnsignedCommits,omitempty"` // Reject commit when it’s not DCO certified. RejectNonDCOCommits *bool `json:"rejectNonDcoCommits,omitempty"` }
func (*PushRules) DeepCopy ¶ added in v0.12.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushRules.
func (*PushRules) DeepCopyInto ¶ added in v0.12.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Runner ¶ added in v0.13.0
type Runner struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RunnerSpec `json:"spec"` Status RunnerStatus `json:"status,omitempty"` }
A Runner is a managed resource that represents a GitLab Runner linked to a project. Project runners can execute CI/CD jobs exclusively for the associated project and provide dedicated runner resources for a single project.
IMPORTANT: You MUST specify either writeConnectionSecretToRef or publishConnectionDetailsTo to receive the runner token. Without the token, the runner cannot be registered and is unusable. The token is required to configure the actual GitLab Runner agent.
Example usage:
spec: writeConnectionSecretToRef: name: my-runner-token namespace: default
When a Runner is created, it generates a runner token that must be used to register the actual GitLab Runner agent with the GitLab instance. The runner token is made available through Kubernetes secrets via connection details.
GitLab API docs: https://docs.gitlab.com/ee/api/users.html#create-a-runner https://docs.gitlab.com/ee/api/runners.html +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 (*Runner) DeepCopy ¶ added in v0.13.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Runner.
func (*Runner) DeepCopyInto ¶ added in v0.13.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Runner) DeepCopyObject ¶ added in v0.13.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Runner) GetCondition ¶ added in v0.13.0
func (mg *Runner) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Runner.
func (*Runner) GetDeletionPolicy ¶ added in v0.13.0
func (mg *Runner) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Runner.
func (*Runner) GetManagementPolicies ¶ added in v0.13.0
func (mg *Runner) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Runner.
func (*Runner) GetProviderConfigReference ¶ added in v0.13.0
GetProviderConfigReference of this Runner.
func (*Runner) GetPublishConnectionDetailsTo ¶ added in v0.13.0
func (mg *Runner) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Runner.
func (*Runner) GetWriteConnectionSecretToReference ¶ added in v0.13.0
func (mg *Runner) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Runner.
func (*Runner) ResolveReferences ¶ added in v0.13.0
ResolveReferences of this Runner
func (*Runner) SetConditions ¶ added in v0.13.0
SetConditions of this Runner.
func (*Runner) SetDeletionPolicy ¶ added in v0.13.0
func (mg *Runner) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Runner.
func (*Runner) SetManagementPolicies ¶ added in v0.13.0
func (mg *Runner) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Runner.
func (*Runner) SetProviderConfigReference ¶ added in v0.13.0
SetProviderConfigReference of this Runner.
func (*Runner) SetPublishConnectionDetailsTo ¶ added in v0.13.0
func (mg *Runner) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Runner.
func (*Runner) SetWriteConnectionSecretToReference ¶ added in v0.13.0
func (mg *Runner) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Runner.
type RunnerList ¶ added in v0.13.0
type RunnerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Runner `json:"items"` }
RunnerList contains a list of project Runner resources.
func (*RunnerList) DeepCopy ¶ added in v0.13.0
func (in *RunnerList) DeepCopy() *RunnerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerList.
func (*RunnerList) DeepCopyInto ¶ added in v0.13.0
func (in *RunnerList) DeepCopyInto(out *RunnerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunnerList) DeepCopyObject ¶ added in v0.13.0
func (in *RunnerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RunnerList) GetItems ¶ added in v0.13.0
func (l *RunnerList) GetItems() []resource.Managed
GetItems of this RunnerList.
type RunnerObservation ¶ added in v0.13.0
type RunnerObservation struct { // CommonRunnerObservation contains the common observed fields // shared between group and project runners. commonv1alpha1.CommonRunnerObservation `json:",inline"` // Projects contains the list of projects that this runner is associated with. // For project runners, this typically contains only the primary project. Projects []RunnerProject `json:"projects"` }
RunnerObservation represents the observed state of a project Runner. This includes the common runner properties as well as project-specific information.
GitLab API docs: https://docs.gitlab.com/ee/api/runners.html#get-runners-details
func (*RunnerObservation) DeepCopy ¶ added in v0.13.0
func (in *RunnerObservation) DeepCopy() *RunnerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerObservation.
func (*RunnerObservation) DeepCopyInto ¶ added in v0.13.0
func (in *RunnerObservation) DeepCopyInto(out *RunnerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerParameters ¶ added in v0.13.0
type RunnerParameters struct { // ProjectID is the ID of the project to register the runner to. // The runner will be available to execute jobs exclusively for this project. // +optional // +immutable ProjectID *int `json:"projectId,omitempty"` // ProjectIDRef is a reference to a Project resource to retrieve its ID. // This provides a way to reference a project managed by Crossplane. // +optional // +immutable ProjectIDRef *xpv1.Reference `json:"projectIdRef,omitempty"` // ProjectIDSelector selects a reference to a Project resource to retrieve its ID. // This provides a way to dynamically select a project based on labels. // +optional // +immutable ProjectIDSelector *xpv1.Selector `json:"projectIdSelector,omitempty"` // CommonRunnerParameters contains the common runner configuration // parameters shared between group and project runners. commonv1alpha1.CommonRunnerParameters `json:",inline"` }
RunnerParameters define the desired state of a project Runner. A project Runner is a GitLab Runner that is linked to a specific project and can execute CI/CD jobs exclusively for that project.
GitLab API docs: https://docs.gitlab.com/ee/api/users.html#create-a-runner
func (*RunnerParameters) DeepCopy ¶ added in v0.13.0
func (in *RunnerParameters) DeepCopy() *RunnerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerParameters.
func (*RunnerParameters) DeepCopyInto ¶ added in v0.13.0
func (in *RunnerParameters) DeepCopyInto(out *RunnerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerProject ¶ added in v0.13.0
type RunnerProject struct { // ID is the unique identifier of the project. // +optional ID int `json:"id"` // Name is the name of the project. // +optional Name string `json:"name"` // NameWithNamespace is the full name of the project including its namespace. // This follows the format "namespace/project-name". // +optional NameWithNamespace string `json:"name_with_namespace"` // Path is the URL path segment for the project. // +optional Path string `json:"path"` // PathWithNamespace is the full path of the project including its namespace. // This follows the format "namespace/project-path" and is used in URLs. // +optional PathWithNamespace string `json:"path_with_namespace"` }
RunnerProject represents a GitLab project associated with a runner. This structure matches the project information returned by the GitLab API when retrieving runner details.
func (*RunnerProject) DeepCopy ¶ added in v0.13.0
func (in *RunnerProject) DeepCopy() *RunnerProject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerProject.
func (*RunnerProject) DeepCopyInto ¶ added in v0.13.0
func (in *RunnerProject) DeepCopyInto(out *RunnerProject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerSpec ¶ added in v0.13.0
type RunnerSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider RunnerParameters `json:"forProvider"` }
RunnerSpec defines the desired state of a project Runner. This includes the configuration parameters for creating and managing a GitLab Runner linked to a specific project.
func (*RunnerSpec) DeepCopy ¶ added in v0.13.0
func (in *RunnerSpec) DeepCopy() *RunnerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerSpec.
func (*RunnerSpec) DeepCopyInto ¶ added in v0.13.0
func (in *RunnerSpec) DeepCopyInto(out *RunnerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerStatus ¶ added in v0.13.0
type RunnerStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider RunnerObservation `json:"atProvider,omitempty"` }
RunnerStatus represents the observed state of a project Runner. This includes the current status and properties of the runner as reported by the GitLab API.
func (*RunnerStatus) DeepCopy ¶ added in v0.13.0
func (in *RunnerStatus) DeepCopy() *RunnerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerStatus.
func (*RunnerStatus) DeepCopyInto ¶ added in v0.13.0
func (in *RunnerStatus) DeepCopyInto(out *RunnerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SharedWithGroups ¶
type SharedWithGroups struct {}
SharedWithGroups struct used in gitlab project
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 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 Token ¶ added in v0.9.0
type Token struct {
SecretRef *xpv1.SecretKeySelector `json:"secretRef"`
}
func (*Token) DeepCopy ¶ added in v0.9.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Token.
func (*Token) DeepCopyInto ¶ added in v0.9.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { ID int `json:"ID,omitempty"` Username string `json:"username,omitempty"` Email string `json:"email,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` WebURL string `json:"webURL,omitempty"` CreatedAt *metav1.Time `json:"createdAt,omitempty"` Bio string `json:"bio,omitempty"` Location string `json:"location,omitempty"` PublicEmail string `json:"publicEmail,omitempty"` Skype string `json:"skype,omitempty"` Linkedin string `json:"linkedin,omitempty"` Twitter string `json:"twitter,omitempty"` WebsiteURL string `json:"websiteURL,omitempty"` Organization string `json:"organization,omitempty"` ExternUID string `json:"externUID,omitempty"` Provider string `json:"provider,omitempty"` ThemeID int `json:"themeID,omitempty"` LastActivityOn *metav1.Time `json:"lastActivityOn,omitempty"` ColorSchemeID int `json:"colorSchemeID,omitempty"` IsAdmin bool `json:"isAdmin,omitempty"` AvatarURL string `json:"avatarURL,omitempty"` CanCreateGroup bool `json:"canCreateGroup,omitempty"` CanCreateProject bool `json:"canCreateProject,omitempty"` ProjectsLimit int `json:"projectsLimit,omitempty"` CurrentSignInAt *metav1.Time `json:"currentSignInAt,omitempty"` LastSignInAt *metav1.Time `json:"lastSignInAt,omitempty"` ConfirmedAt *metav1.Time `json:"confirmedAt,omitempty"` TwoFactorEnabled bool `json:"twoFactorEnabled,omitempty"` Identities []*UserIdentity `json:"identities,omitempty"` External bool `json:"external,omitempty"` PrivateProfile bool `json:"privateProfile,omitempty"` CustomAttributes []*CustomAttribute `json:"customAttributes,omitempty"` }
User represents a GitLab user.
GitLab API docs: https://docs.gitlab.com/ee/api/users.html
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserIdentity ¶
UserIdentity represents a user identity.
func (*UserIdentity) DeepCopy ¶
func (in *UserIdentity) DeepCopy() *UserIdentity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserIdentity.
func (*UserIdentity) DeepCopyInto ¶
func (in *UserIdentity) DeepCopyInto(out *UserIdentity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Variable ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.
func (*Variable) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Variable) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Variable) GetCondition ¶
func (mg *Variable) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Variable.
func (*Variable) GetDeletionPolicy ¶
func (mg *Variable) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Variable.
func (*Variable) GetManagementPolicies ¶ added in v0.6.0
func (mg *Variable) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Variable.
func (*Variable) GetProviderConfigReference ¶
GetProviderConfigReference of this Variable.
func (*Variable) GetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Variable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Variable.
func (*Variable) GetWriteConnectionSecretToReference ¶
func (mg *Variable) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Variable.
func (*Variable) ResolveReferences ¶
ResolveReferences of this Variable
func (*Variable) SetConditions ¶
SetConditions of this Variable.
func (*Variable) SetDeletionPolicy ¶
func (mg *Variable) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Variable.
func (*Variable) SetManagementPolicies ¶ added in v0.6.0
func (mg *Variable) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Variable.
func (*Variable) SetProviderConfigReference ¶
SetProviderConfigReference of this Variable.
func (*Variable) SetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *Variable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Variable.
func (*Variable) SetWriteConnectionSecretToReference ¶
func (mg *Variable) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Variable.
type VariableList ¶
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 ¶
func (in *VariableList) DeepCopy() *VariableList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableList.
func (*VariableList) DeepCopyInto ¶
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 ¶
func (in *VariableList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VariableList) GetItems ¶
func (l *VariableList) GetItems() []resource.Managed
GetItems of this VariableList.
type VariableParameters ¶
type VariableParameters struct { // ProjectID is the ID of the project to create the variable on. // +optional // +immutable ProjectID *int `json:"projectId,omitempty"` // ProjectIDRef is a reference to a project to retrieve its projectId. // +optional // +immutable ProjectIDRef *xpv1.Reference `json:"projectIdRef,omitempty"` // ProjectIDSelector selects reference to a project to retrieve its projectId. // +optional ProjectIDSelector *xpv1.Selector `json:"projectIdSelector,omitempty"` // Key for the variable. // +kubebuilder:validation:Pattern:=^[a-zA-Z0-9\_]+$ // +kubebuilder:validation:MaxLength:=255 // +immutable Key string `json:"key"` // Value for the 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 the variable. // +kubebuilder:validation:Enum:=env_var;file // +optional VariableType *VariableType `json:"variableType,omitempty"` // EnvironmentScope indicates the environment scope // that this variable is applied to. // +optional EnvironmentScope *string `json:"environmentScope,omitempty"` }
VariableParameters define the desired state of a Gitlab CI Variable https://docs.gitlab.com/ee/api/project_level_variables.html
func (*VariableParameters) DeepCopy ¶
func (in *VariableParameters) DeepCopy() *VariableParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableParameters.
func (*VariableParameters) DeepCopyInto ¶
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 ¶
type VariableSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider VariableParameters `json:"forProvider"` }
A VariableSpec defines the desired state of a Gitlab Project CI Variable.
func (*VariableSpec) DeepCopy ¶
func (in *VariableSpec) DeepCopy() *VariableSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableSpec.
func (*VariableSpec) DeepCopyInto ¶
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 ¶
type VariableStatus struct {
xpv1.ResourceStatus `json:",inline"`
}
A VariableStatus represents the observed state of a Gitlab Project CI Variable.
func (*VariableStatus) DeepCopy ¶
func (in *VariableStatus) DeepCopy() *VariableStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableStatus.
func (*VariableStatus) DeepCopyInto ¶
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 ¶
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/project_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/
Source Files
¶
- accesstoken_types.go
- approval_type.go
- deploykey_type.go
- deploytoken_types.go
- doc.go
- hook_types.go
- member_type.go
- pipelineschedule_types.go
- project_types.go
- referencers.go
- register.go
- runner_types.go
- variable_types.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go