v1beta2

package
v1.10.1 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

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

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

func (in *FilesInitParameters) DeepCopy() *FilesInitParameters

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

func (*FilesInitParameters) DeepCopyInto

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

type MetadataInitParameters struct {
}

func (*MetadataInitParameters) DeepCopy

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

func (*MetadataInitParameters) DeepCopyInto

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

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

GetInitParameters of this Ruleset

func (*Ruleset) GetManagementPolicies

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

GetManagementPolicies of this Ruleset.

func (*Ruleset) GetMergedParameters

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

func (tr *Ruleset) Hub()

Hub marks this type as a conversion hub.

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

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

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

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

func (*RulesetInitParameters) DeepCopyInto

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

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

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

func (*SourceInitParameters) DeepCopyInto

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