Documentation
¶
Index ¶
- Variables
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetHeartbeatPeriod() uint32
- func (x *Configuration) GetProfiles() []*Profile
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetCertificateSn() string
- func (x *Device) GetConfiguration() string
- func (x *Device) GetEnrolStatus() string
- func (x *Device) GetEnroledAt() string
- func (x *Device) GetId() string
- func (x *Device) GetManifests() []string
- func (x *Device) GetNamespace() string
- func (x *Device) GetRegistered() bool
- func (x *Device) GetRegisteredAt() string
- func (x *Device) GetSet() string
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type Empty
- type HeartbeatInfo
- type Profile
- type ProfileCondition
- func (*ProfileCondition) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileCondition) GetExpression() string
- func (x *ProfileCondition) GetName() string
- func (*ProfileCondition) ProtoMessage()
- func (x *ProfileCondition) ProtoReflect() protoreflect.Message
- func (x *ProfileCondition) Reset()
- func (x *ProfileCondition) String() string
- type Set
- func (*Set) Descriptor() ([]byte, []int)deprecated
- func (x *Set) GetConfiguration() string
- func (x *Set) GetDevices() []string
- func (x *Set) GetManifests() []string
- func (x *Set) GetName() string
- func (x *Set) GetNamespace() string
- func (*Set) ProtoMessage()
- func (x *Set) ProtoReflect() protoreflect.Message
- func (x *Set) Reset()
- func (x *Set) String() string
- type Status
- type WorkloadStatus
- func (*WorkloadStatus) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadStatus) GetLastUpdated() uint64
- func (x *WorkloadStatus) GetName() string
- func (x *WorkloadStatus) GetStatus() Status
- func (*WorkloadStatus) ProtoMessage()
- func (x *WorkloadStatus) ProtoReflect() protoreflect.Message
- func (x *WorkloadStatus) Reset()
- func (x *WorkloadStatus) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Status_name = map[int32]string{ 0: "Deploying", 1: "Running", 2: "Crashed", 3: "Stopped", } Status_value = map[string]int32{ "Deploying": 0, "Running": 1, "Crashed": 2, "Stopped": 3, } )
Enum value maps for Status.
View Source
var File_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` HeartbeatPeriod uint32 `protobuf:"varint,2,opt,name=heartbeat_period,json=heartbeatPeriod,proto3" json:"heartbeat_period,omitempty"` // contains filtered or unexported fields }
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetHeartbeatPeriod ¶
func (x *Configuration) GetHeartbeatPeriod() uint32
func (*Configuration) GetProfiles ¶
func (x *Configuration) GetProfiles() []*Profile
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type Device ¶
type Device struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` EnrolStatus string `protobuf:"bytes,2,opt,name=enrol_status,json=enrolStatus,proto3" json:"enrol_status,omitempty"` EnroledAt string `protobuf:"bytes,3,opt,name=enroled_at,json=enroledAt,proto3" json:"enroled_at,omitempty"` Registered bool `protobuf:"varint,4,opt,name=registered,proto3" json:"registered,omitempty"` RegisteredAt string `protobuf:"bytes,5,opt,name=registered_at,json=registeredAt,proto3" json:"registered_at,omitempty"` CertificateSn string `protobuf:"bytes,6,opt,name=certificate_sn,json=certificateSn,proto3" json:"certificate_sn,omitempty"` Namespace string `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"` Set string `protobuf:"bytes,8,opt,name=set,proto3" json:"set,omitempty"` Configuration string `protobuf:"bytes,9,opt,name=configuration,proto3" json:"configuration,omitempty"` Manifests []string `protobuf:"bytes,10,rep,name=manifests,proto3" json:"manifests,omitempty"` // contains filtered or unexported fields }
func (*Device) Descriptor
deprecated
func (*Device) GetCertificateSn ¶
func (*Device) GetConfiguration ¶
func (*Device) GetEnrolStatus ¶
func (*Device) GetEnroledAt ¶
func (*Device) GetManifests ¶
func (*Device) GetNamespace ¶
func (*Device) GetRegistered ¶
func (*Device) GetRegisteredAt ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
An empty message
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type HeartbeatInfo ¶
type HeartbeatInfo struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
Heartbeat
func (*HeartbeatInfo) Descriptor
deprecated
func (*HeartbeatInfo) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatInfo.ProtoReflect.Descriptor instead.
func (*HeartbeatInfo) GetDeviceId ¶
func (x *HeartbeatInfo) GetDeviceId() string
func (*HeartbeatInfo) ProtoMessage ¶
func (*HeartbeatInfo) ProtoMessage()
func (*HeartbeatInfo) ProtoReflect ¶
func (x *HeartbeatInfo) ProtoReflect() protoreflect.Message
func (*HeartbeatInfo) Reset ¶
func (x *HeartbeatInfo) Reset()
func (*HeartbeatInfo) String ¶
func (x *HeartbeatInfo) String() string
type Profile ¶
type Profile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Conditions []*ProfileCondition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetConditions ¶
func (x *Profile) GetConditions() []*ProfileCondition
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type ProfileCondition ¶
type ProfileCondition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
func (*ProfileCondition) Descriptor
deprecated
func (*ProfileCondition) Descriptor() ([]byte, []int)
Deprecated: Use ProfileCondition.ProtoReflect.Descriptor instead.
func (*ProfileCondition) GetExpression ¶
func (x *ProfileCondition) GetExpression() string
func (*ProfileCondition) GetName ¶
func (x *ProfileCondition) GetName() string
func (*ProfileCondition) ProtoMessage ¶
func (*ProfileCondition) ProtoMessage()
func (*ProfileCondition) ProtoReflect ¶
func (x *ProfileCondition) ProtoReflect() protoreflect.Message
func (*ProfileCondition) Reset ¶
func (x *ProfileCondition) Reset()
func (*ProfileCondition) String ¶
func (x *ProfileCondition) String() string
type Set ¶
type Set struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Configuration string `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"` Devices []string `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"` Manifests []string `protobuf:"bytes,5,rep,name=manifests,proto3" json:"manifests,omitempty"` // contains filtered or unexported fields }
func (*Set) Descriptor
deprecated
func (*Set) GetConfiguration ¶
func (*Set) GetDevices ¶
func (*Set) GetManifests ¶
func (*Set) GetNamespace ¶
func (*Set) ProtoMessage ¶
func (*Set) ProtoMessage()
func (*Set) ProtoReflect ¶
func (x *Set) ProtoReflect() protoreflect.Message
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type WorkloadStatus ¶
type WorkloadStatus struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=Status" json:"status,omitempty"` LastUpdated uint64 `protobuf:"varint,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // contains filtered or unexported fields }
func (*WorkloadStatus) Descriptor
deprecated
func (*WorkloadStatus) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadStatus.ProtoReflect.Descriptor instead.
func (*WorkloadStatus) GetLastUpdated ¶
func (x *WorkloadStatus) GetLastUpdated() uint64
func (*WorkloadStatus) GetName ¶
func (x *WorkloadStatus) GetName() string
func (*WorkloadStatus) GetStatus ¶
func (x *WorkloadStatus) GetStatus() Status
func (*WorkloadStatus) ProtoMessage ¶
func (*WorkloadStatus) ProtoMessage()
func (*WorkloadStatus) ProtoReflect ¶
func (x *WorkloadStatus) ProtoReflect() protoreflect.Message
func (*WorkloadStatus) Reset ¶
func (x *WorkloadStatus) Reset()
func (*WorkloadStatus) String ¶
func (x *WorkloadStatus) String() string
Click to show internal directories.
Click to hide internal directories.