specs

package
v1.8.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_specs_specs_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CachedImageSpec

type CachedImageSpec struct {
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	Size   int64  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

CachedImageSpec is the image pulled by the ImagePull API.

func (*CachedImageSpec) CloneMessageVT

func (m *CachedImageSpec) CloneMessageVT() proto.Message

func (*CachedImageSpec) CloneVT

func (m *CachedImageSpec) CloneVT() *CachedImageSpec

func (*CachedImageSpec) Descriptor deprecated

func (*CachedImageSpec) Descriptor() ([]byte, []int)

Deprecated: Use CachedImageSpec.ProtoReflect.Descriptor instead.

func (*CachedImageSpec) EqualMessageVT

func (this *CachedImageSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*CachedImageSpec) EqualVT

func (this *CachedImageSpec) EqualVT(that *CachedImageSpec) bool

func (*CachedImageSpec) GetDigest

func (x *CachedImageSpec) GetDigest() string

func (*CachedImageSpec) GetSize

func (x *CachedImageSpec) GetSize() int64

func (*CachedImageSpec) MarshalToSizedBufferVT

func (m *CachedImageSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CachedImageSpec) MarshalToVT

func (m *CachedImageSpec) MarshalToVT(dAtA []byte) (int, error)

func (*CachedImageSpec) MarshalVT

func (m *CachedImageSpec) MarshalVT() (dAtA []byte, err error)

func (*CachedImageSpec) ProtoMessage

func (*CachedImageSpec) ProtoMessage()

func (*CachedImageSpec) ProtoReflect

func (x *CachedImageSpec) ProtoReflect() protoreflect.Message

func (*CachedImageSpec) Reset

func (x *CachedImageSpec) Reset()

func (*CachedImageSpec) SizeVT

func (m *CachedImageSpec) SizeVT() (n int)

func (*CachedImageSpec) String

func (x *CachedImageSpec) String() string

func (*CachedImageSpec) UnmarshalVT

func (m *CachedImageSpec) UnmarshalVT(dAtA []byte) error

type ClusterStatusSpec

type ClusterStatusSpec struct {
	Bootstrapped    bool     `protobuf:"varint,1,opt,name=bootstrapped,proto3" json:"bootstrapped,omitempty"`
	ControlPlanes   uint32   `protobuf:"varint,2,opt,name=control_planes,json=controlPlanes,proto3" json:"control_planes,omitempty"`
	Workers         uint32   `protobuf:"varint,3,opt,name=workers,proto3" json:"workers,omitempty"`
	DenyEtcdMembers []string `protobuf:"bytes,4,rep,name=deny_etcd_members,json=denyEtcdMembers,proto3" json:"deny_etcd_members,omitempty"`
	Kubeconfig      []byte   `protobuf:"bytes,5,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"`
	// contains filtered or unexported fields
}

ClusterStatusSpec defines cluster status of the emulator.

func (*ClusterStatusSpec) CloneMessageVT

func (m *ClusterStatusSpec) CloneMessageVT() proto.Message

func (*ClusterStatusSpec) CloneVT

func (m *ClusterStatusSpec) CloneVT() *ClusterStatusSpec

func (*ClusterStatusSpec) Descriptor deprecated

func (*ClusterStatusSpec) Descriptor() ([]byte, []int)

Deprecated: Use ClusterStatusSpec.ProtoReflect.Descriptor instead.

func (*ClusterStatusSpec) EqualMessageVT

func (this *ClusterStatusSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*ClusterStatusSpec) EqualVT

func (this *ClusterStatusSpec) EqualVT(that *ClusterStatusSpec) bool

func (*ClusterStatusSpec) GetBootstrapped

func (x *ClusterStatusSpec) GetBootstrapped() bool

func (*ClusterStatusSpec) GetControlPlanes

func (x *ClusterStatusSpec) GetControlPlanes() uint32

func (*ClusterStatusSpec) GetDenyEtcdMembers

func (x *ClusterStatusSpec) GetDenyEtcdMembers() []string

func (*ClusterStatusSpec) GetKubeconfig

func (x *ClusterStatusSpec) GetKubeconfig() []byte

func (*ClusterStatusSpec) GetWorkers

func (x *ClusterStatusSpec) GetWorkers() uint32

func (*ClusterStatusSpec) MarshalToSizedBufferVT

func (m *ClusterStatusSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ClusterStatusSpec) MarshalToVT

func (m *ClusterStatusSpec) MarshalToVT(dAtA []byte) (int, error)

func (*ClusterStatusSpec) MarshalVT

func (m *ClusterStatusSpec) MarshalVT() (dAtA []byte, err error)

func (*ClusterStatusSpec) ProtoMessage

func (*ClusterStatusSpec) ProtoMessage()

func (*ClusterStatusSpec) ProtoReflect

func (x *ClusterStatusSpec) ProtoReflect() protoreflect.Message

func (*ClusterStatusSpec) Reset

func (x *ClusterStatusSpec) Reset()

func (*ClusterStatusSpec) SizeVT

func (m *ClusterStatusSpec) SizeVT() (n int)

func (*ClusterStatusSpec) String

func (x *ClusterStatusSpec) String() string

func (*ClusterStatusSpec) UnmarshalVT

func (m *ClusterStatusSpec) UnmarshalVT(dAtA []byte) error

type EventSinkStateSpec

type EventSinkStateSpec struct {
	Versions map[string]uint64 `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

EventSinkStateSpec is defined per machine and resides in it's internal state describes which last version of a resource was reported to the events sink.

func (*EventSinkStateSpec) CloneMessageVT

func (m *EventSinkStateSpec) CloneMessageVT() proto.Message

func (*EventSinkStateSpec) CloneVT

func (m *EventSinkStateSpec) CloneVT() *EventSinkStateSpec

func (*EventSinkStateSpec) Descriptor deprecated

func (*EventSinkStateSpec) Descriptor() ([]byte, []int)

Deprecated: Use EventSinkStateSpec.ProtoReflect.Descriptor instead.

func (*EventSinkStateSpec) EqualMessageVT

func (this *EventSinkStateSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*EventSinkStateSpec) EqualVT

func (this *EventSinkStateSpec) EqualVT(that *EventSinkStateSpec) bool

func (*EventSinkStateSpec) GetVersions

func (x *EventSinkStateSpec) GetVersions() map[string]uint64

func (*EventSinkStateSpec) MarshalToSizedBufferVT

func (m *EventSinkStateSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EventSinkStateSpec) MarshalToVT

func (m *EventSinkStateSpec) MarshalToVT(dAtA []byte) (int, error)

func (*EventSinkStateSpec) MarshalVT

func (m *EventSinkStateSpec) MarshalVT() (dAtA []byte, err error)

func (*EventSinkStateSpec) ProtoMessage

func (*EventSinkStateSpec) ProtoMessage()

func (*EventSinkStateSpec) ProtoReflect

func (x *EventSinkStateSpec) ProtoReflect() protoreflect.Message

func (*EventSinkStateSpec) Reset

func (x *EventSinkStateSpec) Reset()

func (*EventSinkStateSpec) SizeVT

func (m *EventSinkStateSpec) SizeVT() (n int)

func (*EventSinkStateSpec) String

func (x *EventSinkStateSpec) String() string

func (*EventSinkStateSpec) UnmarshalVT

func (m *EventSinkStateSpec) UnmarshalVT(dAtA []byte) error

type ImageSpec

type ImageSpec struct {
	Version   string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Schematic string `protobuf:"bytes,2,opt,name=schematic,proto3" json:"schematic,omitempty"`
	// contains filtered or unexported fields
}

ImageSpec is the last image used in the upgrade request.

func (*ImageSpec) CloneMessageVT

func (m *ImageSpec) CloneMessageVT() proto.Message

func (*ImageSpec) CloneVT

func (m *ImageSpec) CloneVT() *ImageSpec

func (*ImageSpec) Descriptor deprecated

func (*ImageSpec) Descriptor() ([]byte, []int)

Deprecated: Use ImageSpec.ProtoReflect.Descriptor instead.

func (*ImageSpec) EqualMessageVT

func (this *ImageSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*ImageSpec) EqualVT

func (this *ImageSpec) EqualVT(that *ImageSpec) bool

func (*ImageSpec) GetSchematic

func (x *ImageSpec) GetSchematic() string

func (*ImageSpec) GetVersion

func (x *ImageSpec) GetVersion() string

func (*ImageSpec) MarshalToSizedBufferVT

func (m *ImageSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ImageSpec) MarshalToVT

func (m *ImageSpec) MarshalToVT(dAtA []byte) (int, error)

func (*ImageSpec) MarshalVT

func (m *ImageSpec) MarshalVT() (dAtA []byte, err error)

func (*ImageSpec) ProtoMessage

func (*ImageSpec) ProtoMessage()

func (*ImageSpec) ProtoReflect

func (x *ImageSpec) ProtoReflect() protoreflect.Message

func (*ImageSpec) Reset

func (x *ImageSpec) Reset()

func (*ImageSpec) SizeVT

func (m *ImageSpec) SizeVT() (n int)

func (*ImageSpec) String

func (x *ImageSpec) String() string

func (*ImageSpec) UnmarshalVT

func (m *ImageSpec) UnmarshalVT(dAtA []byte) error

type MachineStatusSpec

type MachineStatusSpec struct {
	Addresses    []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	EtcdMemberId string   `protobuf:"bytes,2,opt,name=etcd_member_id,json=etcdMemberId,proto3" json:"etcd_member_id,omitempty"`
	Hostname     string   `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

MachineStatusSpec is an emulated machine status.

func (*MachineStatusSpec) CloneMessageVT

func (m *MachineStatusSpec) CloneMessageVT() proto.Message

func (*MachineStatusSpec) CloneVT

func (m *MachineStatusSpec) CloneVT() *MachineStatusSpec

func (*MachineStatusSpec) Descriptor deprecated

func (*MachineStatusSpec) Descriptor() ([]byte, []int)

Deprecated: Use MachineStatusSpec.ProtoReflect.Descriptor instead.

func (*MachineStatusSpec) EqualMessageVT

func (this *MachineStatusSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*MachineStatusSpec) EqualVT

func (this *MachineStatusSpec) EqualVT(that *MachineStatusSpec) bool

func (*MachineStatusSpec) GetAddresses

func (x *MachineStatusSpec) GetAddresses() []string

func (*MachineStatusSpec) GetEtcdMemberId

func (x *MachineStatusSpec) GetEtcdMemberId() string

func (*MachineStatusSpec) GetHostname

func (x *MachineStatusSpec) GetHostname() string

func (*MachineStatusSpec) MarshalToSizedBufferVT

func (m *MachineStatusSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MachineStatusSpec) MarshalToVT

func (m *MachineStatusSpec) MarshalToVT(dAtA []byte) (int, error)

func (*MachineStatusSpec) MarshalVT

func (m *MachineStatusSpec) MarshalVT() (dAtA []byte, err error)

func (*MachineStatusSpec) ProtoMessage

func (*MachineStatusSpec) ProtoMessage()

func (*MachineStatusSpec) ProtoReflect

func (x *MachineStatusSpec) ProtoReflect() protoreflect.Message

func (*MachineStatusSpec) Reset

func (x *MachineStatusSpec) Reset()

func (*MachineStatusSpec) SizeVT

func (m *MachineStatusSpec) SizeVT() (n int)

func (*MachineStatusSpec) String

func (x *MachineStatusSpec) String() string

func (*MachineStatusSpec) UnmarshalVT

func (m *MachineStatusSpec) UnmarshalVT(dAtA []byte) error

type RebootSpec

type RebootSpec struct {
	Downtime *durationpb.Duration `protobuf:"bytes,1,opt,name=downtime,proto3" json:"downtime,omitempty"`
	// contains filtered or unexported fields
}

RebootSpec keeps track of all reboots on the node.

func (*RebootSpec) CloneMessageVT

func (m *RebootSpec) CloneMessageVT() proto.Message

func (*RebootSpec) CloneVT

func (m *RebootSpec) CloneVT() *RebootSpec

func (*RebootSpec) Descriptor deprecated

func (*RebootSpec) Descriptor() ([]byte, []int)

Deprecated: Use RebootSpec.ProtoReflect.Descriptor instead.

func (*RebootSpec) EqualMessageVT

func (this *RebootSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*RebootSpec) EqualVT

func (this *RebootSpec) EqualVT(that *RebootSpec) bool

func (*RebootSpec) GetDowntime

func (x *RebootSpec) GetDowntime() *durationpb.Duration

func (*RebootSpec) MarshalToSizedBufferVT

func (m *RebootSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RebootSpec) MarshalToVT

func (m *RebootSpec) MarshalToVT(dAtA []byte) (int, error)

func (*RebootSpec) MarshalVT

func (m *RebootSpec) MarshalVT() (dAtA []byte, err error)

func (*RebootSpec) ProtoMessage

func (*RebootSpec) ProtoMessage()

func (*RebootSpec) ProtoReflect

func (x *RebootSpec) ProtoReflect() protoreflect.Message

func (*RebootSpec) Reset

func (x *RebootSpec) Reset()

func (*RebootSpec) SizeVT

func (m *RebootSpec) SizeVT() (n int)

func (*RebootSpec) String

func (x *RebootSpec) String() string

func (*RebootSpec) UnmarshalVT

func (m *RebootSpec) UnmarshalVT(dAtA []byte) error

type RebootStatusSpec

type RebootStatusSpec struct {
	// contains filtered or unexported fields
}

RebootStatusSpec is generated for each reboot spec.

func (*RebootStatusSpec) CloneMessageVT

func (m *RebootStatusSpec) CloneMessageVT() proto.Message

func (*RebootStatusSpec) CloneVT

func (m *RebootStatusSpec) CloneVT() *RebootStatusSpec

func (*RebootStatusSpec) Descriptor deprecated

func (*RebootStatusSpec) Descriptor() ([]byte, []int)

Deprecated: Use RebootStatusSpec.ProtoReflect.Descriptor instead.

func (*RebootStatusSpec) EqualMessageVT

func (this *RebootStatusSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*RebootStatusSpec) EqualVT

func (this *RebootStatusSpec) EqualVT(that *RebootStatusSpec) bool

func (*RebootStatusSpec) MarshalToSizedBufferVT

func (m *RebootStatusSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RebootStatusSpec) MarshalToVT

func (m *RebootStatusSpec) MarshalToVT(dAtA []byte) (int, error)

func (*RebootStatusSpec) MarshalVT

func (m *RebootStatusSpec) MarshalVT() (dAtA []byte, err error)

func (*RebootStatusSpec) ProtoMessage

func (*RebootStatusSpec) ProtoMessage()

func (*RebootStatusSpec) ProtoReflect

func (x *RebootStatusSpec) ProtoReflect() protoreflect.Message

func (*RebootStatusSpec) Reset

func (x *RebootStatusSpec) Reset()

func (*RebootStatusSpec) SizeVT

func (m *RebootStatusSpec) SizeVT() (n int)

func (*RebootStatusSpec) String

func (x *RebootStatusSpec) String() string

func (*RebootStatusSpec) UnmarshalVT

func (m *RebootStatusSpec) UnmarshalVT(dAtA []byte) error

type ServiceSpec

type ServiceSpec struct {
	Id     string              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	State  string              `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Health *ServiceSpec_Health `protobuf:"bytes,3,opt,name=health,proto3" json:"health,omitempty"`
	// contains filtered or unexported fields
}

ServiceSpec is the fake service information.

func (*ServiceSpec) CloneMessageVT

func (m *ServiceSpec) CloneMessageVT() proto.Message

func (*ServiceSpec) CloneVT

func (m *ServiceSpec) CloneVT() *ServiceSpec

func (*ServiceSpec) Descriptor deprecated

func (*ServiceSpec) Descriptor() ([]byte, []int)

Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead.

func (*ServiceSpec) EqualMessageVT

func (this *ServiceSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*ServiceSpec) EqualVT

func (this *ServiceSpec) EqualVT(that *ServiceSpec) bool

func (*ServiceSpec) GetHealth

func (x *ServiceSpec) GetHealth() *ServiceSpec_Health

func (*ServiceSpec) GetId

func (x *ServiceSpec) GetId() string

func (*ServiceSpec) GetState

func (x *ServiceSpec) GetState() string

func (*ServiceSpec) MarshalToSizedBufferVT

func (m *ServiceSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ServiceSpec) MarshalToVT

func (m *ServiceSpec) MarshalToVT(dAtA []byte) (int, error)

func (*ServiceSpec) MarshalVT

func (m *ServiceSpec) MarshalVT() (dAtA []byte, err error)

func (*ServiceSpec) ProtoMessage

func (*ServiceSpec) ProtoMessage()

func (*ServiceSpec) ProtoReflect

func (x *ServiceSpec) ProtoReflect() protoreflect.Message

func (*ServiceSpec) Reset

func (x *ServiceSpec) Reset()

func (*ServiceSpec) SizeVT

func (m *ServiceSpec) SizeVT() (n int)

func (*ServiceSpec) String

func (x *ServiceSpec) String() string

func (*ServiceSpec) UnmarshalVT

func (m *ServiceSpec) UnmarshalVT(dAtA []byte) error

type ServiceSpec_Health

type ServiceSpec_Health struct {
	Unknown     bool                   `protobuf:"varint,1,opt,name=unknown,proto3" json:"unknown,omitempty"`
	Healthy     bool                   `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy,omitempty"`
	LastMessage string                 `protobuf:"bytes,3,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"`
	LastChange  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceSpec_Health) CloneMessageVT

func (m *ServiceSpec_Health) CloneMessageVT() proto.Message

func (*ServiceSpec_Health) CloneVT

func (m *ServiceSpec_Health) CloneVT() *ServiceSpec_Health

func (*ServiceSpec_Health) Descriptor deprecated

func (*ServiceSpec_Health) Descriptor() ([]byte, []int)

Deprecated: Use ServiceSpec_Health.ProtoReflect.Descriptor instead.

func (*ServiceSpec_Health) EqualMessageVT

func (this *ServiceSpec_Health) EqualMessageVT(thatMsg proto.Message) bool

func (*ServiceSpec_Health) EqualVT

func (this *ServiceSpec_Health) EqualVT(that *ServiceSpec_Health) bool

func (*ServiceSpec_Health) GetHealthy

func (x *ServiceSpec_Health) GetHealthy() bool

func (*ServiceSpec_Health) GetLastChange

func (x *ServiceSpec_Health) GetLastChange() *timestamppb.Timestamp

func (*ServiceSpec_Health) GetLastMessage

func (x *ServiceSpec_Health) GetLastMessage() string

func (*ServiceSpec_Health) GetUnknown

func (x *ServiceSpec_Health) GetUnknown() bool

func (*ServiceSpec_Health) MarshalToSizedBufferVT

func (m *ServiceSpec_Health) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ServiceSpec_Health) MarshalToVT

func (m *ServiceSpec_Health) MarshalToVT(dAtA []byte) (int, error)

func (*ServiceSpec_Health) MarshalVT

func (m *ServiceSpec_Health) MarshalVT() (dAtA []byte, err error)

func (*ServiceSpec_Health) ProtoMessage

func (*ServiceSpec_Health) ProtoMessage()

func (*ServiceSpec_Health) ProtoReflect

func (x *ServiceSpec_Health) ProtoReflect() protoreflect.Message

func (*ServiceSpec_Health) Reset

func (x *ServiceSpec_Health) Reset()

func (*ServiceSpec_Health) SizeVT

func (m *ServiceSpec_Health) SizeVT() (n int)

func (*ServiceSpec_Health) String

func (x *ServiceSpec_Health) String() string

func (*ServiceSpec_Health) UnmarshalVT

func (m *ServiceSpec_Health) UnmarshalVT(dAtA []byte) error

type VersionSpec

type VersionSpec struct {
	Value        string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Architecture string `protobuf:"bytes,2,opt,name=architecture,proto3" json:"architecture,omitempty"`
	// contains filtered or unexported fields
}

VersionSpec keeps current talos version of the emulated Talos node.

func (*VersionSpec) CloneMessageVT

func (m *VersionSpec) CloneMessageVT() proto.Message

func (*VersionSpec) CloneVT

func (m *VersionSpec) CloneVT() *VersionSpec

func (*VersionSpec) Descriptor deprecated

func (*VersionSpec) Descriptor() ([]byte, []int)

Deprecated: Use VersionSpec.ProtoReflect.Descriptor instead.

func (*VersionSpec) EqualMessageVT

func (this *VersionSpec) EqualMessageVT(thatMsg proto.Message) bool

func (*VersionSpec) EqualVT

func (this *VersionSpec) EqualVT(that *VersionSpec) bool

func (*VersionSpec) GetArchitecture

func (x *VersionSpec) GetArchitecture() string

func (*VersionSpec) GetValue

func (x *VersionSpec) GetValue() string

func (*VersionSpec) MarshalToSizedBufferVT

func (m *VersionSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*VersionSpec) MarshalToVT

func (m *VersionSpec) MarshalToVT(dAtA []byte) (int, error)

func (*VersionSpec) MarshalVT

func (m *VersionSpec) MarshalVT() (dAtA []byte, err error)

func (*VersionSpec) ProtoMessage

func (*VersionSpec) ProtoMessage()

func (*VersionSpec) ProtoReflect

func (x *VersionSpec) ProtoReflect() protoreflect.Message

func (*VersionSpec) Reset

func (x *VersionSpec) Reset()

func (*VersionSpec) SizeVT

func (m *VersionSpec) SizeVT() (n int)

func (*VersionSpec) String

func (x *VersionSpec) String() string

func (*VersionSpec) UnmarshalVT

func (m *VersionSpec) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL