Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=appengine.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type Application
- func (in *Application) DeepCopy() *Application
- func (in *Application) DeepCopyInto(out *Application)
- func (in *Application) DeepCopyObject() runtime.Object
- func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Application) GetConnectionDetailsMapping() map[string]string
- func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Application) GetID() string
- func (tr *Application) GetObservation() (map[string]any, error)
- func (tr *Application) GetParameters() (map[string]any, error)
- func (mg *Application) GetProviderConfigReference() *xpv1.Reference
- func (mg *Application) GetProviderReference() *xpv1.Reference
- func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Application) GetTerraformResourceType() string
- func (tr *Application) GetTerraformSchemaVersion() int
- func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Application) LateInitialize(attrs []byte) (bool, error)
- func (mg *Application) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Application) SetConditions(c ...xpv1.Condition)
- func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Application) SetObservation(obs map[string]any) error
- func (tr *Application) SetParameters(params map[string]any) error
- func (mg *Application) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Application) SetProviderReference(r *xpv1.Reference)
- func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ApplicationList
- type ApplicationObservation
- type ApplicationParameters
- type ApplicationSpec
- type ApplicationStatus
- type FeatureSettingsObservation
- type FeatureSettingsParameters
- type IapObservation
- type IapParameters
- type URLDispatchRuleObservation
- type URLDispatchRuleParameters
Constants ¶
const ( CRDGroup = "appengine.gcp.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( Application_Kind = "Application" Application_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Application_Kind}.String() Application_KindAPIVersion = Application_Kind + "." + CRDGroupVersion.String() Application_GroupVersionKind = CRDGroupVersion.WithKind(Application_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApplicationSpec `json:"spec"` Status ApplicationStatus `json:"status,omitempty"` }
Application is the Schema for the Applications API. Allows management of an App Engine application. +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,gcp}
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Application) GetCondition ¶
func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Application.
func (*Application) GetConnectionDetailsMapping ¶
func (tr *Application) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Application
func (*Application) GetDeletionPolicy ¶
func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Application.
func (*Application) GetID ¶
func (tr *Application) GetID() string
GetID returns ID of underlying Terraform resource of this Application
func (*Application) GetObservation ¶
func (tr *Application) GetObservation() (map[string]any, error)
GetObservation of this Application
func (*Application) GetParameters ¶
func (tr *Application) GetParameters() (map[string]any, error)
GetParameters of this Application
func (*Application) GetProviderConfigReference ¶
func (mg *Application) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Application.
func (*Application) GetProviderReference ¶
func (mg *Application) GetProviderReference() *xpv1.Reference
GetProviderReference of this Application. Deprecated: Use GetProviderConfigReference.
func (*Application) GetPublishConnectionDetailsTo ¶
func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Application.
func (*Application) GetTerraformResourceType ¶
func (mg *Application) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Application
func (*Application) GetTerraformSchemaVersion ¶
func (tr *Application) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Application) GetWriteConnectionSecretToReference ¶
func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Application.
func (*Application) LateInitialize ¶
func (tr *Application) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Application using its observed tfState. returns True if there are any spec changes for the resource.
func (*Application) ResolveReferences ¶
ResolveReferences of this Application.
func (*Application) SetConditions ¶
func (mg *Application) SetConditions(c ...xpv1.Condition)
SetConditions of this Application.
func (*Application) SetDeletionPolicy ¶
func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Application.
func (*Application) SetObservation ¶
func (tr *Application) SetObservation(obs map[string]any) error
SetObservation for this Application
func (*Application) SetParameters ¶
func (tr *Application) SetParameters(params map[string]any) error
SetParameters for this Application
func (*Application) SetProviderConfigReference ¶
func (mg *Application) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Application.
func (*Application) SetProviderReference ¶
func (mg *Application) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Application. Deprecated: Use SetProviderConfigReference.
func (*Application) SetPublishConnectionDetailsTo ¶
func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Application.
func (*Application) SetWriteConnectionSecretToReference ¶
func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Application.
type ApplicationList ¶
type ApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Application `json:"items"` }
ApplicationList contains a list of Applications
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApplicationList) GetItems ¶
func (l *ApplicationList) GetItems() []resource.Managed
GetItems of this ApplicationList.
type ApplicationObservation ¶
type ApplicationObservation struct { // Identifier of the app, usually {PROJECT_ID} AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"` // The GCS bucket code is being stored in for this app. CodeBucket *string `json:"codeBucket,omitempty" tf:"code_bucket,omitempty"` // The GCS bucket content is being stored in for this app. DefaultBucket *string `json:"defaultBucket,omitempty" tf:"default_bucket,omitempty"` // The default hostname for this app. DefaultHostname *string `json:"defaultHostname,omitempty" tf:"default_hostname,omitempty"` // The GCR domain used for storing managed Docker images for this app. GcrDomain *string `json:"gcrDomain,omitempty" tf:"gcr_domain,omitempty"` // an identifier for the resource with format {{project}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // Unique name of the app, usually apps/{PROJECT_ID} Name *string `json:"name,omitempty" tf:"name,omitempty"` // A list of dispatch rule blocks. Each block has a domain, path, and service field. URLDispatchRule []URLDispatchRuleObservation `json:"urlDispatchRule,omitempty" tf:"url_dispatch_rule,omitempty"` }
func (*ApplicationObservation) DeepCopy ¶
func (in *ApplicationObservation) DeepCopy() *ApplicationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationObservation.
func (*ApplicationObservation) DeepCopyInto ¶
func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationParameters ¶
type ApplicationParameters struct { // The domain to authenticate users with when using App Engine's User API. // +kubebuilder:validation:Optional AuthDomain *string `json:"authDomain,omitempty" tf:"auth_domain,omitempty"` // The type of the Cloud Firestore or Cloud Datastore database associated with this application. // Can be CLOUD_FIRESTORE or CLOUD_DATASTORE_COMPATIBILITY for new // instances. To support old instances, the value CLOUD_DATASTORE is accepted // by the provider, but will be rejected by the API. // +kubebuilder:validation:Optional DatabaseType *string `json:"databaseType,omitempty" tf:"database_type,omitempty"` // A block of optional settings to configure specific App Engine features: // +kubebuilder:validation:Optional FeatureSettings []FeatureSettingsParameters `json:"featureSettings,omitempty" tf:"feature_settings,omitempty"` // Settings for enabling Cloud Identity Aware Proxy // +kubebuilder:validation:Optional Iap []IapParameters `json:"iap,omitempty" tf:"iap,omitempty"` // The location // to serve the app from. // +kubebuilder:validation:Required LocationID *string `json:"locationId" tf:"location_id,omitempty"` // The project ID to create the application under. // ~>NOTE: GCP only accepts project ID, not project number. If you are using number, // you may get a "Permission denied" error. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudplatform/v1beta1.Project // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // Reference to a Project in cloudplatform to populate project. // +kubebuilder:validation:Optional ProjectRef *v1.Reference `json:"projectRef,omitempty" tf:"-"` // Selector for a Project in cloudplatform to populate project. // +kubebuilder:validation:Optional ProjectSelector *v1.Selector `json:"projectSelector,omitempty" tf:"-"` // The serving status of the app. // +kubebuilder:validation:Optional ServingStatus *string `json:"servingStatus,omitempty" tf:"serving_status,omitempty"` }
func (*ApplicationParameters) DeepCopy ¶
func (in *ApplicationParameters) DeepCopy() *ApplicationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationParameters.
func (*ApplicationParameters) DeepCopyInto ¶
func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSpec ¶
type ApplicationSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ApplicationParameters `json:"forProvider"` }
ApplicationSpec defines the desired state of Application
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationStatus ¶
type ApplicationStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ApplicationObservation `json:"atProvider,omitempty"` }
ApplicationStatus defines the observed state of Application.
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureSettingsObservation ¶
type FeatureSettingsObservation struct { }
func (*FeatureSettingsObservation) DeepCopy ¶
func (in *FeatureSettingsObservation) DeepCopy() *FeatureSettingsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSettingsObservation.
func (*FeatureSettingsObservation) DeepCopyInto ¶
func (in *FeatureSettingsObservation) DeepCopyInto(out *FeatureSettingsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureSettingsParameters ¶
type FeatureSettingsParameters struct { // Set to false to use the legacy health check instead of the readiness // and liveness checks. // +kubebuilder:validation:Required SplitHealthChecks *bool `json:"splitHealthChecks" tf:"split_health_checks,omitempty"` }
func (*FeatureSettingsParameters) DeepCopy ¶
func (in *FeatureSettingsParameters) DeepCopy() *FeatureSettingsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSettingsParameters.
func (*FeatureSettingsParameters) DeepCopyInto ¶
func (in *FeatureSettingsParameters) DeepCopyInto(out *FeatureSettingsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IapObservation ¶
type IapObservation struct { }
func (*IapObservation) DeepCopy ¶
func (in *IapObservation) DeepCopy() *IapObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IapObservation.
func (*IapObservation) DeepCopyInto ¶
func (in *IapObservation) DeepCopyInto(out *IapObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IapParameters ¶
type IapParameters struct { // Whether the serving infrastructure will authenticate and authorize all incoming requests. // (default is false) // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // OAuth2 client ID to use for the authentication flow. // +kubebuilder:validation:Required Oauth2ClientID *string `json:"oauth2ClientId" tf:"oauth2_client_id,omitempty"` // OAuth2 client secret to use for the authentication flow. // The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. // +kubebuilder:validation:Required Oauth2ClientSecretSecretRef v1.SecretKeySelector `json:"oauth2ClientSecretSecretRef" tf:"-"` }
func (*IapParameters) DeepCopy ¶
func (in *IapParameters) DeepCopy() *IapParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IapParameters.
func (*IapParameters) DeepCopyInto ¶
func (in *IapParameters) DeepCopyInto(out *IapParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type URLDispatchRuleObservation ¶
type URLDispatchRuleObservation struct { Domain *string `json:"domain,omitempty" tf:"domain,omitempty"` Path *string `json:"path,omitempty" tf:"path,omitempty"` Service *string `json:"service,omitempty" tf:"service,omitempty"` }
func (*URLDispatchRuleObservation) DeepCopy ¶
func (in *URLDispatchRuleObservation) DeepCopy() *URLDispatchRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLDispatchRuleObservation.
func (*URLDispatchRuleObservation) DeepCopyInto ¶
func (in *URLDispatchRuleObservation) DeepCopyInto(out *URLDispatchRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type URLDispatchRuleParameters ¶
type URLDispatchRuleParameters struct { }
func (*URLDispatchRuleParameters) DeepCopy ¶
func (in *URLDispatchRuleParameters) DeepCopy() *URLDispatchRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLDispatchRuleParameters.
func (*URLDispatchRuleParameters) DeepCopyInto ¶
func (in *URLDispatchRuleParameters) DeepCopyInto(out *URLDispatchRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.