Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudiot.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ConfigInitParameters
- type ConfigObservation
- type ConfigParameters
- type CredentialsInitParameters
- type CredentialsObservation
- type CredentialsParameters
- type Device
- func (in *Device) DeepCopy() *Device
- func (in *Device) DeepCopyInto(out *Device)
- func (in *Device) DeepCopyObject() runtime.Object
- func (mg *Device) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Device) GetConnectionDetailsMapping() map[string]string
- func (mg *Device) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Device) GetID() string
- func (tr *Device) GetInitParameters() (map[string]any, error)
- func (mg *Device) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Device) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Device) GetObservation() (map[string]any, error)
- func (tr *Device) GetParameters() (map[string]any, error)
- func (mg *Device) GetProviderConfigReference() *xpv1.Reference
- func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Device) GetTerraformResourceType() string
- func (tr *Device) GetTerraformSchemaVersion() int
- func (mg *Device) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Device) Hub()
- func (tr *Device) LateInitialize(attrs []byte) (bool, error)
- func (mg *Device) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Device) SetConditions(c ...xpv1.Condition)
- func (mg *Device) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Device) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Device) SetObservation(obs map[string]any) error
- func (tr *Device) SetParameters(params map[string]any) error
- func (mg *Device) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Device) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Device) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeviceInitParameters
- type DeviceList
- type DeviceObservation
- type DeviceParameters
- type DeviceSpec
- type DeviceStatus
- type EventNotificationConfigsInitParameters
- type EventNotificationConfigsObservation
- type EventNotificationConfigsParameters
- type GatewayConfigInitParameters
- type GatewayConfigObservation
- type GatewayConfigParameters
- type LastErrorStatusInitParameters
- type LastErrorStatusObservation
- type LastErrorStatusParameters
- type PublicKeyInitParameters
- type PublicKeyObservation
- type PublicKeyParameters
- type Registry
- func (in *Registry) DeepCopy() *Registry
- func (in *Registry) DeepCopyInto(out *Registry)
- func (in *Registry) DeepCopyObject() runtime.Object
- func (mg *Registry) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Registry) GetConnectionDetailsMapping() map[string]string
- func (mg *Registry) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Registry) GetID() string
- func (tr *Registry) GetInitParameters() (map[string]any, error)
- func (mg *Registry) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Registry) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Registry) GetObservation() (map[string]any, error)
- func (tr *Registry) GetParameters() (map[string]any, error)
- func (mg *Registry) GetProviderConfigReference() *xpv1.Reference
- func (mg *Registry) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Registry) GetTerraformResourceType() string
- func (tr *Registry) GetTerraformSchemaVersion() int
- func (mg *Registry) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Registry) Hub()
- func (tr *Registry) LateInitialize(attrs []byte) (bool, error)
- func (mg *Registry) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Registry) SetConditions(c ...xpv1.Condition)
- func (mg *Registry) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Registry) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Registry) SetObservation(obs map[string]any) error
- func (tr *Registry) SetParameters(params map[string]any) error
- func (mg *Registry) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Registry) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Registry) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RegistryCredentialsInitParameters
- type RegistryCredentialsObservation
- type RegistryCredentialsParameters
- type RegistryInitParameters
- type RegistryList
- type RegistryObservation
- type RegistryParameters
- type RegistrySpec
- type RegistryStatus
- type StateInitParameters
- type StateObservation
- type StateParameters
Constants ¶
const ( CRDGroup = "cloudiot.gcp.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
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.
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 )
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 ConfigInitParameters ¶ added in v0.35.0
type ConfigInitParameters struct { }
func (*ConfigInitParameters) DeepCopy ¶ added in v0.35.0
func (in *ConfigInitParameters) DeepCopy() *ConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigInitParameters.
func (*ConfigInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ConfigInitParameters) DeepCopyInto(out *ConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigObservation ¶
type ConfigObservation struct { // The device configuration data. BinaryData *string `json:"binaryData,omitempty" tf:"binary_data,omitempty"` // (Output) // The time at which this configuration version was updated in Cloud IoT Core. CloudUpdateTime *string `json:"cloudUpdateTime,omitempty" tf:"cloud_update_time,omitempty"` // (Output) // 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"` // (Output) // 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 CredentialsInitParameters ¶ added in v0.35.0
type CredentialsInitParameters struct { // The time at which this credential becomes invalid. 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. PublicKey []PublicKeyInitParameters `json:"publicKey,omitempty" tf:"public_key,omitempty"` }
func (*CredentialsInitParameters) DeepCopy ¶ added in v0.35.0
func (in *CredentialsInitParameters) DeepCopy() *CredentialsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsInitParameters.
func (*CredentialsInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *CredentialsInitParameters) DeepCopyInto(out *CredentialsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsObservation ¶
type CredentialsObservation struct { // The time at which this credential becomes invalid. 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. PublicKey []PublicKeyObservation `json:"publicKey,omitempty" tf:"public_key,omitempty"` }
func (*CredentialsObservation) DeepCopy ¶
func (in *CredentialsObservation) DeepCopy() *CredentialsObservation
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:Optional PublicKey []PublicKeyParameters `json:"publicKey" tf:"public_key,omitempty"` }
func (*CredentialsParameters) DeepCopy ¶
func (in *CredentialsParameters) DeepCopy() *CredentialsParameters
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:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*Device) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Device.
func (*Device) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Device) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Device
func (*Device) GetDeletionPolicy ¶
func (mg *Device) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Device.
func (*Device) GetInitParameters ¶ added in v0.35.0
GetInitParameters of this Device
func (*Device) GetManagementPolicies ¶ added in v0.35.0
func (mg *Device) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Device.
func (*Device) GetMergedParameters ¶ added in v0.40.0
GetInitParameters of this Device
func (*Device) GetObservation ¶
GetObservation of this Device
func (*Device) GetParameters ¶
GetParameters of this Device
func (*Device) GetProviderConfigReference ¶
GetProviderConfigReference of this Device.
func (*Device) GetPublishConnectionDetailsTo ¶
func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Device.
func (*Device) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Device
func (*Device) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Device) GetWriteConnectionSecretToReference ¶
func (mg *Device) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Device.
func (*Device) Hub ¶ added in v0.41.2
func (tr *Device) Hub()
Hub marks this type as a conversion hub.
func (*Device) LateInitialize ¶
LateInitialize this Device using its observed tfState. returns True if there are any spec changes for the resource.
func (*Device) ResolveReferences ¶
ResolveReferences of this Device.
func (*Device) SetConditions ¶
SetConditions of this Device.
func (*Device) SetDeletionPolicy ¶
func (mg *Device) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Device.
func (*Device) SetManagementPolicies ¶ added in v0.35.0
func (mg *Device) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Device.
func (*Device) SetObservation ¶
SetObservation for this Device
func (*Device) SetParameters ¶
SetParameters for this Device
func (*Device) SetProviderConfigReference ¶
SetProviderConfigReference of this Device.
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 DeviceInitParameters ¶ added in v0.35.0
type DeviceInitParameters struct { // If a device is blocked, connections or requests from this device will fail. Blocked *bool `json:"blocked,omitempty" tf:"blocked,omitempty"` // The credentials used to authenticate this device. // Structure is documented below. Credentials []CredentialsInitParameters `json:"credentials,omitempty" tf:"credentials,omitempty"` // Gateway-related configuration and state. // Structure is documented below. GatewayConfig []GatewayConfigInitParameters `json:"gatewayConfig,omitempty" tf:"gateway_config,omitempty"` // The logging verbosity for device activity. // Possible values are: NONE, ERROR, INFO, DEBUG. LogLevel *string `json:"logLevel,omitempty" tf:"log_level,omitempty"` // The metadata key-value pairs assigned to the device. // +mapType=granular Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` }
func (*DeviceInitParameters) DeepCopy ¶ added in v0.35.0
func (in *DeviceInitParameters) DeepCopy() *DeviceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInitParameters.
func (*DeviceInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *DeviceInitParameters) DeepCopyInto(out *DeviceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // If a device is blocked, connections or requests from this device will fail. Blocked *bool `json:"blocked,omitempty" tf:"blocked,omitempty"` // 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"` // The credentials used to authenticate this device. // Structure is documented below. Credentials []CredentialsObservation `json:"credentials,omitempty" tf:"credentials,omitempty"` // Gateway-related configuration and state. // Structure is documented below. 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"` // The logging verbosity for device activity. // Possible values are: NONE, ERROR, INFO, DEBUG. LogLevel *string `json:"logLevel,omitempty" tf:"log_level,omitempty"` // The metadata key-value pairs assigned to the device. // +mapType=granular Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,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 name of the device registry where this device should be created. Registry *string `json:"registry,omitempty" tf:"registry,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, 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 // +mapType=granular 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/crossplane/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"` // 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 DeviceInitParameters `json:"initProvider,omitempty"` }
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 EventNotificationConfigsInitParameters ¶ added in v0.35.0
type EventNotificationConfigsInitParameters 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/crossplane/upjet/pkg/resource.ExtractResourceID() 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. SubfolderMatches *string `json:"subfolderMatches,omitempty" tf:"subfolder_matches,omitempty"` }
func (*EventNotificationConfigsInitParameters) DeepCopy ¶ added in v0.35.0
func (in *EventNotificationConfigsInitParameters) DeepCopy() *EventNotificationConfigsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventNotificationConfigsInitParameters.
func (*EventNotificationConfigsInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *EventNotificationConfigsInitParameters) DeepCopyInto(out *EventNotificationConfigsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventNotificationConfigsObservation ¶
type EventNotificationConfigsObservation struct { // PubSub topic name to publish device events. PubsubTopicName *string `json:"pubsubTopicName,omitempty" tf:"pubsub_topic_name,omitempty"` // 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. SubfolderMatches *string `json:"subfolderMatches,omitempty" tf:"subfolder_matches,omitempty"` }
func (*EventNotificationConfigsObservation) DeepCopy ¶
func (in *EventNotificationConfigsObservation) DeepCopy() *EventNotificationConfigsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventNotificationConfigsObservation.
func (*EventNotificationConfigsObservation) DeepCopyInto ¶
func (in *EventNotificationConfigsObservation) DeepCopyInto(out *EventNotificationConfigsObservation)
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/crossplane/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 ¶
func (in *EventNotificationConfigsParameters) DeepCopy() *EventNotificationConfigsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventNotificationConfigsParameters.
func (*EventNotificationConfigsParameters) DeepCopyInto ¶
func (in *EventNotificationConfigsParameters) DeepCopyInto(out *EventNotificationConfigsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayConfigInitParameters ¶ added in v0.35.0
type GatewayConfigInitParameters struct { // Indicates whether the device is a gateway. // Possible values are: ASSOCIATION_ONLY, DEVICE_AUTH_TOKEN_ONLY, ASSOCIATION_AND_DEVICE_AUTH_TOKEN. 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, NON_GATEWAY. GatewayType *string `json:"gatewayType,omitempty" tf:"gateway_type,omitempty"` }
func (*GatewayConfigInitParameters) DeepCopy ¶ added in v0.35.0
func (in *GatewayConfigInitParameters) DeepCopy() *GatewayConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConfigInitParameters.
func (*GatewayConfigInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *GatewayConfigInitParameters) DeepCopyInto(out *GatewayConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayConfigObservation ¶
type GatewayConfigObservation struct { // Indicates whether the device is a gateway. // Possible values are: ASSOCIATION_ONLY, DEVICE_AUTH_TOKEN_ONLY, ASSOCIATION_AND_DEVICE_AUTH_TOKEN. 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, NON_GATEWAY. GatewayType *string `json:"gatewayType,omitempty" tf:"gateway_type,omitempty"` // (Output) // The ID of the gateway the device accessed most recently. LastAccessedGatewayID *string `json:"lastAccessedGatewayId,omitempty" tf:"last_accessed_gateway_id,omitempty"` // (Output) // 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 ¶
func (in *GatewayConfigObservation) DeepCopy() *GatewayConfigObservation
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, 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, NON_GATEWAY. // +kubebuilder:validation:Optional GatewayType *string `json:"gatewayType,omitempty" tf:"gateway_type,omitempty"` }
func (*GatewayConfigParameters) DeepCopy ¶
func (in *GatewayConfigParameters) DeepCopy() *GatewayConfigParameters
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 LastErrorStatusInitParameters ¶ added in v0.35.0
type LastErrorStatusInitParameters struct { }
func (*LastErrorStatusInitParameters) DeepCopy ¶ added in v0.35.0
func (in *LastErrorStatusInitParameters) DeepCopy() *LastErrorStatusInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastErrorStatusInitParameters.
func (*LastErrorStatusInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *LastErrorStatusInitParameters) DeepCopyInto(out *LastErrorStatusInitParameters)
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 ¶
func (in *LastErrorStatusObservation) DeepCopy() *LastErrorStatusObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastErrorStatusObservation.
func (*LastErrorStatusObservation) DeepCopyInto ¶
func (in *LastErrorStatusObservation) DeepCopyInto(out *LastErrorStatusObservation)
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 ¶
func (in *LastErrorStatusParameters) DeepCopy() *LastErrorStatusParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastErrorStatusParameters.
func (*LastErrorStatusParameters) DeepCopyInto ¶
func (in *LastErrorStatusParameters) DeepCopyInto(out *LastErrorStatusParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicKeyInitParameters ¶ added in v0.35.0
type PublicKeyInitParameters struct { // The format of the key. // Possible values are: RSA_PEM, RSA_X509_PEM, ES256_PEM, ES256_X509_PEM. Format *string `json:"format,omitempty" tf:"format,omitempty"` // The key data. Key *string `json:"key,omitempty" tf:"key,omitempty"` }
func (*PublicKeyInitParameters) DeepCopy ¶ added in v0.35.0
func (in *PublicKeyInitParameters) DeepCopy() *PublicKeyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKeyInitParameters.
func (*PublicKeyInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *PublicKeyInitParameters) DeepCopyInto(out *PublicKeyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicKeyObservation ¶
type PublicKeyObservation struct { // The format of the key. // Possible values are: RSA_PEM, RSA_X509_PEM, ES256_PEM, ES256_X509_PEM. Format *string `json:"format,omitempty" tf:"format,omitempty"` // The key data. Key *string `json:"key,omitempty" tf:"key,omitempty"` }
func (*PublicKeyObservation) DeepCopy ¶
func (in *PublicKeyObservation) DeepCopy() *PublicKeyObservation
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, ES256_X509_PEM. // +kubebuilder:validation:Optional Format *string `json:"format" tf:"format,omitempty"` // The key data. // +kubebuilder:validation:Optional 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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" 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:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*Registry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry.
func (*Registry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Registry) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Registry
func (*Registry) GetDeletionPolicy ¶
func (mg *Registry) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Registry.
func (*Registry) GetInitParameters ¶ added in v0.35.0
GetInitParameters of this Registry
func (*Registry) GetManagementPolicies ¶ added in v0.35.0
func (mg *Registry) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Registry.
func (*Registry) GetMergedParameters ¶ added in v0.40.0
GetInitParameters of this Registry
func (*Registry) GetObservation ¶
GetObservation of this Registry
func (*Registry) GetParameters ¶
GetParameters of this Registry
func (*Registry) GetProviderConfigReference ¶
GetProviderConfigReference of this Registry.
func (*Registry) GetPublishConnectionDetailsTo ¶
func (mg *Registry) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Registry.
func (*Registry) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Registry
func (*Registry) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Registry) GetWriteConnectionSecretToReference ¶
func (mg *Registry) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Registry.
func (*Registry) Hub ¶ added in v0.41.2
func (tr *Registry) Hub()
Hub marks this type as a conversion hub.
func (*Registry) LateInitialize ¶
LateInitialize this Registry using its observed tfState. returns True if there are any spec changes for the resource.
func (*Registry) ResolveReferences ¶
ResolveReferences of this Registry.
func (*Registry) SetConditions ¶
SetConditions of this Registry.
func (*Registry) SetDeletionPolicy ¶
func (mg *Registry) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Registry.
func (*Registry) SetManagementPolicies ¶ added in v0.35.0
func (mg *Registry) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Registry.
func (*Registry) SetObservation ¶
SetObservation for this Registry
func (*Registry) SetParameters ¶
SetParameters for this Registry
func (*Registry) SetProviderConfigReference ¶
SetProviderConfigReference of this Registry.
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 RegistryCredentialsInitParameters ¶ added in v0.35.0
type RegistryCredentialsInitParameters struct { // A public key certificate format and data. PublicKeyCertificate map[string]string `json:"publicKeyCertificate,omitempty" tf:"public_key_certificate,omitempty"` }
func (*RegistryCredentialsInitParameters) DeepCopy ¶ added in v0.35.0
func (in *RegistryCredentialsInitParameters) DeepCopy() *RegistryCredentialsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryCredentialsInitParameters.
func (*RegistryCredentialsInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *RegistryCredentialsInitParameters) DeepCopyInto(out *RegistryCredentialsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryCredentialsObservation ¶
type RegistryCredentialsObservation struct { // A public key certificate format and data. PublicKeyCertificate map[string]string `json:"publicKeyCertificate,omitempty" tf:"public_key_certificate,omitempty"` }
func (*RegistryCredentialsObservation) DeepCopy ¶
func (in *RegistryCredentialsObservation) DeepCopy() *RegistryCredentialsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryCredentialsObservation.
func (*RegistryCredentialsObservation) DeepCopyInto ¶
func (in *RegistryCredentialsObservation) DeepCopyInto(out *RegistryCredentialsObservation)
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:Optional PublicKeyCertificate map[string]string `json:"publicKeyCertificate" tf:"public_key_certificate,omitempty"` }
func (*RegistryCredentialsParameters) DeepCopy ¶
func (in *RegistryCredentialsParameters) DeepCopy() *RegistryCredentialsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryCredentialsParameters.
func (*RegistryCredentialsParameters) DeepCopyInto ¶
func (in *RegistryCredentialsParameters) DeepCopyInto(out *RegistryCredentialsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryInitParameters ¶ added in v0.35.0
type RegistryInitParameters struct { // List of public key certificates to authenticate devices. // The structure is documented below. Credentials []RegistryCredentialsInitParameters `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. EventNotificationConfigs []EventNotificationConfigsInitParameters `json:"eventNotificationConfigs,omitempty" tf:"event_notification_configs,omitempty"` // Activate or deactivate HTTP. // The structure is documented below. 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, DEBUG. LogLevel *string `json:"logLevel,omitempty" tf:"log_level,omitempty"` // Activate or deactivate MQTT. // The structure is documented below. MqttConfig map[string]string `json:"mqttConfig,omitempty" tf:"mqtt_config,omitempty"` // A unique name for the resource, required by device registry. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. 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. Region *string `json:"region,omitempty" tf:"region,omitempty"` // A PubSub topic to publish device state updates. // The structure is documented below. StateNotificationConfig map[string]string `json:"stateNotificationConfig,omitempty" tf:"state_notification_config,omitempty"` }
func (*RegistryInitParameters) DeepCopy ¶ added in v0.35.0
func (in *RegistryInitParameters) DeepCopy() *RegistryInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryInitParameters.
func (*RegistryInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *RegistryInitParameters) DeepCopyInto(out *RegistryInitParameters)
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 { // List of public key certificates to authenticate devices. // The structure is documented below. Credentials []RegistryCredentialsObservation `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. EventNotificationConfigs []EventNotificationConfigsObservation `json:"eventNotificationConfigs,omitempty" tf:"event_notification_configs,omitempty"` // Activate or deactivate HTTP. // The structure is documented below. HTTPConfig map[string]string `json:"httpConfig,omitempty" tf:"http_config,omitempty"` // an identifier for the resource with format projects/{{project}}/locations/{{region}}/registries/{{name}} ID *string `json:"id,omitempty" tf:"id,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, DEBUG. LogLevel *string `json:"logLevel,omitempty" tf:"log_level,omitempty"` // Activate or deactivate MQTT. // The structure is documented below. MqttConfig map[string]string `json:"mqttConfig,omitempty" tf:"mqtt_config,omitempty"` // A unique name for the resource, required by device registry. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. 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. Region *string `json:"region,omitempty" tf:"region,omitempty"` // A PubSub topic to publish device state updates. // The structure is documented below. StateNotificationConfig map[string]string `json:"stateNotificationConfig,omitempty" tf:"state_notification_config,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, 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:Optional Name *string `json:"name,omitempty" 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"` // 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 RegistryInitParameters `json:"initProvider,omitempty"` }
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 StateInitParameters ¶ added in v0.35.0
type StateInitParameters struct { }
func (*StateInitParameters) DeepCopy ¶ added in v0.35.0
func (in *StateInitParameters) DeepCopy() *StateInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateInitParameters.
func (*StateInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *StateInitParameters) DeepCopyInto(out *StateInitParameters)
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.