v1alpha1

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 contains managed resources for Gitlab Projects +kubebuilder:object:generate=true +groupName=projects.gitlab.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "projects.gitlab.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
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}
)
View Source
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

View Source
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

View Source
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

View Source
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

View Source
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

View Source
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

View Source
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

View Source
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

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

func (mg *AccessToken) ResolveReferences(ctx context.Context, c client.Reader) error

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

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

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 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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerExpirationPolicy.

func (*ContainerExpirationPolicy) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerExpirationPolicyAttributes.

func (*ContainerExpirationPolicyAttributes) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomAttribute

type CustomAttribute struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

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

func (in *DeployKey) DeepCopy() *DeployKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKey.

func (*DeployKey) DeepCopyInto added in v0.4.0

func (in *DeployKey) DeepCopyInto(out *DeployKey)

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

func (in *DeployKey) DeepCopyObject() runtime.Object

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

func (mg *DeployKey) GetProviderConfigReference() *xpv1.Reference

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

func (mg *DeployKey) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this DeployKey.

func (*DeployKey) SetConditions added in v0.4.0

func (mg *DeployKey) SetConditions(c ...xpv1.Condition)

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

func (mg *DeployKey) SetProviderConfigReference(r *xpv1.Reference)

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

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

func (mg *DeployToken) ResolveReferences(ctx context.Context, c client.Reader) error

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

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

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

func (in *Hook) DeepCopy() *Hook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hook.

func (*Hook) DeepCopyInto

func (in *Hook) DeepCopyInto(out *Hook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Hook) DeepCopyObject

func (in *Hook) DeepCopyObject() runtime.Object

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

func (mg *Hook) GetProviderConfigReference() *xpv1.Reference

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

func (mg *Hook) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Hook

func (*Hook) SetConditions

func (mg *Hook) SetConditions(c ...xpv1.Condition)

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

func (mg *Hook) SetProviderConfigReference(r *xpv1.Reference)

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

func (in *HookList) DeepCopy() *HookList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookList.

func (*HookList) DeepCopyInto

func (in *HookList) DeepCopyInto(out *HookList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HookList) DeepCopyObject

func (in *HookList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*HookList) GetItems

func (l *HookList) GetItems() []resource.Managed

GetItems of this HookList.

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.
	// +optional
	Token *string `json:"token,omitempty"`
}

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

func (in *HookSpec) DeepCopy() *HookSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookSpec.

func (*HookSpec) DeepCopyInto

func (in *HookSpec) DeepCopyInto(out *HookSpec)

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"`
}

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 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

func (in *Links) DeepCopy() *Links

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Links.

func (*Links) DeepCopyInto

func (in *Links) DeepCopyInto(out *Links)

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

func (in *Member) DeepCopy() *Member

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Member.

func (*Member) DeepCopyInto

func (in *Member) DeepCopyInto(out *Member)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Member) DeepCopyObject

func (in *Member) DeepCopyObject() runtime.Object

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

func (mg *Member) GetProviderConfigReference() *xpv1.Reference

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

func (mg *Member) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Project Member

func (*Member) SetConditions

func (mg *Member) SetConditions(c ...xpv1.Condition)

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

func (mg *Member) SetProviderConfigReference(r *xpv1.Reference)

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

func (mg *PipelineSchedule) ResolveReferences(ctx context.Context, c client.Reader) error

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineScheduleObservation.

func (*PipelineScheduleObservation) DeepCopyInto added in v0.4.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineScheduleParameters.

func (*PipelineScheduleParameters) DeepCopyInto added in v0.4.0

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

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

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

func (in *Project) DeepCopy() *Project

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Project) DeepCopyObject

func (in *Project) DeepCopyObject() runtime.Object

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

func (mg *Project) GetProviderConfigReference() *xpv1.Reference

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

func (mg *Project) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Project

func (*Project) SetConditions

func (mg *Project) SetConditions(c ...xpv1.Condition)

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

func (mg *Project) SetProviderConfigReference(r *xpv1.Reference)

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"`
	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"`
	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"`
	SharedWithGroups          []SharedWithGroups         `json:"sharedWithGroups,omitempty"`
	SnippetsEnabled           bool                       `json:"snippetsEnabled,omitempty"`
	StarCount                 int                        `json:"starCount,omitempty"`
	Statistics                *ProjectStatistics         `json:"statistics,omitempty"`
	WebURL                    string                     `json:"webUrl,omitempty"`
	WikiEnabled               bool                       `json:"wikiEnabled,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.
	// To configure approval rules, see Merge request approvals API.
	// +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.
	// +optional
	ContainerRegistryEnabled *bool `json:"containerRegistryEnabled,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"`

	// 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"`

	// Enable shared runners for this project.
	// +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. Use topics instead.
	// +optional
	TagList []string `json:"tagList,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"`
}

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 SharedWithGroups

type SharedWithGroups struct {
	GroupID          int    `json:"groupID,omitempty"`
	GroupName        string `json:"groupName,omitempty"`
	GroupAccessLevel int    `json:"groupAccessLevel,omitempty"`
}

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 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"`
	SharedRunnersMinutesLimit int                `json:"sharedRunnersMinutesLimit,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

func (in *User) DeepCopy() *User

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserIdentity

type UserIdentity struct {
	Provider  string `json:"provider"`
	ExternUID string `json:"externUID"`
}

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

func (in *Variable) DeepCopy() *Variable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.

func (*Variable) DeepCopyInto

func (in *Variable) DeepCopyInto(out *Variable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Variable) DeepCopyObject

func (in *Variable) DeepCopyObject() runtime.Object

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

func (mg *Variable) GetProviderConfigReference() *xpv1.Reference

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

func (mg *Variable) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Variable

func (*Variable) SetConditions

func (mg *Variable) SetConditions(c ...xpv1.Condition)

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

func (mg *Variable) SetProviderConfigReference(r *xpv1.Reference)

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/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL