v1alpha1

package
v0.0.0-...-ed9de60 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=azuredevops.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "azuredevops.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Environment_Kind             = "Environment"
	Environment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Environment_Kind}.String()
	Environment_KindAPIVersion   = Environment_Kind + "." + CRDGroupVersion.String()
	Environment_GroupVersionKind = CRDGroupVersion.WithKind(Environment_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Project_Kind             = "Project"
	Project_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Project_Kind}.String()
	Project_KindAPIVersion   = Project_Kind + "." + CRDGroupVersion.String()
	Project_GroupVersionKind = CRDGroupVersion.WithKind(Project_Kind)
)

Repository type metadata.

View Source
var (
	ServiceEndpointKubernetes_Kind             = "ServiceEndpointKubernetes"
	ServiceEndpointKubernetes_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ServiceEndpointKubernetes_Kind}.String()
	ServiceEndpointKubernetes_KindAPIVersion   = ServiceEndpointKubernetes_Kind + "." + CRDGroupVersion.String()
	ServiceEndpointKubernetes_GroupVersionKind = CRDGroupVersion.WithKind(ServiceEndpointKubernetes_Kind)
)

Repository type metadata.

View Source
var (
	VariableGroup_Kind             = "VariableGroup"
	VariableGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VariableGroup_Kind}.String()
	VariableGroup_KindAPIVersion   = VariableGroup_Kind + "." + CRDGroupVersion.String()
	VariableGroup_GroupVersionKind = CRDGroupVersion.WithKind(VariableGroup_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AzureSubscriptionObservation

type AzureSubscriptionObservation struct {

	// Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
	// type of azure cloud: AzureCloud
	AzureEnvironment *string `json:"azureEnvironment,omitempty" tf:"azure_environment,omitempty"`

	// Set this option to allow use cluster admin credentials.
	// Enable Cluster Admin
	ClusterAdmin *bool `json:"clusterAdmin,omitempty" tf:"cluster_admin,omitempty"`

	// The name of the Kubernetes cluster.
	// name of aks-resource
	ClusterName *string `json:"clusterName,omitempty" tf:"cluster_name,omitempty"`

	// The Kubernetes namespace. Default value is "default".
	// accessed namespace
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The resource group name, to which the Kubernetes cluster is deployed.
	// id of resourcegroup
	ResourcegroupID *string `json:"resourcegroupId,omitempty" tf:"resourcegroup_id,omitempty"`

	// The id of the Azure subscription.
	// id of azure subscription
	SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"`

	// The name of the Azure subscription.
	// name of azure subscription
	SubscriptionName *string `json:"subscriptionName,omitempty" tf:"subscription_name,omitempty"`

	// The id of the tenant used by the subscription.
	// id of aad-tenant
	TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`
}

func (*AzureSubscriptionObservation) DeepCopy

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

func (*AzureSubscriptionObservation) DeepCopyInto

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

type AzureSubscriptionParameters

type AzureSubscriptionParameters struct {

	// Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
	// type of azure cloud: AzureCloud
	// +kubebuilder:validation:Optional
	AzureEnvironment *string `json:"azureEnvironment,omitempty" tf:"azure_environment,omitempty"`

	// Set this option to allow use cluster admin credentials.
	// Enable Cluster Admin
	// +kubebuilder:validation:Optional
	ClusterAdmin *bool `json:"clusterAdmin,omitempty" tf:"cluster_admin,omitempty"`

	// The name of the Kubernetes cluster.
	// name of aks-resource
	// +kubebuilder:validation:Required
	ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"`

	// The Kubernetes namespace. Default value is "default".
	// accessed namespace
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// The resource group name, to which the Kubernetes cluster is deployed.
	// id of resourcegroup
	// +kubebuilder:validation:Required
	ResourcegroupID *string `json:"resourcegroupId" tf:"resourcegroup_id,omitempty"`

	// The id of the Azure subscription.
	// id of azure subscription
	// +kubebuilder:validation:Required
	SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"`

	// The name of the Azure subscription.
	// name of azure subscription
	// +kubebuilder:validation:Required
	SubscriptionName *string `json:"subscriptionName" tf:"subscription_name,omitempty"`

	// The id of the tenant used by the subscription.
	// id of aad-tenant
	// +kubebuilder:validation:Required
	TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"`
}

func (*AzureSubscriptionParameters) DeepCopy

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

func (*AzureSubscriptionParameters) DeepCopyInto

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

type Environment

type Environment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	Spec   EnvironmentSpec   `json:"spec"`
	Status EnvironmentStatus `json:"status,omitempty"`
}

Environment is the Schema for the Environments API. Manages an Environment. +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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azuredevops}

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

func (*Environment) DeepCopyObject

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

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

func (*Environment) GetCondition

func (mg *Environment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Environment.

func (*Environment) GetConnectionDetailsMapping

func (tr *Environment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Environment

func (*Environment) GetDeletionPolicy

func (mg *Environment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Environment.

func (*Environment) GetID

func (tr *Environment) GetID() string

GetID returns ID of underlying Terraform resource of this Environment

func (*Environment) GetManagementPolicy

func (mg *Environment) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Environment.

func (*Environment) GetObservation

func (tr *Environment) GetObservation() (map[string]any, error)

GetObservation of this Environment

func (*Environment) GetParameters

func (tr *Environment) GetParameters() (map[string]any, error)

GetParameters of this Environment

func (*Environment) GetProviderConfigReference

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

GetProviderConfigReference of this Environment.

func (*Environment) GetProviderReference

func (mg *Environment) GetProviderReference() *xpv1.Reference

GetProviderReference of this Environment. Deprecated: Use GetProviderConfigReference.

func (*Environment) GetPublishConnectionDetailsTo

func (mg *Environment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Environment.

func (*Environment) GetTerraformResourceType

func (mg *Environment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Environment

func (*Environment) GetTerraformSchemaVersion

func (tr *Environment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Environment) GetWriteConnectionSecretToReference

func (mg *Environment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Environment.

func (*Environment) LateInitialize

func (tr *Environment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Environment using its observed tfState. returns True if there are any spec changes for the resource.

func (*Environment) ResolveReferences

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

ResolveReferences of this Environment.

func (*Environment) SetConditions

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

SetConditions of this Environment.

func (*Environment) SetDeletionPolicy

func (mg *Environment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Environment.

func (*Environment) SetManagementPolicy

func (mg *Environment) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Environment.

func (*Environment) SetObservation

func (tr *Environment) SetObservation(obs map[string]any) error

SetObservation for this Environment

func (*Environment) SetParameters

func (tr *Environment) SetParameters(params map[string]any) error

SetParameters for this Environment

func (*Environment) SetProviderConfigReference

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

SetProviderConfigReference of this Environment.

func (*Environment) SetProviderReference

func (mg *Environment) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Environment. Deprecated: Use SetProviderConfigReference.

func (*Environment) SetPublishConnectionDetailsTo

func (mg *Environment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Environment.

func (*Environment) SetWriteConnectionSecretToReference

func (mg *Environment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Environment.

type EnvironmentList

type EnvironmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Environment `json:"items"`
}

EnvironmentList contains a list of Environments

func (*EnvironmentList) DeepCopy

func (in *EnvironmentList) DeepCopy() *EnvironmentList

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

func (*EnvironmentList) DeepCopyInto

func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)

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

func (*EnvironmentList) DeepCopyObject

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

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

func (*EnvironmentList) GetItems

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

GetItems of this EnvironmentList.

type EnvironmentObservation

type EnvironmentObservation struct {

	// A description for the Environment.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the Environment.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name which should be used for this Environment.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the project. Changing this forces a new Environment to be created.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
}

func (*EnvironmentObservation) DeepCopy

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

func (*EnvironmentObservation) DeepCopyInto

func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation)

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

type EnvironmentParameters

type EnvironmentParameters struct {

	// A description for the Environment.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name which should be used for this Environment.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the project. Changing this forces a new Environment to be created.
	// +crossplane:generate:reference:type=github.com/xtrasolver/provider-azuredevops/apis/azuredevops/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in azuredevops to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in azuredevops to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`
}

func (*EnvironmentParameters) DeepCopy

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

func (*EnvironmentParameters) DeepCopyInto

func (in *EnvironmentParameters) DeepCopyInto(out *EnvironmentParameters)

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

type EnvironmentSpec

type EnvironmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EnvironmentParameters `json:"forProvider"`
}

EnvironmentSpec defines the desired state of Environment

func (*EnvironmentSpec) DeepCopy

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

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

func (*EnvironmentSpec) DeepCopyInto

func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)

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

type EnvironmentStatus

type EnvironmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        EnvironmentObservation `json:"atProvider,omitempty"`
}

EnvironmentStatus defines the observed state of Environment.

func (*EnvironmentStatus) DeepCopy

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

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

type KeyVaultObservation

type KeyVaultObservation struct {

	// The name of the Azure key vault to link secrets from as variables.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Set the Azure Key Vault Secret search depth. Defaults to 20.
	SearchDepth *float64 `json:"searchDepth,omitempty" tf:"search_depth,omitempty"`

	// The id of the Azure subscription endpoint to access the key vault.
	ServiceEndpointID *string `json:"serviceEndpointId,omitempty" tf:"service_endpoint_id,omitempty"`
}

func (*KeyVaultObservation) DeepCopy

func (in *KeyVaultObservation) DeepCopy() *KeyVaultObservation

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

func (*KeyVaultObservation) DeepCopyInto

func (in *KeyVaultObservation) DeepCopyInto(out *KeyVaultObservation)

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

type KeyVaultParameters

type KeyVaultParameters struct {

	// The name of the Azure key vault to link secrets from as variables.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Set the Azure Key Vault Secret search depth. Defaults to 20.
	// +kubebuilder:validation:Optional
	SearchDepth *float64 `json:"searchDepth,omitempty" tf:"search_depth,omitempty"`

	// The id of the Azure subscription endpoint to access the key vault.
	// +kubebuilder:validation:Required
	ServiceEndpointID *string `json:"serviceEndpointId" tf:"service_endpoint_id,omitempty"`
}

func (*KeyVaultParameters) DeepCopy

func (in *KeyVaultParameters) DeepCopy() *KeyVaultParameters

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

func (*KeyVaultParameters) DeepCopyInto

func (in *KeyVaultParameters) DeepCopyInto(out *KeyVaultParameters)

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

type KubeconfigObservation

type KubeconfigObservation struct {

	// Set this option to allow clients to accept a self-signed certificate.
	// Enable this if your authentication uses untrusted certificates
	AcceptUntrustedCerts *bool `json:"acceptUntrustedCerts,omitempty" tf:"accept_untrusted_certs,omitempty"`

	// Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
	// Context of your cluster
	ClusterContext *string `json:"clusterContext,omitempty" tf:"cluster_context,omitempty"`
}

func (*KubeconfigObservation) DeepCopy

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

func (*KubeconfigObservation) DeepCopyInto

func (in *KubeconfigObservation) DeepCopyInto(out *KubeconfigObservation)

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

type KubeconfigParameters

type KubeconfigParameters struct {

	// Set this option to allow clients to accept a self-signed certificate.
	// Enable this if your authentication uses untrusted certificates
	// +kubebuilder:validation:Optional
	AcceptUntrustedCerts *bool `json:"acceptUntrustedCerts,omitempty" tf:"accept_untrusted_certs,omitempty"`

	// Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
	// Context of your cluster
	// +kubebuilder:validation:Optional
	ClusterContext *string `json:"clusterContext,omitempty" tf:"cluster_context,omitempty"`

	// The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.
	// Content of the kubeconfig file. The configuration information in your kubeconfig file allows Kubernetes clients to talk to your Kubernetes API servers. This file is used by kubectl and all supported Kubernetes clients.
	// +kubebuilder:validation:Required
	KubeConfigSecretRef v1.SecretKeySelector `json:"kubeConfigSecretRef" tf:"-"`
}

func (*KubeconfigParameters) DeepCopy

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

func (*KubeconfigParameters) DeepCopyInto

func (in *KubeconfigParameters) DeepCopyInto(out *KubeconfigParameters)

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"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	Spec   ProjectSpec   `json:"spec"`
	Status ProjectStatus `json:"status,omitempty"`
}

Project is the Schema for the Projects API. Manages a project within Azure DevOps organization. +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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azuredevops}

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

func (tr *Project) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Project

func (*Project) GetDeletionPolicy

func (mg *Project) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Project.

func (*Project) GetID

func (tr *Project) GetID() string

GetID returns ID of underlying Terraform resource of this Project

func (*Project) GetManagementPolicy

func (mg *Project) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Project.

func (*Project) GetObservation

func (tr *Project) GetObservation() (map[string]any, error)

GetObservation of this Project

func (*Project) GetParameters

func (tr *Project) GetParameters() (map[string]any, error)

GetParameters of this Project

func (*Project) GetProviderConfigReference

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

GetProviderConfigReference of this Project.

func (*Project) GetProviderReference

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

GetProviderReference of this Project. Deprecated: Use GetProviderConfigReference.

func (*Project) GetPublishConnectionDetailsTo

func (mg *Project) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Project.

func (*Project) GetTerraformResourceType

func (mg *Project) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Project

func (*Project) GetTerraformSchemaVersion

func (tr *Project) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Project) GetWriteConnectionSecretToReference

func (mg *Project) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Project.

func (*Project) LateInitialize

func (tr *Project) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Project using its observed tfState. returns True if there are any spec changes for the resource.

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

func (mg *Project) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Project.

func (*Project) SetObservation

func (tr *Project) SetObservation(obs map[string]any) error

SetObservation for this Project

func (*Project) SetParameters

func (tr *Project) SetParameters(params map[string]any) error

SetParameters for this Project

func (*Project) SetProviderConfigReference

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

SetProviderConfigReference of this Project.

func (*Project) SetProviderReference

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

SetProviderReference of this Project. Deprecated: Use SetProviderConfigReference.

func (*Project) SetPublishConnectionDetailsTo

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 ProjectList

type ProjectList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Project `json:"items"`
}

ProjectList contains a list of Projects

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 ProjectObservation

type ProjectObservation struct {

	// The Description of the Project.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Defines the status (enabled, disabled) of the project features.
	// Valid features are boards, repositories, pipelines, testplans, artifacts
	Features map[string]*string `json:"features,omitempty" tf:"features,omitempty"`

	// The Project ID of the Project.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Project Name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The Process Template ID used by the Project.
	ProcessTemplateID *string `json:"processTemplateId,omitempty" tf:"process_template_id,omitempty"`

	// Specifies the version control system. Valid values: Git or Tfvc. Defaults to Git.
	VersionControl *string `json:"versionControl,omitempty" tf:"version_control,omitempty"`

	// Specifies the visibility of the Project. Valid values: private or public. Defaults to private.
	Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`

	// Specifies the work item template. Valid values: Agile, Basic, CMMI, Scrum or a custom, pre-existing one. Defaults to Agile. An empty string will use the parent organization default.
	WorkItemTemplate *string `json:"workItemTemplate,omitempty" tf:"work_item_template,omitempty"`
}

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 {

	// The Description of the Project.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Defines the status (enabled, disabled) of the project features.
	// Valid features are boards, repositories, pipelines, testplans, artifacts
	// +kubebuilder:validation:Optional
	Features map[string]*string `json:"features,omitempty" tf:"features,omitempty"`

	// The Project Name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the version control system. Valid values: Git or Tfvc. Defaults to Git.
	// +kubebuilder:validation:Optional
	VersionControl *string `json:"versionControl,omitempty" tf:"version_control,omitempty"`

	// Specifies the visibility of the Project. Valid values: private or public. Defaults to private.
	// +kubebuilder:validation:Optional
	Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"`

	// Specifies the work item template. Valid values: Agile, Basic, CMMI, Scrum or a custom, pre-existing one. Defaults to Agile. An empty string will use the parent organization default.
	// +kubebuilder:validation:Optional
	WorkItemTemplate *string `json:"workItemTemplate,omitempty" tf:"work_item_template,omitempty"`
}

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 {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProjectParameters `json:"forProvider"`
}

ProjectSpec defines the desired state of 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 ProjectStatus

type ProjectStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ProjectObservation `json:"atProvider,omitempty"`
}

ProjectStatus defines the observed state of 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 ServiceAccountObservation

type ServiceAccountObservation struct {
}

func (*ServiceAccountObservation) DeepCopy

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

func (*ServiceAccountObservation) DeepCopyInto

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

type ServiceAccountParameters

type ServiceAccountParameters struct {

	// The certificate from a Kubernetes secret object.
	// Secret cert
	// +kubebuilder:validation:Required
	CACertSecretRef v1.SecretKeySelector `json:"caCertSecretRef" tf:"-"`

	// The token from a Kubernetes secret object.
	// Secret token
	// +kubebuilder:validation:Required
	TokenSecretRef v1.SecretKeySelector `json:"tokenSecretRef" tf:"-"`
}

func (*ServiceAccountParameters) DeepCopy

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

func (*ServiceAccountParameters) DeepCopyInto

func (in *ServiceAccountParameters) DeepCopyInto(out *ServiceAccountParameters)

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

type ServiceEndpointKubernetes

type ServiceEndpointKubernetes struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.apiserverUrl)",message="apiserverUrl is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.authorizationType)",message="authorizationType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.serviceEndpointName)",message="serviceEndpointName is a required parameter"
	Spec   ServiceEndpointKubernetesSpec   `json:"spec"`
	Status ServiceEndpointKubernetesStatus `json:"status,omitempty"`
}

ServiceEndpointKubernetes is the Schema for the ServiceEndpointKubernetess API. Manages a Kubernetes service endpoint Azure DevOps organization. +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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azuredevops}

func (*ServiceEndpointKubernetes) DeepCopy

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

func (*ServiceEndpointKubernetes) DeepCopyInto

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

func (*ServiceEndpointKubernetes) DeepCopyObject

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

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

func (*ServiceEndpointKubernetes) GetCondition

GetCondition of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) GetConnectionDetailsMapping

func (tr *ServiceEndpointKubernetes) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ServiceEndpointKubernetes

func (*ServiceEndpointKubernetes) GetDeletionPolicy

func (mg *ServiceEndpointKubernetes) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) GetID

func (tr *ServiceEndpointKubernetes) GetID() string

GetID returns ID of underlying Terraform resource of this ServiceEndpointKubernetes

func (*ServiceEndpointKubernetes) GetManagementPolicy

func (mg *ServiceEndpointKubernetes) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) GetObservation

func (tr *ServiceEndpointKubernetes) GetObservation() (map[string]any, error)

GetObservation of this ServiceEndpointKubernetes

func (*ServiceEndpointKubernetes) GetParameters

func (tr *ServiceEndpointKubernetes) GetParameters() (map[string]any, error)

GetParameters of this ServiceEndpointKubernetes

func (*ServiceEndpointKubernetes) GetProviderConfigReference

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

GetProviderConfigReference of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) GetProviderReference

func (mg *ServiceEndpointKubernetes) GetProviderReference() *xpv1.Reference

GetProviderReference of this ServiceEndpointKubernetes. Deprecated: Use GetProviderConfigReference.

func (*ServiceEndpointKubernetes) GetPublishConnectionDetailsTo

func (mg *ServiceEndpointKubernetes) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) GetTerraformResourceType

func (mg *ServiceEndpointKubernetes) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ServiceEndpointKubernetes

func (*ServiceEndpointKubernetes) GetTerraformSchemaVersion

func (tr *ServiceEndpointKubernetes) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ServiceEndpointKubernetes) GetWriteConnectionSecretToReference

func (mg *ServiceEndpointKubernetes) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) LateInitialize

func (tr *ServiceEndpointKubernetes) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ServiceEndpointKubernetes using its observed tfState. returns True if there are any spec changes for the resource.

func (*ServiceEndpointKubernetes) ResolveReferences

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

ResolveReferences of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) SetConditions

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

SetConditions of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) SetDeletionPolicy

func (mg *ServiceEndpointKubernetes) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) SetManagementPolicy

func (mg *ServiceEndpointKubernetes) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) SetObservation

func (tr *ServiceEndpointKubernetes) SetObservation(obs map[string]any) error

SetObservation for this ServiceEndpointKubernetes

func (*ServiceEndpointKubernetes) SetParameters

func (tr *ServiceEndpointKubernetes) SetParameters(params map[string]any) error

SetParameters for this ServiceEndpointKubernetes

func (*ServiceEndpointKubernetes) SetProviderConfigReference

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

SetProviderConfigReference of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) SetProviderReference

func (mg *ServiceEndpointKubernetes) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ServiceEndpointKubernetes. Deprecated: Use SetProviderConfigReference.

func (*ServiceEndpointKubernetes) SetPublishConnectionDetailsTo

func (mg *ServiceEndpointKubernetes) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetes) SetWriteConnectionSecretToReference

func (mg *ServiceEndpointKubernetes) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ServiceEndpointKubernetes.

type ServiceEndpointKubernetesList

type ServiceEndpointKubernetesList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ServiceEndpointKubernetes `json:"items"`
}

ServiceEndpointKubernetesList contains a list of ServiceEndpointKubernetess

func (*ServiceEndpointKubernetesList) DeepCopy

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

func (*ServiceEndpointKubernetesList) DeepCopyInto

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

func (*ServiceEndpointKubernetesList) DeepCopyObject

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

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

func (*ServiceEndpointKubernetesList) GetItems

GetItems of this ServiceEndpointKubernetesList.

type ServiceEndpointKubernetesObservation

type ServiceEndpointKubernetesObservation struct {

	// The hostname (in form of URI) of the Kubernetes API.
	// URL to Kubernete's API-Server
	ApiserverURL *string `json:"apiserverUrl,omitempty" tf:"apiserver_url,omitempty"`

	Authorization map[string]*string `json:"authorization,omitempty" tf:"authorization,omitempty"`

	// The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
	// Type of credentials to use
	AuthorizationType *string `json:"authorizationType,omitempty" tf:"authorization_type,omitempty"`

	// A azure_subscription block defined blow.
	// 'AzureSubscription'-type of configuration
	AzureSubscription []AzureSubscriptionObservation `json:"azureSubscription,omitempty" tf:"azure_subscription,omitempty"`

	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the service endpoint.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A kubeconfig block defined blow.
	// 'Kubeconfig'-type of configuration
	Kubeconfig []KubeconfigObservation `json:"kubeconfig,omitempty" tf:"kubeconfig,omitempty"`

	// The ID of the project.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// A service_account block defined blow.
	// 'ServiceAccount'-type of configuration
	ServiceAccount []ServiceAccountParameters `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// The Service Endpoint name.
	ServiceEndpointName *string `json:"serviceEndpointName,omitempty" tf:"service_endpoint_name,omitempty"`
}

func (*ServiceEndpointKubernetesObservation) DeepCopy

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

func (*ServiceEndpointKubernetesObservation) DeepCopyInto

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

type ServiceEndpointKubernetesParameters

type ServiceEndpointKubernetesParameters struct {

	// The hostname (in form of URI) of the Kubernetes API.
	// URL to Kubernete's API-Server
	// +kubebuilder:validation:Optional
	ApiserverURL *string `json:"apiserverUrl,omitempty" tf:"apiserver_url,omitempty"`

	// +kubebuilder:validation:Optional
	Authorization map[string]*string `json:"authorization,omitempty" tf:"authorization,omitempty"`

	// The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
	// Type of credentials to use
	// +kubebuilder:validation:Optional
	AuthorizationType *string `json:"authorizationType,omitempty" tf:"authorization_type,omitempty"`

	// A azure_subscription block defined blow.
	// 'AzureSubscription'-type of configuration
	// +kubebuilder:validation:Optional
	AzureSubscription []AzureSubscriptionParameters `json:"azureSubscription,omitempty" tf:"azure_subscription,omitempty"`

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A kubeconfig block defined blow.
	// 'Kubeconfig'-type of configuration
	// +kubebuilder:validation:Optional
	Kubeconfig []KubeconfigParameters `json:"kubeconfig,omitempty" tf:"kubeconfig,omitempty"`

	// The ID of the project.
	// +crossplane:generate:reference:type=github.com/xtrasolver/provider-azuredevops/apis/azuredevops/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in azuredevops to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in azuredevops to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

	// A service_account block defined blow.
	// 'ServiceAccount'-type of configuration
	// +kubebuilder:validation:Optional
	ServiceAccount []ServiceAccountParameters `json:"serviceAccount,omitempty" tf:"service_account,omitempty"`

	// The Service Endpoint name.
	// +kubebuilder:validation:Optional
	ServiceEndpointName *string `json:"serviceEndpointName,omitempty" tf:"service_endpoint_name,omitempty"`
}

func (*ServiceEndpointKubernetesParameters) DeepCopy

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

func (*ServiceEndpointKubernetesParameters) DeepCopyInto

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

type ServiceEndpointKubernetesSpec

type ServiceEndpointKubernetesSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ServiceEndpointKubernetesParameters `json:"forProvider"`
}

ServiceEndpointKubernetesSpec defines the desired state of ServiceEndpointKubernetes

func (*ServiceEndpointKubernetesSpec) DeepCopy

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

func (*ServiceEndpointKubernetesSpec) DeepCopyInto

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

type ServiceEndpointKubernetesStatus

type ServiceEndpointKubernetesStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ServiceEndpointKubernetesObservation `json:"atProvider,omitempty"`
}

ServiceEndpointKubernetesStatus defines the observed state of ServiceEndpointKubernetes.

func (*ServiceEndpointKubernetesStatus) DeepCopy

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

func (*ServiceEndpointKubernetesStatus) DeepCopyInto

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

type VariableGroup

type VariableGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.variable)",message="variable is a required parameter"
	Spec   VariableGroupSpec   `json:"spec"`
	Status VariableGroupStatus `json:"status,omitempty"`
}

VariableGroup is the Schema for the VariableGroups API. Manages variable groups within Azure DevOps 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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,azuredevops}

func (*VariableGroup) DeepCopy

func (in *VariableGroup) DeepCopy() *VariableGroup

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

func (*VariableGroup) DeepCopyInto

func (in *VariableGroup) DeepCopyInto(out *VariableGroup)

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

func (*VariableGroup) DeepCopyObject

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

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

func (*VariableGroup) GetCondition

func (mg *VariableGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this VariableGroup.

func (*VariableGroup) GetConnectionDetailsMapping

func (tr *VariableGroup) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this VariableGroup

func (*VariableGroup) GetDeletionPolicy

func (mg *VariableGroup) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this VariableGroup.

func (*VariableGroup) GetID

func (tr *VariableGroup) GetID() string

GetID returns ID of underlying Terraform resource of this VariableGroup

func (*VariableGroup) GetManagementPolicy

func (mg *VariableGroup) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this VariableGroup.

func (*VariableGroup) GetObservation

func (tr *VariableGroup) GetObservation() (map[string]any, error)

GetObservation of this VariableGroup

func (*VariableGroup) GetParameters

func (tr *VariableGroup) GetParameters() (map[string]any, error)

GetParameters of this VariableGroup

func (*VariableGroup) GetProviderConfigReference

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

GetProviderConfigReference of this VariableGroup.

func (*VariableGroup) GetProviderReference

func (mg *VariableGroup) GetProviderReference() *xpv1.Reference

GetProviderReference of this VariableGroup. Deprecated: Use GetProviderConfigReference.

func (*VariableGroup) GetPublishConnectionDetailsTo

func (mg *VariableGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this VariableGroup.

func (*VariableGroup) GetTerraformResourceType

func (mg *VariableGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VariableGroup

func (*VariableGroup) GetTerraformSchemaVersion

func (tr *VariableGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VariableGroup) GetWriteConnectionSecretToReference

func (mg *VariableGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this VariableGroup.

func (*VariableGroup) LateInitialize

func (tr *VariableGroup) LateInitialize(attrs []byte) (bool, error)

LateInitialize this VariableGroup using its observed tfState. returns True if there are any spec changes for the resource.

func (*VariableGroup) ResolveReferences

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

ResolveReferences of this VariableGroup.

func (*VariableGroup) SetConditions

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

SetConditions of this VariableGroup.

func (*VariableGroup) SetDeletionPolicy

func (mg *VariableGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this VariableGroup.

func (*VariableGroup) SetManagementPolicy

func (mg *VariableGroup) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this VariableGroup.

func (*VariableGroup) SetObservation

func (tr *VariableGroup) SetObservation(obs map[string]any) error

SetObservation for this VariableGroup

func (*VariableGroup) SetParameters

func (tr *VariableGroup) SetParameters(params map[string]any) error

SetParameters for this VariableGroup

func (*VariableGroup) SetProviderConfigReference

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

SetProviderConfigReference of this VariableGroup.

func (*VariableGroup) SetProviderReference

func (mg *VariableGroup) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this VariableGroup. Deprecated: Use SetProviderConfigReference.

func (*VariableGroup) SetPublishConnectionDetailsTo

func (mg *VariableGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this VariableGroup.

func (*VariableGroup) SetWriteConnectionSecretToReference

func (mg *VariableGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this VariableGroup.

type VariableGroupList

type VariableGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VariableGroup `json:"items"`
}

VariableGroupList contains a list of VariableGroups

func (*VariableGroupList) DeepCopy

func (in *VariableGroupList) DeepCopy() *VariableGroupList

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

func (*VariableGroupList) DeepCopyInto

func (in *VariableGroupList) DeepCopyInto(out *VariableGroupList)

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

func (*VariableGroupList) DeepCopyObject

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

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

func (*VariableGroupList) GetItems

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

GetItems of this VariableGroupList.

type VariableGroupObservation

type VariableGroupObservation struct {

	// Boolean that indicate if this variable group is shared by all pipelines of this project.
	AllowAccess *bool `json:"allowAccess,omitempty" tf:"allow_access,omitempty"`

	// The description of the Variable Group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ID of the Variable Group returned after creation in Azure DevOps.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A list of key_vault blocks as documented below.
	KeyVault []KeyVaultObservation `json:"keyVault,omitempty" tf:"key_vault,omitempty"`

	// The name of the Variable Group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the project.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// One or more variable blocks as documented below.
	Variable []VariableObservation `json:"variable,omitempty" tf:"variable,omitempty"`
}

func (*VariableGroupObservation) DeepCopy

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

func (*VariableGroupObservation) DeepCopyInto

func (in *VariableGroupObservation) DeepCopyInto(out *VariableGroupObservation)

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

type VariableGroupParameters

type VariableGroupParameters struct {

	// Boolean that indicate if this variable group is shared by all pipelines of this project.
	// +kubebuilder:validation:Optional
	AllowAccess *bool `json:"allowAccess,omitempty" tf:"allow_access,omitempty"`

	// The description of the Variable Group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A list of key_vault blocks as documented below.
	// +kubebuilder:validation:Optional
	KeyVault []KeyVaultParameters `json:"keyVault,omitempty" tf:"key_vault,omitempty"`

	// The name of the Variable Group.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the project.
	// +crossplane:generate:reference:type=github.com/xtrasolver/provider-azuredevops/apis/azuredevops/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in azuredevops to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in azuredevops to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

	// One or more variable blocks as documented below.
	// +kubebuilder:validation:Optional
	Variable []VariableParameters `json:"variable,omitempty" tf:"variable,omitempty"`
}

func (*VariableGroupParameters) DeepCopy

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

func (*VariableGroupParameters) DeepCopyInto

func (in *VariableGroupParameters) DeepCopyInto(out *VariableGroupParameters)

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

type VariableGroupSpec

type VariableGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VariableGroupParameters `json:"forProvider"`
}

VariableGroupSpec defines the desired state of VariableGroup

func (*VariableGroupSpec) DeepCopy

func (in *VariableGroupSpec) DeepCopy() *VariableGroupSpec

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

func (*VariableGroupSpec) DeepCopyInto

func (in *VariableGroupSpec) DeepCopyInto(out *VariableGroupSpec)

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

type VariableGroupStatus

type VariableGroupStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        VariableGroupObservation `json:"atProvider,omitempty"`
}

VariableGroupStatus defines the observed state of VariableGroup.

func (*VariableGroupStatus) DeepCopy

func (in *VariableGroupStatus) DeepCopy() *VariableGroupStatus

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

func (*VariableGroupStatus) DeepCopyInto

func (in *VariableGroupStatus) DeepCopyInto(out *VariableGroupStatus)

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

type VariableObservation

type VariableObservation struct {
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	Expires *string `json:"expires,omitempty" tf:"expires,omitempty"`

	// A boolean flag describing if the variable value is sensitive. Defaults to false.
	IsSecret *bool `json:"isSecret,omitempty" tf:"is_secret,omitempty"`

	// The key value used for the variable. Must be unique within the Variable Group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value of the variable. If omitted, it will default to empty string.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*VariableObservation) DeepCopy

func (in *VariableObservation) DeepCopy() *VariableObservation

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

func (*VariableObservation) DeepCopyInto

func (in *VariableObservation) DeepCopyInto(out *VariableObservation)

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

type VariableParameters

type VariableParameters struct {

	// A boolean flag describing if the variable value is sensitive. Defaults to false.
	// +kubebuilder:validation:Optional
	IsSecret *bool `json:"isSecret,omitempty" tf:"is_secret,omitempty"`

	// The key value used for the variable. Must be unique within the Variable Group.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The secret value of the variable. If omitted, it will default to empty string. Used when is_secret set to true.
	// +kubebuilder:validation:Optional
	SecretValueSecretRef *v1.SecretKeySelector `json:"secretValueSecretRef,omitempty" tf:"-"`

	// The value of the variable. If omitted, it will default to empty string.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

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.

Jump to

Keyboard shortcuts

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