Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the simulator v1alpha1 API group +k8s:deepcopy-gen=package +groupName=iot.dentrassi.de
+k8s:deepcopy-gen=package +groupName=iot.dentrassi.de
Index ¶
- Variables
- type AdapterEndpoints
- type Build
- type CommonSpec
- type ConsumerSpec
- type ConsumerStatus
- type GitSource
- type HostAndPortEndpoint
- type MessagingEndpoint
- type ProducerSpec
- type ProducerStatus
- type Protocol
- type RegistryEndpoint
- type Simulator
- type SimulatorComponent
- type SimulatorConsumer
- type SimulatorConsumerList
- type SimulatorEndpoint
- type SimulatorList
- type SimulatorProducer
- type SimulatorProducerList
- type SimulatorSpec
- type SimulatorStatus
- type URLEndpoint
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "iot.dentrassi.de", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type AdapterEndpoints ¶
type AdapterEndpoints struct { HTTP URLEndpoint `json:"http"` MQTT HostAndPortEndpoint `json:"mqtt"` }
func (*AdapterEndpoints) DeepCopy ¶
func (in *AdapterEndpoints) DeepCopy() *AdapterEndpoints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdapterEndpoints.
func (*AdapterEndpoints) DeepCopyInto ¶
func (in *AdapterEndpoints) DeepCopyInto(out *AdapterEndpoints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Build ¶
type Build struct {
Git GitSource `json:"git"`
}
func (*Build) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.
func (*Build) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonSpec ¶
type CommonSpec struct { Simulator string `json:"simulator"` Tenant string `json:"tenant"` Type string `json:"type"` Replicas *int32 `json:"replicas,omitempty"` }
func (*CommonSpec) DeepCopy ¶
func (in *CommonSpec) DeepCopy() *CommonSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonSpec.
func (*CommonSpec) DeepCopyInto ¶
func (in *CommonSpec) DeepCopyInto(out *CommonSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConsumerSpec ¶
type ConsumerSpec struct {
CommonSpec
}
func (*ConsumerSpec) DeepCopy ¶
func (in *ConsumerSpec) DeepCopy() *ConsumerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerSpec.
func (*ConsumerSpec) DeepCopyInto ¶
func (in *ConsumerSpec) DeepCopyInto(out *ConsumerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConsumerStatus ¶ added in v0.1.3
type ConsumerStatus struct { }
func (*ConsumerStatus) DeepCopy ¶ added in v0.1.3
func (in *ConsumerStatus) DeepCopy() *ConsumerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerStatus.
func (*ConsumerStatus) DeepCopyInto ¶ added in v0.1.3
func (in *ConsumerStatus) DeepCopyInto(out *ConsumerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitSource ¶
func (*GitSource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitSource.
func (*GitSource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostAndPortEndpoint ¶
func (*HostAndPortEndpoint) DeepCopy ¶
func (in *HostAndPortEndpoint) DeepCopy() *HostAndPortEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAndPortEndpoint.
func (*HostAndPortEndpoint) DeepCopyInto ¶
func (in *HostAndPortEndpoint) DeepCopyInto(out *HostAndPortEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessagingEndpoint ¶
type MessagingEndpoint struct { HostAndPortEndpoint `json:",inline"` User string `json:"user"` Password string `json:"password"` CACertificate []byte `json:"caCertificate"` }
func (*MessagingEndpoint) DeepCopy ¶
func (in *MessagingEndpoint) DeepCopy() *MessagingEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingEndpoint.
func (*MessagingEndpoint) DeepCopyInto ¶
func (in *MessagingEndpoint) DeepCopyInto(out *MessagingEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProducerSpec ¶
type ProducerSpec struct { CommonSpec Protocol Protocol `json:"protocol"` NumberOfDevices uint32 `json:"numberOfDevices"` NumberOfThreads *uint32 `json:"numberOfThreads,omitempty"` }
func (*ProducerSpec) DeepCopy ¶
func (in *ProducerSpec) DeepCopy() *ProducerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProducerSpec.
func (*ProducerSpec) DeepCopyInto ¶
func (in *ProducerSpec) DeepCopyInto(out *ProducerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProducerStatus ¶ added in v0.1.3
type ProducerStatus struct { }
func (*ProducerStatus) DeepCopy ¶ added in v0.1.3
func (in *ProducerStatus) DeepCopy() *ProducerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProducerStatus.
func (*ProducerStatus) DeepCopyInto ¶ added in v0.1.3
func (in *ProducerStatus) DeepCopyInto(out *ProducerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Protocol ¶
type Protocol string
const ProtocolHttp Protocol = "http"
const ProtocolMqtt Protocol = "mqtt"
type RegistryEndpoint ¶ added in v0.1.6
type RegistryEndpoint struct { URLEndpoint `json:",inline"` APIVersion string `json:"apiVersion,omitempty"` }
func (*RegistryEndpoint) DeepCopy ¶ added in v0.1.6
func (in *RegistryEndpoint) DeepCopy() *RegistryEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryEndpoint.
func (*RegistryEndpoint) DeepCopyInto ¶ added in v0.1.6
func (in *RegistryEndpoint) DeepCopyInto(out *RegistryEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Simulator ¶
type Simulator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SimulatorSpec `json:"spec"` Status SimulatorStatus `json:"status"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true
func (*Simulator) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Simulator.
func (*Simulator) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Simulator) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SimulatorComponent ¶
type SimulatorComponent interface {
GetCommonSpec() CommonSpec
}
type SimulatorConsumer ¶
type SimulatorConsumer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConsumerSpec `json:"spec"` Status ConsumerStatus `json:"status"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true
func (*SimulatorConsumer) DeepCopy ¶
func (in *SimulatorConsumer) DeepCopy() *SimulatorConsumer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimulatorConsumer.
func (*SimulatorConsumer) DeepCopyInto ¶
func (in *SimulatorConsumer) DeepCopyInto(out *SimulatorConsumer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SimulatorConsumer) DeepCopyObject ¶
func (in *SimulatorConsumer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SimulatorConsumer) GetCommonSpec ¶
func (s *SimulatorConsumer) GetCommonSpec() CommonSpec
type SimulatorConsumerList ¶
type SimulatorConsumerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SimulatorConsumer `json:"items"` }
func (*SimulatorConsumerList) DeepCopy ¶
func (in *SimulatorConsumerList) DeepCopy() *SimulatorConsumerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimulatorConsumerList.
func (*SimulatorConsumerList) DeepCopyInto ¶
func (in *SimulatorConsumerList) DeepCopyInto(out *SimulatorConsumerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SimulatorConsumerList) DeepCopyObject ¶
func (in *SimulatorConsumerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SimulatorEndpoint ¶
type SimulatorEndpoint struct { Messaging MessagingEndpoint `json:"messaging"` Registry RegistryEndpoint `json:"registry"` Adapters AdapterEndpoints `json:"adapters"` InsecureTls bool `json:"insecureTls,omitempty"` }
func (*SimulatorEndpoint) DeepCopy ¶
func (in *SimulatorEndpoint) DeepCopy() *SimulatorEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimulatorEndpoint.
func (*SimulatorEndpoint) DeepCopyInto ¶
func (in *SimulatorEndpoint) DeepCopyInto(out *SimulatorEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SimulatorList ¶
type SimulatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Simulator `json:"items"` }
func (*SimulatorList) DeepCopy ¶
func (in *SimulatorList) DeepCopy() *SimulatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimulatorList.
func (*SimulatorList) DeepCopyInto ¶
func (in *SimulatorList) DeepCopyInto(out *SimulatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SimulatorList) DeepCopyObject ¶
func (in *SimulatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SimulatorProducer ¶
type SimulatorProducer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProducerSpec `json:"spec"` Status ProducerStatus `json:"status"` }
func (*SimulatorProducer) DeepCopy ¶
func (in *SimulatorProducer) DeepCopy() *SimulatorProducer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimulatorProducer.
func (*SimulatorProducer) DeepCopyInto ¶
func (in *SimulatorProducer) DeepCopyInto(out *SimulatorProducer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SimulatorProducer) DeepCopyObject ¶
func (in *SimulatorProducer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SimulatorProducer) GetCommonSpec ¶
func (s *SimulatorProducer) GetCommonSpec() CommonSpec
type SimulatorProducerList ¶
type SimulatorProducerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SimulatorProducer `json:"items"` }
func (*SimulatorProducerList) DeepCopy ¶
func (in *SimulatorProducerList) DeepCopy() *SimulatorProducerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimulatorProducerList.
func (*SimulatorProducerList) DeepCopyInto ¶
func (in *SimulatorProducerList) DeepCopyInto(out *SimulatorProducerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SimulatorProducerList) DeepCopyObject ¶
func (in *SimulatorProducerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SimulatorSpec ¶
type SimulatorSpec struct { Builds map[string]Build `json:"builds,omitempty"` Endpoint SimulatorEndpoint `json:"endpoint"` }
func (*SimulatorSpec) DeepCopy ¶
func (in *SimulatorSpec) DeepCopy() *SimulatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimulatorSpec.
func (*SimulatorSpec) DeepCopyInto ¶
func (in *SimulatorSpec) DeepCopyInto(out *SimulatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SimulatorStatus ¶ added in v0.1.3
type SimulatorStatus struct { }
func (*SimulatorStatus) DeepCopy ¶ added in v0.1.3
func (in *SimulatorStatus) DeepCopy() *SimulatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimulatorStatus.
func (*SimulatorStatus) DeepCopyInto ¶ added in v0.1.3
func (in *SimulatorStatus) DeepCopyInto(out *SimulatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type URLEndpoint ¶
type URLEndpoint struct {
URL string `json:"url"`
}
func (*URLEndpoint) DeepCopy ¶
func (in *URLEndpoint) DeepCopy() *URLEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLEndpoint.
func (*URLEndpoint) DeepCopyInto ¶
func (in *URLEndpoint) DeepCopyInto(out *URLEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.