v1beta1

package
v1.12.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=firebaserules.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "firebaserules.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

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 (
	Release_Kind             = "Release"
	Release_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Release_Kind}.String()
	Release_KindAPIVersion   = Release_Kind + "." + CRDGroupVersion.String()
	Release_GroupVersionKind = CRDGroupVersion.WithKind(Release_Kind)
)

Repository type metadata.

View Source
var (
	Ruleset_Kind             = "Ruleset"
	Ruleset_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Ruleset_Kind}.String()
	Ruleset_KindAPIVersion   = Ruleset_Kind + "." + CRDGroupVersion.String()
	Ruleset_GroupVersionKind = CRDGroupVersion.WithKind(Ruleset_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type FilesInitParameters added in v0.35.0

type FilesInitParameters struct {

	// Textual Content.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Fingerprint (e.g. github sha) associated with the File.
	Fingerprint *string `json:"fingerprint,omitempty" tf:"fingerprint,omitempty"`

	// Output only. Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*FilesInitParameters) DeepCopy added in v0.35.0

func (in *FilesInitParameters) DeepCopy() *FilesInitParameters

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

func (*FilesInitParameters) DeepCopyInto added in v0.35.0

func (in *FilesInitParameters) DeepCopyInto(out *FilesInitParameters)

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

type FilesObservation

type FilesObservation struct {

	// Textual Content.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// Fingerprint (e.g. github sha) associated with the File.
	Fingerprint *string `json:"fingerprint,omitempty" tf:"fingerprint,omitempty"`

	// Output only. Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*FilesObservation) DeepCopy

func (in *FilesObservation) DeepCopy() *FilesObservation

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

func (*FilesObservation) DeepCopyInto

func (in *FilesObservation) DeepCopyInto(out *FilesObservation)

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

type FilesParameters

type FilesParameters struct {

	// Textual Content.
	// +kubebuilder:validation:Optional
	Content *string `json:"content" tf:"content,omitempty"`

	// Fingerprint (e.g. github sha) associated with the File.
	// +kubebuilder:validation:Optional
	Fingerprint *string `json:"fingerprint,omitempty" tf:"fingerprint,omitempty"`

	// Output only. Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*FilesParameters) DeepCopy

func (in *FilesParameters) DeepCopy() *FilesParameters

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

func (*FilesParameters) DeepCopyInto

func (in *FilesParameters) DeepCopyInto(out *FilesParameters)

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

type MetadataInitParameters added in v0.35.0

type MetadataInitParameters struct {
}

func (*MetadataInitParameters) DeepCopy added in v0.35.0

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

func (*MetadataInitParameters) DeepCopyInto added in v0.35.0

func (in *MetadataInitParameters) DeepCopyInto(out *MetadataInitParameters)

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

type MetadataObservation

type MetadataObservation struct {
	Services []*string `json:"services,omitempty" tf:"services,omitempty"`
}

func (*MetadataObservation) DeepCopy

func (in *MetadataObservation) DeepCopy() *MetadataObservation

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

func (*MetadataObservation) DeepCopyInto

func (in *MetadataObservation) DeepCopyInto(out *MetadataObservation)

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

type MetadataParameters

type MetadataParameters struct {
}

func (*MetadataParameters) DeepCopy

func (in *MetadataParameters) DeepCopy() *MetadataParameters

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

func (*MetadataParameters) DeepCopyInto

func (in *MetadataParameters) DeepCopyInto(out *MetadataParameters)

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

type Release

type Release struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReleaseSpec   `json:"spec"`
	Status            ReleaseStatus `json:"status,omitempty"`
}

Release is the Schema for the Releases API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*Release) DeepCopy

func (in *Release) DeepCopy() *Release

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

func (*Release) DeepCopyInto

func (in *Release) DeepCopyInto(out *Release)

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

func (*Release) DeepCopyObject

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

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

func (*Release) GetCondition

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

GetCondition of this Release.

func (*Release) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Release

func (*Release) GetDeletionPolicy

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

GetDeletionPolicy of this Release.

func (*Release) GetID

func (tr *Release) GetID() string

GetID returns ID of underlying Terraform resource of this Release

func (*Release) GetInitParameters added in v0.35.0

func (tr *Release) GetInitParameters() (map[string]any, error)

GetInitParameters of this Release

func (*Release) GetManagementPolicies added in v0.35.0

func (mg *Release) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Release.

func (*Release) GetMergedParameters added in v0.40.0

func (tr *Release) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Release

func (*Release) GetObservation

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

GetObservation of this Release

func (*Release) GetParameters

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

GetParameters of this Release

func (*Release) GetProviderConfigReference

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

GetProviderConfigReference of this Release.

func (*Release) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Release.

func (*Release) GetTerraformResourceType

func (mg *Release) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Release

func (*Release) GetTerraformSchemaVersion

func (tr *Release) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Release) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Release.

func (*Release) Hub added in v0.41.2

func (tr *Release) Hub()

Hub marks this type as a conversion hub.

func (*Release) LateInitialize

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

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

func (*Release) ResolveReferences

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

func (*Release) SetConditions

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

SetConditions of this Release.

func (*Release) SetDeletionPolicy

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

SetDeletionPolicy of this Release.

func (*Release) SetManagementPolicies added in v0.35.0

func (mg *Release) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Release.

func (*Release) SetObservation

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

SetObservation for this Release

func (*Release) SetParameters

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

SetParameters for this Release

func (*Release) SetProviderConfigReference

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

SetProviderConfigReference of this Release.

func (*Release) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Release.

func (*Release) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Release.

type ReleaseInitParameters added in v0.35.0

type ReleaseInitParameters struct {

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Name of the Ruleset referred to by this Release. The Ruleset must exist for the Release to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/firebaserules/v1beta2.Ruleset
	RulesetName *string `json:"rulesetName,omitempty" tf:"ruleset_name,omitempty"`

	// Reference to a Ruleset in firebaserules to populate rulesetName.
	// +kubebuilder:validation:Optional
	RulesetNameRef *v1.Reference `json:"rulesetNameRef,omitempty" tf:"-"`

	// Selector for a Ruleset in firebaserules to populate rulesetName.
	// +kubebuilder:validation:Optional
	RulesetNameSelector *v1.Selector `json:"rulesetNameSelector,omitempty" tf:"-"`
}

func (*ReleaseInitParameters) DeepCopy added in v0.35.0

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

func (*ReleaseInitParameters) DeepCopyInto added in v0.35.0

func (in *ReleaseInitParameters) DeepCopyInto(out *ReleaseInitParameters)

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

type ReleaseList

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

ReleaseList contains a list of Releases

func (*ReleaseList) DeepCopy

func (in *ReleaseList) DeepCopy() *ReleaseList

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

func (*ReleaseList) DeepCopyInto

func (in *ReleaseList) DeepCopyInto(out *ReleaseList)

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

func (*ReleaseList) DeepCopyObject

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

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

func (*ReleaseList) GetItems

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

GetItems of this ReleaseList.

type ReleaseObservation

type ReleaseObservation struct {

	// Output only. Time the release was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// Disable the release to keep it from being served. The response code of NOT_FOUND will be given for executables generated from this Release.
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// an identifier for the resource with format projects/{{project}}/releases/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Name of the Ruleset referred to by this Release. The Ruleset must exist for the Release to be created.
	RulesetName *string `json:"rulesetName,omitempty" tf:"ruleset_name,omitempty"`

	// Output only. Time the release was updated.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*ReleaseObservation) DeepCopy

func (in *ReleaseObservation) DeepCopy() *ReleaseObservation

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

func (*ReleaseObservation) DeepCopyInto

func (in *ReleaseObservation) DeepCopyInto(out *ReleaseObservation)

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

type ReleaseParameters

type ReleaseParameters struct {

	// The project for the resource
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Name of the Ruleset referred to by this Release. The Ruleset must exist for the Release to be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/firebaserules/v1beta2.Ruleset
	// +kubebuilder:validation:Optional
	RulesetName *string `json:"rulesetName,omitempty" tf:"ruleset_name,omitempty"`

	// Reference to a Ruleset in firebaserules to populate rulesetName.
	// +kubebuilder:validation:Optional
	RulesetNameRef *v1.Reference `json:"rulesetNameRef,omitempty" tf:"-"`

	// Selector for a Ruleset in firebaserules to populate rulesetName.
	// +kubebuilder:validation:Optional
	RulesetNameSelector *v1.Selector `json:"rulesetNameSelector,omitempty" tf:"-"`
}

func (*ReleaseParameters) DeepCopy

func (in *ReleaseParameters) DeepCopy() *ReleaseParameters

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

func (*ReleaseParameters) DeepCopyInto

func (in *ReleaseParameters) DeepCopyInto(out *ReleaseParameters)

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

type ReleaseSpec

type ReleaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ReleaseParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ReleaseInitParameters `json:"initProvider,omitempty"`
}

ReleaseSpec defines the desired state of Release

func (*ReleaseSpec) DeepCopy

func (in *ReleaseSpec) DeepCopy() *ReleaseSpec

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

func (*ReleaseSpec) DeepCopyInto

func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)

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

type ReleaseStatus

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

ReleaseStatus defines the observed state of Release.

func (*ReleaseStatus) DeepCopy

func (in *ReleaseStatus) DeepCopy() *ReleaseStatus

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

func (*ReleaseStatus) DeepCopyInto

func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)

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

type Ruleset

type Ruleset struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || (has(self.initProvider) && has(self.initProvider.source))",message="spec.forProvider.source is a required parameter"
	Spec   RulesetSpec   `json:"spec"`
	Status RulesetStatus `json:"status,omitempty"`
}

Ruleset is the Schema for the Rulesets API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*Ruleset) ConvertFrom added in v1.2.0

func (tr *Ruleset) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the Ruleset type.

func (*Ruleset) ConvertTo added in v1.2.0

func (tr *Ruleset) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this Ruleset to the hub type.

func (*Ruleset) DeepCopy

func (in *Ruleset) DeepCopy() *Ruleset

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

func (*Ruleset) DeepCopyInto

func (in *Ruleset) DeepCopyInto(out *Ruleset)

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

func (*Ruleset) DeepCopyObject

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

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

func (*Ruleset) GetCondition

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

GetCondition of this Ruleset.

func (*Ruleset) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Ruleset

func (*Ruleset) GetDeletionPolicy

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

GetDeletionPolicy of this Ruleset.

func (*Ruleset) GetID

func (tr *Ruleset) GetID() string

GetID returns ID of underlying Terraform resource of this Ruleset

func (*Ruleset) GetInitParameters added in v0.35.0

func (tr *Ruleset) GetInitParameters() (map[string]any, error)

GetInitParameters of this Ruleset

func (*Ruleset) GetManagementPolicies added in v0.35.0

func (mg *Ruleset) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Ruleset.

func (*Ruleset) GetMergedParameters added in v0.40.0

func (tr *Ruleset) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Ruleset

func (*Ruleset) GetObservation

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

GetObservation of this Ruleset

func (*Ruleset) GetParameters

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

GetParameters of this Ruleset

func (*Ruleset) GetProviderConfigReference

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

GetProviderConfigReference of this Ruleset.

func (*Ruleset) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Ruleset.

func (*Ruleset) GetTerraformResourceType

func (mg *Ruleset) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Ruleset

func (*Ruleset) GetTerraformSchemaVersion

func (tr *Ruleset) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Ruleset) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Ruleset.

func (*Ruleset) LateInitialize

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

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

func (*Ruleset) SetConditions

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

SetConditions of this Ruleset.

func (*Ruleset) SetDeletionPolicy

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

SetDeletionPolicy of this Ruleset.

func (*Ruleset) SetManagementPolicies added in v0.35.0

func (mg *Ruleset) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Ruleset.

func (*Ruleset) SetObservation

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

SetObservation for this Ruleset

func (*Ruleset) SetParameters

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

SetParameters for this Ruleset

func (*Ruleset) SetProviderConfigReference

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

SetProviderConfigReference of this Ruleset.

func (*Ruleset) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Ruleset.

func (*Ruleset) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Ruleset.

type RulesetInitParameters added in v0.35.0

type RulesetInitParameters struct {

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Source for the Ruleset.
	Source []SourceInitParameters `json:"source,omitempty" tf:"source,omitempty"`
}

func (*RulesetInitParameters) DeepCopy added in v0.35.0

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

func (*RulesetInitParameters) DeepCopyInto added in v0.35.0

func (in *RulesetInitParameters) DeepCopyInto(out *RulesetInitParameters)

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

type RulesetList

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

RulesetList contains a list of Rulesets

func (*RulesetList) DeepCopy

func (in *RulesetList) DeepCopy() *RulesetList

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

func (*RulesetList) DeepCopyInto

func (in *RulesetList) DeepCopyInto(out *RulesetList)

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

func (*RulesetList) DeepCopyObject

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

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

func (*RulesetList) GetItems

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

GetItems of this RulesetList.

type RulesetObservation

type RulesetObservation struct {

	// Output only. Time the Ruleset was created.
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	// an identifier for the resource with format projects/{{project}}/rulesets/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Output only. The metadata for this ruleset.
	Metadata []MetadataObservation `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Output only. Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The project for the resource
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Source for the Ruleset.
	Source []SourceObservation `json:"source,omitempty" tf:"source,omitempty"`
}

func (*RulesetObservation) DeepCopy

func (in *RulesetObservation) DeepCopy() *RulesetObservation

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

func (*RulesetObservation) DeepCopyInto

func (in *RulesetObservation) DeepCopyInto(out *RulesetObservation)

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

type RulesetParameters

type RulesetParameters struct {

	// The project for the resource
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// Source for the Ruleset.
	// +kubebuilder:validation:Optional
	Source []SourceParameters `json:"source,omitempty" tf:"source,omitempty"`
}

func (*RulesetParameters) DeepCopy

func (in *RulesetParameters) DeepCopy() *RulesetParameters

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

func (*RulesetParameters) DeepCopyInto

func (in *RulesetParameters) DeepCopyInto(out *RulesetParameters)

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

type RulesetSpec

type RulesetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RulesetParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider RulesetInitParameters `json:"initProvider,omitempty"`
}

RulesetSpec defines the desired state of Ruleset

func (*RulesetSpec) DeepCopy

func (in *RulesetSpec) DeepCopy() *RulesetSpec

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

func (*RulesetSpec) DeepCopyInto

func (in *RulesetSpec) DeepCopyInto(out *RulesetSpec)

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

type RulesetStatus

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

RulesetStatus defines the observed state of Ruleset.

func (*RulesetStatus) DeepCopy

func (in *RulesetStatus) DeepCopy() *RulesetStatus

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

func (*RulesetStatus) DeepCopyInto

func (in *RulesetStatus) DeepCopyInto(out *RulesetStatus)

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

type SourceInitParameters added in v0.35.0

type SourceInitParameters struct {

	// File set constituting the Source bundle.
	Files []FilesInitParameters `json:"files,omitempty" tf:"files,omitempty"`

	// Language of the Source bundle. If unspecified, the language will default to FIREBASE_RULES. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
	Language *string `json:"language,omitempty" tf:"language,omitempty"`
}

func (*SourceInitParameters) DeepCopy added in v0.35.0

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

func (*SourceInitParameters) DeepCopyInto added in v0.35.0

func (in *SourceInitParameters) DeepCopyInto(out *SourceInitParameters)

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

type SourceObservation

type SourceObservation struct {

	// File set constituting the Source bundle.
	Files []FilesObservation `json:"files,omitempty" tf:"files,omitempty"`

	// Language of the Source bundle. If unspecified, the language will default to FIREBASE_RULES. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
	Language *string `json:"language,omitempty" tf:"language,omitempty"`
}

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 {

	// File set constituting the Source bundle.
	// +kubebuilder:validation:Optional
	Files []FilesParameters `json:"files" tf:"files,omitempty"`

	// Language of the Source bundle. If unspecified, the language will default to FIREBASE_RULES. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
	// +kubebuilder:validation:Optional
	Language *string `json:"language,omitempty" tf:"language,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