v1beta1

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Device_Kind             = "Device"
	Device_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Device_Kind}.String()
	Device_KindAPIVersion   = Device_Kind + "." + CRDGroupVersion.String()
	Device_GroupVersionKind = CRDGroupVersion.WithKind(Device_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
)
View Source
var (
	Registry_Kind             = "Registry"
	Registry_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Registry_Kind}.String()
	Registry_KindAPIVersion   = Registry_Kind + "." + CRDGroupVersion.String()
	Registry_GroupVersionKind = CRDGroupVersion.WithKind(Registry_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ConfigObservation

type ConfigObservation struct {

	// The device configuration data.
	BinaryData *string `json:"binaryData,omitempty" tf:"binary_data,omitempty"`

	// The time at which this configuration version was updated in Cloud IoT Core.
	CloudUpdateTime *string `json:"cloudUpdateTime,omitempty" tf:"cloud_update_time,omitempty"`

	// The time at which Cloud IoT Core received the acknowledgment from the device,
	// indicating that the device has received this configuration version.
	DeviceAckTime *string `json:"deviceAckTime,omitempty" tf:"device_ack_time,omitempty"`

	// The version of this update.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ConfigObservation) DeepCopy

func (in *ConfigObservation) DeepCopy() *ConfigObservation

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

func (*ConfigObservation) DeepCopyInto

func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation)

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

type ConfigParameters

type ConfigParameters struct {
}

func (*ConfigParameters) DeepCopy

func (in *ConfigParameters) DeepCopy() *ConfigParameters

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

func (*ConfigParameters) DeepCopyInto

func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters)

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

type CredentialsObservation

type CredentialsObservation struct {
}

func (*CredentialsObservation) DeepCopy

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

func (*CredentialsObservation) DeepCopyInto

func (in *CredentialsObservation) DeepCopyInto(out *CredentialsObservation)

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

type CredentialsParameters

type CredentialsParameters struct {

	// The time at which this credential becomes invalid.
	// +kubebuilder:validation:Optional
	ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"`

	// A public key used to verify the signature of JSON Web Tokens (JWTs).
	// Structure is documented below.
	// +kubebuilder:validation:Required
	PublicKey []PublicKeyParameters `json:"publicKey" tf:"public_key,omitempty"`
}

func (*CredentialsParameters) DeepCopy

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

func (*CredentialsParameters) DeepCopyInto

func (in *CredentialsParameters) DeepCopyInto(out *CredentialsParameters)

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

type Device

type Device struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DeviceSpec   `json:"spec"`
	Status            DeviceStatus `json:"status,omitempty"`
}

Device is the Schema for the Devices API. A Google Cloud IoT Core device. +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 (*Device) DeepCopy

func (in *Device) DeepCopy() *Device

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

func (*Device) DeepCopyInto

func (in *Device) DeepCopyInto(out *Device)

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

func (*Device) DeepCopyObject

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

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

func (*Device) GetCondition

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

GetCondition of this Device.

func (*Device) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Device

func (*Device) GetDeletionPolicy

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

GetDeletionPolicy of this Device.

func (*Device) GetID

func (tr *Device) GetID() string

GetID returns ID of underlying Terraform resource of this Device

func (*Device) GetObservation

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

GetObservation of this Device

func (*Device) GetParameters

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

GetParameters of this Device

func (*Device) GetProviderConfigReference

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

GetProviderConfigReference of this Device.

func (*Device) GetProviderReference

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

GetProviderReference of this Device. Deprecated: Use GetProviderConfigReference.

func (*Device) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Device.

func (*Device) GetTerraformResourceType

func (mg *Device) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Device

func (*Device) GetTerraformSchemaVersion

func (tr *Device) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Device) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Device.

func (*Device) LateInitialize

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

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

func (*Device) ResolveReferences

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

ResolveReferences of this Device.

func (*Device) SetConditions

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

SetConditions of this Device.

func (*Device) SetDeletionPolicy

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

SetDeletionPolicy of this Device.

func (*Device) SetObservation

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

SetObservation for this Device

func (*Device) SetParameters

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

SetParameters for this Device

func (*Device) SetProviderConfigReference

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

SetProviderConfigReference of this Device.

func (*Device) SetProviderReference

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

SetProviderReference of this Device. Deprecated: Use SetProviderConfigReference.

func (*Device) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Device.

func (*Device) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Device.

type DeviceList

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

DeviceList contains a list of Devices

func (*DeviceList) DeepCopy

func (in *DeviceList) DeepCopy() *DeviceList

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

func (*DeviceList) DeepCopyInto

func (in *DeviceList) DeepCopyInto(out *DeviceList)

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

func (*DeviceList) DeepCopyObject

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

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

func (*DeviceList) GetItems

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

GetItems of this DeviceList.

type DeviceObservation

type DeviceObservation struct {

	// The most recent device configuration, which is eventually sent from Cloud IoT Core to the device.
	// Structure is documented below.
	Config []ConfigObservation `json:"config,omitempty" tf:"config,omitempty"`

	// Gateway-related configuration and state.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	GatewayConfig []GatewayConfigObservation `json:"gatewayConfig,omitempty" tf:"gateway_config,omitempty"`

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

	// The last time a cloud-to-device config version acknowledgment was received from the device.
	LastConfigAckTime *string `json:"lastConfigAckTime,omitempty" tf:"last_config_ack_time,omitempty"`

	// The last time a cloud-to-device config version was sent to the device.
	LastConfigSendTime *string `json:"lastConfigSendTime,omitempty" tf:"last_config_send_time,omitempty"`

	// The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub.
	// Structure is documented below.
	LastErrorStatus []LastErrorStatusObservation `json:"lastErrorStatus,omitempty" tf:"last_error_status,omitempty"`

	// The time the most recent error occurred, such as a failure to publish to Cloud Pub/Sub.
	LastErrorTime *string `json:"lastErrorTime,omitempty" tf:"last_error_time,omitempty"`

	// The last time a telemetry event was received.
	LastEventTime *string `json:"lastEventTime,omitempty" tf:"last_event_time,omitempty"`

	// The last time an MQTT PINGREQ was received.
	LastHeartbeatTime *string `json:"lastHeartbeatTime,omitempty" tf:"last_heartbeat_time,omitempty"`

	// The last time a state event was received.
	LastStateTime *string `json:"lastStateTime,omitempty" tf:"last_state_time,omitempty"`

	// A server-defined unique numeric ID for the device.
	// This is a more compact way to identify devices, and it is globally unique.
	NumID *string `json:"numId,omitempty" tf:"num_id,omitempty"`

	// The state most recently received from the device.
	// Structure is documented below.
	State []StateObservation `json:"state,omitempty" tf:"state,omitempty"`
}

func (*DeviceObservation) DeepCopy

func (in *DeviceObservation) DeepCopy() *DeviceObservation

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

func (*DeviceObservation) DeepCopyInto

func (in *DeviceObservation) DeepCopyInto(out *DeviceObservation)

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

type DeviceParameters

type DeviceParameters struct {

	// If a device is blocked, connections or requests from this device will fail.
	// +kubebuilder:validation:Optional
	Blocked *bool `json:"blocked,omitempty" tf:"blocked,omitempty"`

	// The credentials used to authenticate this device.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	Credentials []CredentialsParameters `json:"credentials,omitempty" tf:"credentials,omitempty"`

	// Gateway-related configuration and state.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	GatewayConfig []GatewayConfigParameters `json:"gatewayConfig,omitempty" tf:"gateway_config,omitempty"`

	// The logging verbosity for device activity.
	// Possible values are NONE, ERROR, INFO, and DEBUG.
	// +kubebuilder:validation:Optional
	LogLevel *string `json:"logLevel,omitempty" tf:"log_level,omitempty"`

	// The metadata key-value pairs assigned to the device.
	// +kubebuilder:validation:Optional
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the device registry where this device should be created.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/cloudiot/v1beta1.Registry
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Registry *string `json:"registry,omitempty" tf:"registry,omitempty"`

	// Reference to a Registry in cloudiot to populate registry.
	// +kubebuilder:validation:Optional
	RegistryRef *v1.Reference `json:"registryRef,omitempty" tf:"-"`

	// Selector for a Registry in cloudiot to populate registry.
	// +kubebuilder:validation:Optional
	RegistrySelector *v1.Selector `json:"registrySelector,omitempty" tf:"-"`
}

func (*DeviceParameters) DeepCopy

func (in *DeviceParameters) DeepCopy() *DeviceParameters

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

func (*DeviceParameters) DeepCopyInto

func (in *DeviceParameters) DeepCopyInto(out *DeviceParameters)

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

type DeviceSpec

type DeviceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DeviceParameters `json:"forProvider"`
}

DeviceSpec defines the desired state of Device

func (*DeviceSpec) DeepCopy

func (in *DeviceSpec) DeepCopy() *DeviceSpec

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

func (*DeviceSpec) DeepCopyInto

func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec)

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

type DeviceStatus

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

DeviceStatus defines the observed state of Device.

func (*DeviceStatus) DeepCopy

func (in *DeviceStatus) DeepCopy() *DeviceStatus

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

func (*DeviceStatus) DeepCopyInto

func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus)

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

type EventNotificationConfigsObservation

type EventNotificationConfigsObservation struct {
}

func (*EventNotificationConfigsObservation) DeepCopy

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

func (*EventNotificationConfigsObservation) DeepCopyInto

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

type EventNotificationConfigsParameters

type EventNotificationConfigsParameters struct {

	// PubSub topic name to publish device events.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/pubsub/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	PubsubTopicName *string `json:"pubsubTopicName,omitempty" tf:"pubsub_topic_name,omitempty"`

	// Reference to a Topic in pubsub to populate pubsubTopicName.
	// +kubebuilder:validation:Optional
	PubsubTopicNameRef *v1.Reference `json:"pubsubTopicNameRef,omitempty" tf:"-"`

	// Selector for a Topic in pubsub to populate pubsubTopicName.
	// +kubebuilder:validation:Optional
	PubsubTopicNameSelector *v1.Selector `json:"pubsubTopicNameSelector,omitempty" tf:"-"`

	// If the subfolder name matches this string exactly, this
	// configuration will be used. The string must not include the
	// leading '/' character. If empty, all strings are matched. Empty
	// value can only be used for the last event_notification_configs
	// item.
	// +kubebuilder:validation:Optional
	SubfolderMatches *string `json:"subfolderMatches,omitempty" tf:"subfolder_matches,omitempty"`
}

func (*EventNotificationConfigsParameters) DeepCopy

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

func (*EventNotificationConfigsParameters) DeepCopyInto

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

type GatewayConfigObservation

type GatewayConfigObservation struct {

	// The ID of the gateway the device accessed most recently.
	LastAccessedGatewayID *string `json:"lastAccessedGatewayId,omitempty" tf:"last_accessed_gateway_id,omitempty"`

	// The most recent time at which the device accessed the gateway specified in last_accessed_gateway.
	LastAccessedGatewayTime *string `json:"lastAccessedGatewayTime,omitempty" tf:"last_accessed_gateway_time,omitempty"`
}

func (*GatewayConfigObservation) DeepCopy

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

func (*GatewayConfigObservation) DeepCopyInto

func (in *GatewayConfigObservation) DeepCopyInto(out *GatewayConfigObservation)

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

type GatewayConfigParameters

type GatewayConfigParameters struct {

	// Indicates whether the device is a gateway.
	// Possible values are ASSOCIATION_ONLY, DEVICE_AUTH_TOKEN_ONLY, and ASSOCIATION_AND_DEVICE_AUTH_TOKEN.
	// +kubebuilder:validation:Optional
	GatewayAuthMethod *string `json:"gatewayAuthMethod,omitempty" tf:"gateway_auth_method,omitempty"`

	// Indicates whether the device is a gateway.
	// Default value is NON_GATEWAY.
	// Possible values are GATEWAY and NON_GATEWAY.
	// +kubebuilder:validation:Optional
	GatewayType *string `json:"gatewayType,omitempty" tf:"gateway_type,omitempty"`
}

func (*GatewayConfigParameters) DeepCopy

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

func (*GatewayConfigParameters) DeepCopyInto

func (in *GatewayConfigParameters) DeepCopyInto(out *GatewayConfigParameters)

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

type LastErrorStatusObservation

type LastErrorStatusObservation struct {

	// A list of messages that carry the error details.
	Details []string `json:"details,omitempty" tf:"details,omitempty"`

	// A developer-facing error message, which should be in English.
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// The status code, which should be an enum value of google.rpc.Code.
	Number *float64 `json:"number,omitempty" tf:"number,omitempty"`
}

func (*LastErrorStatusObservation) DeepCopy

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

func (*LastErrorStatusObservation) DeepCopyInto

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

type LastErrorStatusParameters

type LastErrorStatusParameters struct {
}

func (*LastErrorStatusParameters) DeepCopy

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

func (*LastErrorStatusParameters) DeepCopyInto

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

type PublicKeyObservation

type PublicKeyObservation struct {
}

func (*PublicKeyObservation) DeepCopy

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

func (*PublicKeyObservation) DeepCopyInto

func (in *PublicKeyObservation) DeepCopyInto(out *PublicKeyObservation)

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

type PublicKeyParameters

type PublicKeyParameters struct {

	// The format of the key.
	// Possible values are RSA_PEM, RSA_X509_PEM, ES256_PEM, and ES256_X509_PEM.
	// +kubebuilder:validation:Required
	Format *string `json:"format" tf:"format,omitempty"`

	// The key data.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`
}

func (*PublicKeyParameters) DeepCopy

func (in *PublicKeyParameters) DeepCopy() *PublicKeyParameters

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

func (*PublicKeyParameters) DeepCopyInto

func (in *PublicKeyParameters) DeepCopyInto(out *PublicKeyParameters)

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

type Registry

type Registry struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RegistrySpec   `json:"spec"`
	Status            RegistryStatus `json:"status,omitempty"`
}

Registry is the Schema for the Registrys API. A Google Cloud IoT Core device registry. +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 (*Registry) DeepCopy

func (in *Registry) DeepCopy() *Registry

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

func (*Registry) DeepCopyInto

func (in *Registry) DeepCopyInto(out *Registry)

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

func (*Registry) DeepCopyObject

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

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

func (*Registry) GetCondition

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

GetCondition of this Registry.

func (*Registry) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Registry

func (*Registry) GetDeletionPolicy

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

GetDeletionPolicy of this Registry.

func (*Registry) GetID

func (tr *Registry) GetID() string

GetID returns ID of underlying Terraform resource of this Registry

func (*Registry) GetObservation

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

GetObservation of this Registry

func (*Registry) GetParameters

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

GetParameters of this Registry

func (*Registry) GetProviderConfigReference

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

GetProviderConfigReference of this Registry.

func (*Registry) GetProviderReference

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

GetProviderReference of this Registry. Deprecated: Use GetProviderConfigReference.

func (*Registry) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Registry.

func (*Registry) GetTerraformResourceType

func (mg *Registry) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Registry

func (*Registry) GetTerraformSchemaVersion

func (tr *Registry) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Registry) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Registry.

func (*Registry) LateInitialize

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

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

func (*Registry) ResolveReferences

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

ResolveReferences of this Registry.

func (*Registry) SetConditions

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

SetConditions of this Registry.

func (*Registry) SetDeletionPolicy

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

SetDeletionPolicy of this Registry.

func (*Registry) SetObservation

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

SetObservation for this Registry

func (*Registry) SetParameters

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

SetParameters for this Registry

func (*Registry) SetProviderConfigReference

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

SetProviderConfigReference of this Registry.

func (*Registry) SetProviderReference

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

SetProviderReference of this Registry. Deprecated: Use SetProviderConfigReference.

func (*Registry) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Registry.

func (*Registry) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Registry.

type RegistryCredentialsObservation

type RegistryCredentialsObservation struct {
}

func (*RegistryCredentialsObservation) DeepCopy

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

func (*RegistryCredentialsObservation) DeepCopyInto

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

type RegistryCredentialsParameters

type RegistryCredentialsParameters struct {

	// A public key certificate format and data.
	// +kubebuilder:validation:Required
	PublicKeyCertificate map[string]string `json:"publicKeyCertificate" tf:"public_key_certificate,omitempty"`
}

func (*RegistryCredentialsParameters) DeepCopy

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

func (*RegistryCredentialsParameters) DeepCopyInto

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

type RegistryList

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

RegistryList contains a list of Registrys

func (*RegistryList) DeepCopy

func (in *RegistryList) DeepCopy() *RegistryList

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

func (*RegistryList) DeepCopyInto

func (in *RegistryList) DeepCopyInto(out *RegistryList)

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

func (*RegistryList) DeepCopyObject

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

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

func (*RegistryList) GetItems

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

GetItems of this RegistryList.

type RegistryObservation

type RegistryObservation struct {

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

func (*RegistryObservation) DeepCopy

func (in *RegistryObservation) DeepCopy() *RegistryObservation

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

func (*RegistryObservation) DeepCopyInto

func (in *RegistryObservation) DeepCopyInto(out *RegistryObservation)

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

type RegistryParameters

type RegistryParameters struct {

	// List of public key certificates to authenticate devices.
	// The structure is documented below.
	// +kubebuilder:validation:Optional
	Credentials []RegistryCredentialsParameters `json:"credentials,omitempty" tf:"credentials,omitempty"`

	// List of configurations for event notifications, such as PubSub topics
	// to publish device events to.
	// Structure is documented below.
	// +kubebuilder:validation:Optional
	EventNotificationConfigs []EventNotificationConfigsParameters `json:"eventNotificationConfigs,omitempty" tf:"event_notification_configs,omitempty"`

	// Activate or deactivate HTTP.
	// The structure is documented below.
	// +kubebuilder:validation:Optional
	HTTPConfig map[string]string `json:"httpConfig,omitempty" tf:"http_config,omitempty"`

	// The default logging verbosity for activity from devices in this
	// registry. Specifies which events should be written to logs. For
	// example, if the LogLevel is ERROR, only events that terminate in
	// errors will be logged. LogLevel is inclusive; enabling INFO logging
	// will also enable ERROR logging.
	// Default value is NONE.
	// Possible values are NONE, ERROR, INFO, and DEBUG.
	// +kubebuilder:validation:Optional
	LogLevel *string `json:"logLevel,omitempty" tf:"log_level,omitempty"`

	// Activate or deactivate MQTT.
	// The structure is documented below.
	// +kubebuilder:validation:Optional
	MqttConfig map[string]string `json:"mqttConfig,omitempty" tf:"mqtt_config,omitempty"`

	// A unique name for the resource, required by device registry.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The region in which the created registry should reside.
	// If it is not provided, the provider region is used.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// A PubSub topic to publish device state updates.
	// The structure is documented below.
	// +kubebuilder:validation:Optional
	StateNotificationConfig map[string]string `json:"stateNotificationConfig,omitempty" tf:"state_notification_config,omitempty"`
}

func (*RegistryParameters) DeepCopy

func (in *RegistryParameters) DeepCopy() *RegistryParameters

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

func (*RegistryParameters) DeepCopyInto

func (in *RegistryParameters) DeepCopyInto(out *RegistryParameters)

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

type RegistrySpec

type RegistrySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RegistryParameters `json:"forProvider"`
}

RegistrySpec defines the desired state of Registry

func (*RegistrySpec) DeepCopy

func (in *RegistrySpec) DeepCopy() *RegistrySpec

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

func (*RegistrySpec) DeepCopyInto

func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec)

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

type RegistryStatus

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

RegistryStatus defines the observed state of Registry.

func (*RegistryStatus) DeepCopy

func (in *RegistryStatus) DeepCopy() *RegistryStatus

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

func (*RegistryStatus) DeepCopyInto

func (in *RegistryStatus) DeepCopyInto(out *RegistryStatus)

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

type StateObservation

type StateObservation struct {

	// The device state data.
	BinaryData *string `json:"binaryData,omitempty" tf:"binary_data,omitempty"`

	// The time at which this state version was updated in Cloud IoT Core.
	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*StateObservation) DeepCopy

func (in *StateObservation) DeepCopy() *StateObservation

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

func (*StateObservation) DeepCopyInto

func (in *StateObservation) DeepCopyInto(out *StateObservation)

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

type StateParameters

type StateParameters struct {
}

func (*StateParameters) DeepCopy

func (in *StateParameters) DeepCopy() *StateParameters

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

func (*StateParameters) DeepCopyInto

func (in *StateParameters) DeepCopyInto(out *StateParameters)

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