v1beta1

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "iot.aws.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 (
	Policy_Kind             = "Policy"
	Policy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String()
	Policy_KindAPIVersion   = Policy_Kind + "." + CRDGroupVersion.String()
	Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind)
)

Repository type metadata.

View Source
var (
	Thing_Kind             = "Thing"
	Thing_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Thing_Kind}.String()
	Thing_KindAPIVersion   = Thing_Kind + "." + CRDGroupVersion.String()
	Thing_GroupVersionKind = CRDGroupVersion.WithKind(Thing_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicySpec   `json:"spec"`
	Status            PolicyStatus `json:"status,omitempty"`
}

Policy is the Schema for the Policys API. Provides an IoT policy. +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 (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) GetCondition

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

GetCondition of this Policy.

func (*Policy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Policy

func (*Policy) GetDeletionPolicy

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

GetDeletionPolicy of this Policy.

func (*Policy) GetID

func (tr *Policy) GetID() string

GetID returns ID of underlying Terraform resource of this Policy

func (*Policy) GetObservation

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

GetObservation of this Policy

func (*Policy) GetParameters

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

GetParameters of this Policy

func (*Policy) GetProviderConfigReference

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

GetProviderConfigReference of this Policy.

func (*Policy) GetProviderReference

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

GetProviderReference of this Policy. Deprecated: Use GetProviderConfigReference.

func (*Policy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Policy.

func (*Policy) GetTerraformResourceType

func (mg *Policy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Policy

func (*Policy) GetTerraformSchemaVersion

func (tr *Policy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Policy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Policy.

func (*Policy) LateInitialize

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

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

func (*Policy) SetConditions

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

SetConditions of this Policy.

func (*Policy) SetDeletionPolicy

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

SetDeletionPolicy of this Policy.

func (*Policy) SetObservation

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

SetObservation for this Policy

func (*Policy) SetParameters

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

SetParameters for this Policy

func (*Policy) SetProviderConfigReference

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

SetProviderConfigReference of this Policy.

func (*Policy) SetProviderReference

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

SetProviderReference of this Policy. Deprecated: Use SetProviderConfigReference.

func (*Policy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Policy.

func (*Policy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Policy.

type PolicyList

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

PolicyList contains a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

func (*PolicyList) GetItems

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

GetItems of this PolicyList.

type PolicyObservation

type PolicyObservation struct {

	// The ARN assigned by AWS to this policy.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The default version of this policy.
	DefaultVersionID *string `json:"defaultVersionId,omitempty" tf:"default_version_id,omitempty"`

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

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// The policy document. This is a JSON formatted string. Use the IoT Developer Guide for more information on IoT Policies.
	// +kubebuilder:validation:Required
	Policy *string `json:"policy" tf:"policy,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:"-"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type PolicySpec

type PolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyParameters `json:"forProvider"`
}

PolicySpec defines the desired state of Policy

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicyStatus

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

PolicyStatus defines the observed state of Policy.

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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

type Thing

type Thing struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ThingSpec   `json:"spec"`
	Status            ThingStatus `json:"status,omitempty"`
}

Thing is the Schema for the Things API. Creates and manages an AWS IoT Thing. +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 (*Thing) DeepCopy

func (in *Thing) DeepCopy() *Thing

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

func (*Thing) DeepCopyInto

func (in *Thing) DeepCopyInto(out *Thing)

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

func (*Thing) DeepCopyObject

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

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

func (*Thing) GetCondition

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

GetCondition of this Thing.

func (*Thing) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Thing

func (*Thing) GetDeletionPolicy

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

GetDeletionPolicy of this Thing.

func (*Thing) GetID

func (tr *Thing) GetID() string

GetID returns ID of underlying Terraform resource of this Thing

func (*Thing) GetObservation

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

GetObservation of this Thing

func (*Thing) GetParameters

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

GetParameters of this Thing

func (*Thing) GetProviderConfigReference

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

GetProviderConfigReference of this Thing.

func (*Thing) GetProviderReference

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

GetProviderReference of this Thing. Deprecated: Use GetProviderConfigReference.

func (*Thing) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Thing.

func (*Thing) GetTerraformResourceType

func (mg *Thing) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Thing

func (*Thing) GetTerraformSchemaVersion

func (tr *Thing) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Thing) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Thing.

func (*Thing) LateInitialize

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

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

func (*Thing) SetConditions

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

SetConditions of this Thing.

func (*Thing) SetDeletionPolicy

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

SetDeletionPolicy of this Thing.

func (*Thing) SetObservation

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

SetObservation for this Thing

func (*Thing) SetParameters

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

SetParameters for this Thing

func (*Thing) SetProviderConfigReference

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

SetProviderConfigReference of this Thing.

func (*Thing) SetProviderReference

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

SetProviderReference of this Thing. Deprecated: Use SetProviderConfigReference.

func (*Thing) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Thing.

func (*Thing) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Thing.

type ThingList

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

ThingList contains a list of Things

func (*ThingList) DeepCopy

func (in *ThingList) DeepCopy() *ThingList

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

func (*ThingList) DeepCopyInto

func (in *ThingList) DeepCopyInto(out *ThingList)

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

func (*ThingList) DeepCopyObject

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

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

func (*ThingList) GetItems

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

GetItems of this ThingList.

type ThingObservation

type ThingObservation struct {

	// The ARN of the thing.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The default client ID.
	DefaultClientID *string `json:"defaultClientId,omitempty" tf:"default_client_id,omitempty"`

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

	// The current version of the thing record in the registry.
	Version *float64 `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ThingObservation) DeepCopy

func (in *ThingObservation) DeepCopy() *ThingObservation

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

func (*ThingObservation) DeepCopyInto

func (in *ThingObservation) DeepCopyInto(out *ThingObservation)

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

type ThingParameters

type ThingParameters struct {

	// Map of attributes of the thing.
	// +kubebuilder:validation:Optional
	Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,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:"-"`

	// The thing type name.
	// +kubebuilder:validation:Optional
	ThingTypeName *string `json:"thingTypeName,omitempty" tf:"thing_type_name,omitempty"`
}

func (*ThingParameters) DeepCopy

func (in *ThingParameters) DeepCopy() *ThingParameters

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

func (*ThingParameters) DeepCopyInto

func (in *ThingParameters) DeepCopyInto(out *ThingParameters)

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

type ThingSpec

type ThingSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ThingParameters `json:"forProvider"`
}

ThingSpec defines the desired state of Thing

func (*ThingSpec) DeepCopy

func (in *ThingSpec) DeepCopy() *ThingSpec

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

func (*ThingSpec) DeepCopyInto

func (in *ThingSpec) DeepCopyInto(out *ThingSpec)

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

type ThingStatus

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

ThingStatus defines the observed state of Thing.

func (*ThingStatus) DeepCopy

func (in *ThingStatus) DeepCopy() *ThingStatus

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

func (*ThingStatus) DeepCopyInto

func (in *ThingStatus) DeepCopyInto(out *ThingStatus)

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