v1beta1

package
v0.0.0-...-274ce61 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=inspector2.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "inspector2.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Enabler_Kind             = "Enabler"
	Enabler_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Enabler_Kind}.String()
	Enabler_KindAPIVersion   = Enabler_Kind + "." + CRDGroupVersion.String()
	Enabler_GroupVersionKind = CRDGroupVersion.WithKind(Enabler_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
)

Functions

This section is empty.

Types

type Enabler

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

Enabler is the Schema for the Enablers API. +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,aws}

func (*Enabler) DeepCopy

func (in *Enabler) DeepCopy() *Enabler

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

func (*Enabler) DeepCopyInto

func (in *Enabler) DeepCopyInto(out *Enabler)

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

func (*Enabler) DeepCopyObject

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

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

func (*Enabler) GetCondition

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

GetCondition of this Enabler.

func (*Enabler) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Enabler

func (*Enabler) GetDeletionPolicy

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

GetDeletionPolicy of this Enabler.

func (*Enabler) GetID

func (tr *Enabler) GetID() string

GetID returns ID of underlying Terraform resource of this Enabler

func (*Enabler) GetManagementPolicy

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

GetManagementPolicy of this Enabler.

func (*Enabler) GetObservation

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

GetObservation of this Enabler

func (*Enabler) GetParameters

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

GetParameters of this Enabler

func (*Enabler) GetProviderConfigReference

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

GetProviderConfigReference of this Enabler.

func (*Enabler) GetProviderReference

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

GetProviderReference of this Enabler. Deprecated: Use GetProviderConfigReference.

func (*Enabler) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Enabler.

func (*Enabler) GetTerraformResourceType

func (mg *Enabler) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Enabler

func (*Enabler) GetTerraformSchemaVersion

func (tr *Enabler) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Enabler) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Enabler.

func (*Enabler) LateInitialize

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

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

func (*Enabler) SetConditions

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

SetConditions of this Enabler.

func (*Enabler) SetDeletionPolicy

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

SetDeletionPolicy of this Enabler.

func (*Enabler) SetManagementPolicy

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

SetManagementPolicy of this Enabler.

func (*Enabler) SetObservation

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

SetObservation for this Enabler

func (*Enabler) SetParameters

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

SetParameters for this Enabler

func (*Enabler) SetProviderConfigReference

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

SetProviderConfigReference of this Enabler.

func (*Enabler) SetProviderReference

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

SetProviderReference of this Enabler. Deprecated: Use SetProviderConfigReference.

func (*Enabler) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Enabler.

func (*Enabler) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Enabler.

type EnablerList

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

EnablerList contains a list of Enablers

func (*EnablerList) DeepCopy

func (in *EnablerList) DeepCopy() *EnablerList

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

func (*EnablerList) DeepCopyInto

func (in *EnablerList) DeepCopyInto(out *EnablerList)

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

func (*EnablerList) DeepCopyObject

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

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

func (*EnablerList) GetItems

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

GetItems of this EnablerList.

type EnablerObservation

type EnablerObservation struct {

	// Set of account IDs.
	AccountIds []*string `json:"accountIds,omitempty" tf:"account_ids,omitempty"`

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

	// Type of resources to scan. Valid values are EC2, ECR, and LAMBDA.
	ResourceTypes []*string `json:"resourceTypes,omitempty" tf:"resource_types,omitempty"`
}

func (*EnablerObservation) DeepCopy

func (in *EnablerObservation) DeepCopy() *EnablerObservation

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

func (*EnablerObservation) DeepCopyInto

func (in *EnablerObservation) DeepCopyInto(out *EnablerObservation)

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

type EnablerParameters

type EnablerParameters struct {

	// Set of account IDs.
	// +kubebuilder:validation:Optional
	AccountIds []*string `json:"accountIds,omitempty" tf:"account_ids,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Type of resources to scan. Valid values are EC2, ECR, and LAMBDA.
	// +kubebuilder:validation:Optional
	ResourceTypes []*string `json:"resourceTypes,omitempty" tf:"resource_types,omitempty"`
}

func (*EnablerParameters) DeepCopy

func (in *EnablerParameters) DeepCopy() *EnablerParameters

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

func (*EnablerParameters) DeepCopyInto

func (in *EnablerParameters) DeepCopyInto(out *EnablerParameters)

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

type EnablerSpec

type EnablerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EnablerParameters `json:"forProvider"`
}

EnablerSpec defines the desired state of Enabler

func (*EnablerSpec) DeepCopy

func (in *EnablerSpec) DeepCopy() *EnablerSpec

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

func (*EnablerSpec) DeepCopyInto

func (in *EnablerSpec) DeepCopyInto(out *EnablerSpec)

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

type EnablerStatus

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

EnablerStatus defines the observed state of Enabler.

func (*EnablerStatus) DeepCopy

func (in *EnablerStatus) DeepCopy() *EnablerStatus

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

func (*EnablerStatus) DeepCopyInto

func (in *EnablerStatus) DeepCopyInto(out *EnablerStatus)

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