v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Domain_Kind             = "Domain"
	Domain_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Domain_Kind}.String()
	Domain_KindAPIVersion   = Domain_Kind + "." + CRDGroupVersion.String()
	Domain_GroupVersionKind = CRDGroupVersion.WithKind(Domain_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.

Functions

This section is empty.

Types

type BuildConfigObservation

type BuildConfigObservation struct {
}

func (*BuildConfigObservation) DeepCopy

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

func (*BuildConfigObservation) DeepCopyInto

func (in *BuildConfigObservation) DeepCopyInto(out *BuildConfigObservation)

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

type BuildConfigParameters

type BuildConfigParameters struct {

	// Command used to build project.
	// +kubebuilder:validation:Optional
	BuildCommand *string `json:"buildCommand,omitempty" tf:"build_command,omitempty"`

	// Output directory of the build.
	// +kubebuilder:validation:Optional
	DestinationDir *string `json:"destinationDir,omitempty" tf:"destination_dir,omitempty"`

	// Directory to run the command.
	// +kubebuilder:validation:Optional
	RootDir *string `json:"rootDir,omitempty" tf:"root_dir,omitempty"`

	// The classifying tag for analytics.
	// +kubebuilder:validation:Optional
	WebAnalyticsTag *string `json:"webAnalyticsTag,omitempty" tf:"web_analytics_tag,omitempty"`

	// The auth token for analytics.
	// +kubebuilder:validation:Optional
	WebAnalyticsToken *string `json:"webAnalyticsToken,omitempty" tf:"web_analytics_token,omitempty"`
}

func (*BuildConfigParameters) DeepCopy

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

func (*BuildConfigParameters) DeepCopyInto

func (in *BuildConfigParameters) DeepCopyInto(out *BuildConfigParameters)

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

type ConfigObservation

type ConfigObservation struct {
}

func (*ConfigObservation) DeepCopy

func (in *ConfigObservation) DeepCopy() *ConfigObservation

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

func (*ConfigObservation) DeepCopyInto

func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation)

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

type ConfigParameters

type ConfigParameters struct {

	// Toggle deployments on this repo. Defaults to `true`.
	// +kubebuilder:validation:Optional
	DeploymentsEnabled *bool `json:"deploymentsEnabled,omitempty" tf:"deployments_enabled,omitempty"`

	// Project owner username.
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// Enable Pages to comment on Pull Requests. Defaults to `true`.
	// +kubebuilder:validation:Optional
	PrCommentsEnabled *bool `json:"prCommentsEnabled,omitempty" tf:"pr_comments_enabled,omitempty"`

	// Branches will be excluded from automatic deployment.
	// +kubebuilder:validation:Optional
	PreviewBranchExcludes []*string `json:"previewBranchExcludes,omitempty" tf:"preview_branch_excludes,omitempty"`

	// Branches will be included for automatic deployment.
	// +kubebuilder:validation:Optional
	PreviewBranchIncludes []*string `json:"previewBranchIncludes,omitempty" tf:"preview_branch_includes,omitempty"`

	// Preview Deployment Setting. Defaults to `all`.
	// +kubebuilder:validation:Optional
	PreviewDeploymentSetting *string `json:"previewDeploymentSetting,omitempty" tf:"preview_deployment_setting,omitempty"`

	// Project production branch name.
	// +kubebuilder:validation:Required
	ProductionBranch *string `json:"productionBranch" tf:"production_branch,omitempty"`

	// Enable production deployments. Defaults to `true`.
	// +kubebuilder:validation:Optional
	ProductionDeploymentEnabled *bool `json:"productionDeploymentEnabled,omitempty" tf:"production_deployment_enabled,omitempty"`

	// Project repository name.
	// +kubebuilder:validation:Optional
	RepoName *string `json:"repoName,omitempty" tf:"repo_name,omitempty"`
}

func (*ConfigParameters) DeepCopy

func (in *ConfigParameters) DeepCopy() *ConfigParameters

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

func (*ConfigParameters) DeepCopyInto

func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters)

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

type DeploymentConfigsObservation

type DeploymentConfigsObservation struct {
}

func (*DeploymentConfigsObservation) DeepCopy

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

func (*DeploymentConfigsObservation) DeepCopyInto

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

type DeploymentConfigsParameters

type DeploymentConfigsParameters struct {

	// Configuration for preview deploys.
	// +kubebuilder:validation:Optional
	Preview []PreviewParameters `json:"preview,omitempty" tf:"preview,omitempty"`

	// Configuration for production deploys.
	// +kubebuilder:validation:Optional
	Production []ProductionParameters `json:"production,omitempty" tf:"production,omitempty"`
}

func (*DeploymentConfigsParameters) DeepCopy

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

func (*DeploymentConfigsParameters) DeepCopyInto

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

type Domain

type Domain struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DomainSpec   `json:"spec"`
	Status            DomainStatus `json:"status,omitempty"`
}

Domain is the Schema for the Domains API. <no value> +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,cloudflare}

func (*Domain) DeepCopy

func (in *Domain) DeepCopy() *Domain

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

func (*Domain) DeepCopyInto

func (in *Domain) DeepCopyInto(out *Domain)

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

func (*Domain) DeepCopyObject

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

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

func (*Domain) GetCondition

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

GetCondition of this Domain.

func (*Domain) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Domain

func (*Domain) GetDeletionPolicy

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

GetDeletionPolicy of this Domain.

func (*Domain) GetID

func (tr *Domain) GetID() string

GetID returns ID of underlying Terraform resource of this Domain

func (*Domain) GetObservation

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

GetObservation of this Domain

func (*Domain) GetParameters

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

GetParameters of this Domain

func (*Domain) GetProviderConfigReference

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

GetProviderConfigReference of this Domain.

func (*Domain) GetProviderReference

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

GetProviderReference of this Domain. Deprecated: Use GetProviderConfigReference.

func (*Domain) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Domain.

func (*Domain) GetTerraformResourceType

func (mg *Domain) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Domain

func (*Domain) GetTerraformSchemaVersion

func (tr *Domain) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Domain) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Domain.

func (*Domain) LateInitialize

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

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

func (*Domain) ResolveReferences

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

ResolveReferences of this Domain.

func (*Domain) SetConditions

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

SetConditions of this Domain.

func (*Domain) SetDeletionPolicy

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

SetDeletionPolicy of this Domain.

func (*Domain) SetObservation

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

SetObservation for this Domain

func (*Domain) SetParameters

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

SetParameters for this Domain

func (*Domain) SetProviderConfigReference

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

SetProviderConfigReference of this Domain.

func (*Domain) SetProviderReference

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

SetProviderReference of this Domain. Deprecated: Use SetProviderConfigReference.

func (*Domain) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Domain.

func (*Domain) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Domain.

type DomainList

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

DomainList contains a list of Domains

func (*DomainList) DeepCopy

func (in *DomainList) DeepCopy() *DomainList

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

func (*DomainList) DeepCopyInto

func (in *DomainList) DeepCopyInto(out *DomainList)

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

func (*DomainList) DeepCopyObject

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

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

func (*DomainList) GetItems

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

GetItems of this DomainList.

type DomainObservation

type DomainObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Status of the custom domain.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*DomainObservation) DeepCopy

func (in *DomainObservation) DeepCopy() *DomainObservation

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

func (*DomainObservation) DeepCopyInto

func (in *DomainObservation) DeepCopyInto(out *DomainObservation)

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

type DomainParameters

type DomainParameters struct {

	// The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// Custom domain. **Modifying this attribute will force creation of a new resource.**
	// +kubebuilder:validation:Required
	Domain *string `json:"domain" tf:"domain,omitempty"`

	// Name of the Pages Project. **Modifying this attribute will force creation of a new resource.**
	// +crossplane:generate:reference:type=Project
	// +kubebuilder:validation:Optional
	ProjectName *string `json:"projectName,omitempty" tf:"project_name,omitempty"`

	// Reference to a Project to populate projectName.
	// +kubebuilder:validation:Optional
	ProjectNameRef *v1.Reference `json:"projectNameRef,omitempty" tf:"-"`

	// Selector for a Project to populate projectName.
	// +kubebuilder:validation:Optional
	ProjectNameSelector *v1.Selector `json:"projectNameSelector,omitempty" tf:"-"`
}

func (*DomainParameters) DeepCopy

func (in *DomainParameters) DeepCopy() *DomainParameters

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

func (*DomainParameters) DeepCopyInto

func (in *DomainParameters) DeepCopyInto(out *DomainParameters)

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

type DomainSpec

type DomainSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DomainParameters `json:"forProvider"`
}

DomainSpec defines the desired state of Domain

func (*DomainSpec) DeepCopy

func (in *DomainSpec) DeepCopy() *DomainSpec

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

func (*DomainSpec) DeepCopyInto

func (in *DomainSpec) DeepCopyInto(out *DomainSpec)

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

type DomainStatus

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

DomainStatus defines the observed state of Domain.

func (*DomainStatus) DeepCopy

func (in *DomainStatus) DeepCopy() *DomainStatus

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

func (*DomainStatus) DeepCopyInto

func (in *DomainStatus) DeepCopyInto(out *DomainStatus)

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

type PreviewObservation

type PreviewObservation struct {
}

func (*PreviewObservation) DeepCopy

func (in *PreviewObservation) DeepCopy() *PreviewObservation

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

func (*PreviewObservation) DeepCopyInto

func (in *PreviewObservation) DeepCopyInto(out *PreviewObservation)

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

type PreviewParameters

type PreviewParameters struct {

	// Compatibility date used for Pages Functions.
	// +kubebuilder:validation:Optional
	CompatibilityDate *string `json:"compatibilityDate,omitempty" tf:"compatibility_date,omitempty"`

	// Compatibility flags used for Pages Functions.
	// +kubebuilder:validation:Optional
	CompatibilityFlags []*string `json:"compatibilityFlags,omitempty" tf:"compatibility_flags,omitempty"`

	// D1 Databases used for Pages Functions.
	// +kubebuilder:validation:Optional
	D1Databases map[string]*string `json:"d1Databases,omitempty" tf:"d1_databases,omitempty"`

	// Durable Object namespaces used for Pages Functions.
	// +kubebuilder:validation:Optional
	DurableObjectNamespaces map[string]*string `json:"durableObjectNamespaces,omitempty" tf:"durable_object_namespaces,omitempty"`

	// Environment variables for Pages Functions.
	// +kubebuilder:validation:Optional
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// KV namespaces used for Pages Functions.
	// +kubebuilder:validation:Optional
	KvNamespaces map[string]*string `json:"kvNamespaces,omitempty" tf:"kv_namespaces,omitempty"`

	// R2 Buckets used for Pages Functions.
	// +kubebuilder:validation:Optional
	R2Buckets map[string]*string `json:"r2Buckets,omitempty" tf:"r2_buckets,omitempty"`
}

func (*PreviewParameters) DeepCopy

func (in *PreviewParameters) DeepCopy() *PreviewParameters

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

func (*PreviewParameters) DeepCopyInto

func (in *PreviewParameters) DeepCopyInto(out *PreviewParameters)

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

type ProductionObservation

type ProductionObservation struct {
}

func (*ProductionObservation) DeepCopy

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

func (*ProductionObservation) DeepCopyInto

func (in *ProductionObservation) DeepCopyInto(out *ProductionObservation)

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

type ProductionParameters

type ProductionParameters struct {

	// Compatibility date used for Pages Functions.
	// +kubebuilder:validation:Optional
	CompatibilityDate *string `json:"compatibilityDate,omitempty" tf:"compatibility_date,omitempty"`

	// Compatibility flags used for Pages Functions.
	// +kubebuilder:validation:Optional
	CompatibilityFlags []*string `json:"compatibilityFlags,omitempty" tf:"compatibility_flags,omitempty"`

	// D1 Databases used for Pages Functions.
	// +kubebuilder:validation:Optional
	D1Databases map[string]*string `json:"d1Databases,omitempty" tf:"d1_databases,omitempty"`

	// Durable Object namespaces used for Pages Functions.
	// +kubebuilder:validation:Optional
	DurableObjectNamespaces map[string]*string `json:"durableObjectNamespaces,omitempty" tf:"durable_object_namespaces,omitempty"`

	// Environment variables for Pages Functions.
	// +kubebuilder:validation:Optional
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"`

	// KV namespaces used for Pages Functions.
	// +kubebuilder:validation:Optional
	KvNamespaces map[string]*string `json:"kvNamespaces,omitempty" tf:"kv_namespaces,omitempty"`

	// R2 Buckets used for Pages Functions.
	// +kubebuilder:validation:Optional
	R2Buckets map[string]*string `json:"r2Buckets,omitempty" tf:"r2_buckets,omitempty"`
}

func (*ProductionParameters) DeepCopy

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

func (*ProductionParameters) DeepCopyInto

func (in *ProductionParameters) DeepCopyInto(out *ProductionParameters)

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

Project is the Schema for the Projects API. <no value> +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,cloudflare}

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

	// When the project was created.
	CreatedOn *string `json:"createdOn,omitempty" tf:"created_on,omitempty"`

	// A list of associated custom domains for the project.
	Domains []*string `json:"domains,omitempty" tf:"domains,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Cloudflare subdomain associated with the project.
	Subdomain *string `json:"subdomain,omitempty" tf:"subdomain,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 account identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// Configuration for the project build process.
	// +kubebuilder:validation:Optional
	BuildConfig []BuildConfigParameters `json:"buildConfig,omitempty" tf:"build_config,omitempty"`

	// Configuration for deployments in a project.
	// +kubebuilder:validation:Optional
	DeploymentConfigs []DeploymentConfigsParameters `json:"deploymentConfigs,omitempty" tf:"deployment_configs,omitempty"`

	// Name of the project.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The name of the branch that is used for the production environment.
	// +kubebuilder:validation:Required
	ProductionBranch *string `json:"productionBranch" tf:"production_branch,omitempty"`

	// Configuration for the project source.
	// +kubebuilder:validation:Optional
	Source []SourceParameters `json:"source,omitempty" tf:"source,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 SourceObservation

type SourceObservation struct {
}

func (*SourceObservation) DeepCopy

func (in *SourceObservation) DeepCopy() *SourceObservation

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

func (*SourceObservation) DeepCopyInto

func (in *SourceObservation) DeepCopyInto(out *SourceObservation)

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

type SourceParameters

type SourceParameters struct {

	// Configuration for the source of the Cloudflare Pages project.
	// +kubebuilder:validation:Optional
	Config []ConfigParameters `json:"config,omitempty" tf:"config,omitempty"`

	// Project host type.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SourceParameters) DeepCopy

func (in *SourceParameters) DeepCopy() *SourceParameters

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

func (*SourceParameters) DeepCopyInto

func (in *SourceParameters) DeepCopyInto(out *SourceParameters)

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