v1alpha1

package
v1.103.0 Latest Latest
Warning

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

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

Documentation

Overview

Generate deepcopy object for cloudiot/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the cloudiot v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/cloudiot +k8s:defaulter-gen=TypeMeta +groupName=cloudiot.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "cloudiot.cnrm.cloud.google.com", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	CloudIOTDeviceGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(CloudIOTDevice{}).Name(),
	}
)

Functions

This section is empty.

Types

type CloudIOTDevice

type CloudIOTDevice struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudIOTDeviceSpec   `json:"spec,omitempty"`
	Status CloudIOTDeviceStatus `json:"status,omitempty"`
}

CloudIOTDevice is the Schema for the cloudiot API +k8s:openapi-gen=true

func (*CloudIOTDevice) DeepCopy

func (in *CloudIOTDevice) DeepCopy() *CloudIOTDevice

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

func (*CloudIOTDevice) DeepCopyInto

func (in *CloudIOTDevice) DeepCopyInto(out *CloudIOTDevice)

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

func (*CloudIOTDevice) DeepCopyObject

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

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

type CloudIOTDeviceList

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

CloudIOTDeviceList contains a list of CloudIOTDevice

func (*CloudIOTDeviceList) DeepCopy

func (in *CloudIOTDeviceList) DeepCopy() *CloudIOTDeviceList

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

func (*CloudIOTDeviceList) DeepCopyInto

func (in *CloudIOTDeviceList) DeepCopyInto(out *CloudIOTDeviceList)

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

func (*CloudIOTDeviceList) DeepCopyObject

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

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

type CloudIOTDeviceSpec

type CloudIOTDeviceSpec struct {
	/* If a device is blocked, connections or requests from this device will fail. */
	// +optional
	Blocked *bool `json:"blocked,omitempty"`

	/* The credentials used to authenticate this device. */
	// +optional
	Credentials []DeviceCredentials `json:"credentials,omitempty"`

	/* Gateway-related configuration and state. */
	// +optional
	GatewayConfig *DeviceGatewayConfig `json:"gatewayConfig,omitempty"`

	/* The logging verbosity for device activity. Possible values: ["NONE", "ERROR", "INFO", "DEBUG"]. */
	// +optional
	LogLevel *string `json:"logLevel,omitempty"`

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

	/* Immutable. The name of the device registry where this device should be created. */
	Registry string `json:"registry"`

	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*CloudIOTDeviceSpec) DeepCopy

func (in *CloudIOTDeviceSpec) DeepCopy() *CloudIOTDeviceSpec

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

func (*CloudIOTDeviceSpec) DeepCopyInto

func (in *CloudIOTDeviceSpec) DeepCopyInto(out *CloudIOTDeviceSpec)

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

type CloudIOTDeviceStatus

type CloudIOTDeviceStatus struct {
	/* Conditions represent the latest available observations of the
	   CloudIOTDevice's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The most recent device configuration, which is eventually sent from Cloud IoT Core to the device. */
	// +optional
	Config []DeviceConfigStatus `json:"config,omitempty"`

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

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

	/* The error message of the most recent error, such as a failure to publish to Cloud Pub/Sub. */
	// +optional
	LastErrorStatus []DeviceLastErrorStatusStatus `json:"lastErrorStatus,omitempty"`

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

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

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

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

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

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int `json:"observedGeneration,omitempty"`

	/* The state most recently received from the device. */
	// +optional
	State []DeviceStateStatus `json:"state,omitempty"`
}

func (*CloudIOTDeviceStatus) DeepCopy

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

func (*CloudIOTDeviceStatus) DeepCopyInto

func (in *CloudIOTDeviceStatus) DeepCopyInto(out *CloudIOTDeviceStatus)

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

type DeviceConfigStatus

type DeviceConfigStatus struct {
	/* The device configuration data. */
	// +optional
	BinaryData *string `json:"binaryData,omitempty"`

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

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

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

func (*DeviceConfigStatus) DeepCopy

func (in *DeviceConfigStatus) DeepCopy() *DeviceConfigStatus

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

func (*DeviceConfigStatus) DeepCopyInto

func (in *DeviceConfigStatus) DeepCopyInto(out *DeviceConfigStatus)

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

type DeviceCredentials

type DeviceCredentials struct {
	/* The time at which this credential becomes invalid. */
	// +optional
	ExpirationTime *string `json:"expirationTime,omitempty"`

	/* A public key used to verify the signature of JSON Web Tokens (JWTs). */
	PublicKey DevicePublicKey `json:"publicKey"`
}

func (*DeviceCredentials) DeepCopy

func (in *DeviceCredentials) DeepCopy() *DeviceCredentials

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

func (*DeviceCredentials) DeepCopyInto

func (in *DeviceCredentials) DeepCopyInto(out *DeviceCredentials)

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

type DeviceDetailsStatus

type DeviceDetailsStatus struct {
}

func (*DeviceDetailsStatus) DeepCopy

func (in *DeviceDetailsStatus) DeepCopy() *DeviceDetailsStatus

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

func (*DeviceDetailsStatus) DeepCopyInto

func (in *DeviceDetailsStatus) DeepCopyInto(out *DeviceDetailsStatus)

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

type DeviceGatewayConfig

type DeviceGatewayConfig struct {
	/* Indicates whether the device is a gateway. Possible values: ["ASSOCIATION_ONLY", "DEVICE_AUTH_TOKEN_ONLY", "ASSOCIATION_AND_DEVICE_AUTH_TOKEN"]. */
	// +optional
	GatewayAuthMethod *string `json:"gatewayAuthMethod,omitempty"`

	/* Immutable. Indicates whether the device is a gateway. Default value: "NON_GATEWAY" Possible values: ["GATEWAY", "NON_GATEWAY"]. */
	// +optional
	GatewayType *string `json:"gatewayType,omitempty"`

	/* The ID of the gateway the device accessed most recently. */
	// +optional
	LastAccessedGatewayId *string `json:"lastAccessedGatewayId,omitempty"`

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

func (*DeviceGatewayConfig) DeepCopy

func (in *DeviceGatewayConfig) DeepCopy() *DeviceGatewayConfig

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

func (*DeviceGatewayConfig) DeepCopyInto

func (in *DeviceGatewayConfig) DeepCopyInto(out *DeviceGatewayConfig)

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

type DeviceLastErrorStatusStatus

type DeviceLastErrorStatusStatus struct {
	/* A list of messages that carry the error details. */
	// +optional
	Details []DeviceDetailsStatus `json:"details,omitempty"`

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

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

func (*DeviceLastErrorStatusStatus) DeepCopy

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

func (*DeviceLastErrorStatusStatus) DeepCopyInto

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

type DevicePublicKey

type DevicePublicKey struct {
	/* The format of the key. Possible values: ["RSA_PEM", "RSA_X509_PEM", "ES256_PEM", "ES256_X509_PEM"]. */
	Format string `json:"format"`

	/* The key data. */
	Key string `json:"key"`
}

func (*DevicePublicKey) DeepCopy

func (in *DevicePublicKey) DeepCopy() *DevicePublicKey

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

func (*DevicePublicKey) DeepCopyInto

func (in *DevicePublicKey) DeepCopyInto(out *DevicePublicKey)

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

type DeviceStateStatus

type DeviceStateStatus struct {
	/* The device state data. */
	// +optional
	BinaryData *string `json:"binaryData,omitempty"`

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

func (*DeviceStateStatus) DeepCopy

func (in *DeviceStateStatus) DeepCopy() *DeviceStateStatus

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

func (*DeviceStateStatus) DeepCopyInto

func (in *DeviceStateStatus) DeepCopyInto(out *DeviceStateStatus)

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