common

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MPL-2.0 Imports: 11 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Code_name = map[int32]string{
		0: "FATAL",
		1: "LOCKED",
		2: "CANCELED",
	}
	Code_value = map[string]int32{
		"FATAL":    0,
		"LOCKED":   1,
		"CANCELED": 2,
	}
)

Enum value maps for Code.

View Source
var (
	ContainerDriver_name = map[int32]string{
		0: "CONTAINERD",
		1: "CRI",
	}
	ContainerDriver_value = map[string]int32{
		"CONTAINERD": 0,
		"CRI":        1,
	}
)

Enum value maps for ContainerDriver.

View Source
var (
	ContainerdNamespace_name = map[int32]string{
		0: "NS_UNKNOWN",
		1: "NS_SYSTEM",
		2: "NS_CRI",
	}
	ContainerdNamespace_value = map[string]int32{
		"NS_UNKNOWN": 0,
		"NS_SYSTEM":  1,
		"NS_CRI":     2,
	}
)

Enum value maps for ContainerdNamespace.

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// Indicates the Talos version when this deprecated enum will be removed from API.
	//
	// optional string remove_deprecated_enum = 93117;
	E_RemoveDeprecatedEnum = &file_common_common_proto_extTypes[2]
)

Extension fields to descriptorpb.EnumOptions.

View Source
var (
	// Indicates the Talos version when this deprecated enum value will be removed from API.
	//
	// optional string remove_deprecated_enum_value = 93117;
	E_RemoveDeprecatedEnumValue = &file_common_common_proto_extTypes[3]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var (
	// Indicates the Talos version when this deprecated filed will be removed from API.
	//
	// optional string remove_deprecated_field = 93117;
	E_RemoveDeprecatedField = &file_common_common_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// Indicates the Talos version when this deprecated message will be removed from API.
	//
	// optional string remove_deprecated_message = 93117;
	E_RemoveDeprecatedMessage = &file_common_common_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// Indicates the Talos version when this deprecated method will be removed from API.
	//
	// optional string remove_deprecated_method = 93117;
	E_RemoveDeprecatedMethod = &file_common_common_proto_extTypes[4]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// Indicates the Talos version when this deprecated service will be removed from API.
	//
	// optional string remove_deprecated_service = 93117;
	E_RemoveDeprecatedService = &file_common_common_proto_extTypes[5]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_common_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Code

type Code int32
const (
	Code_FATAL    Code = 0
	Code_LOCKED   Code = 1
	Code_CANCELED Code = 2
)

func (Code) Descriptor

func (Code) Descriptor() protoreflect.EnumDescriptor

func (Code) Enum

func (x Code) Enum() *Code

func (Code) EnumDescriptor deprecated

func (Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use Code.Descriptor instead.

func (Code) Number

func (x Code) Number() protoreflect.EnumNumber

func (Code) String

func (x Code) String() string

func (Code) Type

func (Code) Type() protoreflect.EnumType

type ContainerDriver

type ContainerDriver int32
const (
	ContainerDriver_CONTAINERD ContainerDriver = 0
	ContainerDriver_CRI        ContainerDriver = 1
)

func (ContainerDriver) Descriptor

func (ContainerDriver) Enum

func (x ContainerDriver) Enum() *ContainerDriver

func (ContainerDriver) EnumDescriptor deprecated

func (ContainerDriver) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContainerDriver.Descriptor instead.

func (ContainerDriver) Number

func (ContainerDriver) String

func (x ContainerDriver) String() string

func (ContainerDriver) Type

type ContainerdNamespace added in v1.5.0

type ContainerdNamespace int32
const (
	ContainerdNamespace_NS_UNKNOWN ContainerdNamespace = 0
	ContainerdNamespace_NS_SYSTEM  ContainerdNamespace = 1
	ContainerdNamespace_NS_CRI     ContainerdNamespace = 2
)

func (ContainerdNamespace) Descriptor added in v1.5.0

func (ContainerdNamespace) Enum added in v1.5.0

func (ContainerdNamespace) EnumDescriptor deprecated added in v1.5.0

func (ContainerdNamespace) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContainerdNamespace.Descriptor instead.

func (ContainerdNamespace) Number added in v1.5.0

func (ContainerdNamespace) String added in v1.5.0

func (x ContainerdNamespace) String() string

func (ContainerdNamespace) Type added in v1.5.0

type Data

type Data struct {
	Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Bytes    []byte    `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetBytes

func (x *Data) GetBytes() []byte

func (*Data) GetMetadata

func (x *Data) GetMetadata() *Metadata

func (*Data) MarshalToSizedBufferVT

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

func (*Data) MarshalToVT

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

func (*Data) MarshalVT

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

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) SizeVT

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

func (*Data) String

func (x *Data) String() string

func (*Data) UnmarshalVT

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

type DataResponse

type DataResponse struct {
	Messages []*Data `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*DataResponse) Descriptor deprecated

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

Deprecated: Use DataResponse.ProtoReflect.Descriptor instead.

func (*DataResponse) GetMessages

func (x *DataResponse) GetMessages() []*Data

func (*DataResponse) MarshalToSizedBufferVT

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

func (*DataResponse) MarshalToVT

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

func (*DataResponse) MarshalVT

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

func (*DataResponse) ProtoMessage

func (*DataResponse) ProtoMessage()

func (*DataResponse) ProtoReflect

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

func (*DataResponse) Reset

func (x *DataResponse) Reset()

func (*DataResponse) SizeVT

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

func (*DataResponse) String

func (x *DataResponse) String() string

func (*DataResponse) UnmarshalVT

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

type Empty

type Empty struct {
	Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) GetMetadata

func (x *Empty) GetMetadata() *Metadata

func (*Empty) MarshalToSizedBufferVT

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

func (*Empty) MarshalToVT

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

func (*Empty) MarshalVT

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) SizeVT

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

func (*Empty) String

func (x *Empty) String() string

func (*Empty) UnmarshalVT

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

type EmptyResponse

type EmptyResponse struct {
	Messages []*Empty `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*EmptyResponse) Descriptor deprecated

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

Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.

func (*EmptyResponse) GetMessages

func (x *EmptyResponse) GetMessages() []*Empty

func (*EmptyResponse) MarshalToSizedBufferVT

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

func (*EmptyResponse) MarshalToVT

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

func (*EmptyResponse) MarshalVT

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

func (*EmptyResponse) ProtoMessage

func (*EmptyResponse) ProtoMessage()

func (*EmptyResponse) ProtoReflect

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

func (*EmptyResponse) Reset

func (x *EmptyResponse) Reset()

func (*EmptyResponse) SizeVT

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

func (*EmptyResponse) String

func (x *EmptyResponse) String() string

func (*EmptyResponse) UnmarshalVT

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

type Error

type Error struct {
	Code    Code         `protobuf:"varint,1,opt,name=code,proto3,enum=common.Code" json:"code,omitempty"`
	Message string       `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Details []*anypb.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() Code

func (*Error) GetDetails

func (x *Error) GetDetails() []*anypb.Any

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) MarshalToSizedBufferVT

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

func (*Error) MarshalToVT

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

func (*Error) MarshalVT

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

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) SizeVT

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

func (*Error) String

func (x *Error) String() string

func (*Error) UnmarshalVT

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

type Metadata

type Metadata struct {

	// hostname of the server response comes from (injected by proxy)
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// error is set if request failed to the upstream (rest of response is
	// undefined)
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// error as gRPC Status
	Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Common metadata message nested in all reply message types

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetError

func (x *Metadata) GetError() string

func (*Metadata) GetHostname

func (x *Metadata) GetHostname() string

func (*Metadata) GetStatus

func (x *Metadata) GetStatus() *status.Status

func (*Metadata) MarshalToSizedBufferVT

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

func (*Metadata) MarshalToVT

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

func (*Metadata) MarshalVT

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

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) SizeVT

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

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) UnmarshalVT

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

type NetIP

type NetIP struct {
	Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*NetIP) Descriptor deprecated

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

Deprecated: Use NetIP.ProtoReflect.Descriptor instead.

func (*NetIP) GetIp

func (x *NetIP) GetIp() []byte

func (*NetIP) MarshalToSizedBufferVT

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

func (*NetIP) MarshalToVT

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

func (*NetIP) MarshalVT

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

func (*NetIP) ProtoMessage

func (*NetIP) ProtoMessage()

func (*NetIP) ProtoReflect

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

func (*NetIP) Reset

func (x *NetIP) Reset()

func (*NetIP) SizeVT

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

func (*NetIP) String

func (x *NetIP) String() string

func (*NetIP) UnmarshalVT

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

type NetIPPort

type NetIPPort struct {
	Ip   []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*NetIPPort) Descriptor deprecated

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

Deprecated: Use NetIPPort.ProtoReflect.Descriptor instead.

func (*NetIPPort) GetIp

func (x *NetIPPort) GetIp() []byte

func (*NetIPPort) GetPort

func (x *NetIPPort) GetPort() int32

func (*NetIPPort) MarshalToSizedBufferVT

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

func (*NetIPPort) MarshalToVT

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

func (*NetIPPort) MarshalVT

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

func (*NetIPPort) ProtoMessage

func (*NetIPPort) ProtoMessage()

func (*NetIPPort) ProtoReflect

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

func (*NetIPPort) Reset

func (x *NetIPPort) Reset()

func (*NetIPPort) SizeVT

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

func (*NetIPPort) String

func (x *NetIPPort) String() string

func (*NetIPPort) UnmarshalVT

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

type NetIPPrefix

type NetIPPrefix struct {
	Ip           []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	PrefixLength int32  `protobuf:"varint,2,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"`
	// contains filtered or unexported fields
}

func (*NetIPPrefix) Descriptor deprecated

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

Deprecated: Use NetIPPrefix.ProtoReflect.Descriptor instead.

func (*NetIPPrefix) GetIp

func (x *NetIPPrefix) GetIp() []byte

func (*NetIPPrefix) GetPrefixLength

func (x *NetIPPrefix) GetPrefixLength() int32

func (*NetIPPrefix) MarshalToSizedBufferVT

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

func (*NetIPPrefix) MarshalToVT

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

func (*NetIPPrefix) MarshalVT

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

func (*NetIPPrefix) ProtoMessage

func (*NetIPPrefix) ProtoMessage()

func (*NetIPPrefix) ProtoReflect

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

func (*NetIPPrefix) Reset

func (x *NetIPPrefix) Reset()

func (*NetIPPrefix) SizeVT

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

func (*NetIPPrefix) String

func (x *NetIPPrefix) String() string

func (*NetIPPrefix) UnmarshalVT

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

type PEMEncodedCertificateAndKey

type PEMEncodedCertificateAndKey struct {
	Crt []byte `protobuf:"bytes,1,opt,name=crt,proto3" json:"crt,omitempty"`
	Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*PEMEncodedCertificateAndKey) Descriptor deprecated

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

Deprecated: Use PEMEncodedCertificateAndKey.ProtoReflect.Descriptor instead.

func (*PEMEncodedCertificateAndKey) GetCrt

func (x *PEMEncodedCertificateAndKey) GetCrt() []byte

func (*PEMEncodedCertificateAndKey) GetKey

func (x *PEMEncodedCertificateAndKey) GetKey() []byte

func (*PEMEncodedCertificateAndKey) MarshalToSizedBufferVT

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

func (*PEMEncodedCertificateAndKey) MarshalToVT

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

func (*PEMEncodedCertificateAndKey) MarshalVT

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

func (*PEMEncodedCertificateAndKey) ProtoMessage

func (*PEMEncodedCertificateAndKey) ProtoMessage()

func (*PEMEncodedCertificateAndKey) ProtoReflect

func (*PEMEncodedCertificateAndKey) Reset

func (x *PEMEncodedCertificateAndKey) Reset()

func (*PEMEncodedCertificateAndKey) SizeVT

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

func (*PEMEncodedCertificateAndKey) String

func (x *PEMEncodedCertificateAndKey) String() string

func (*PEMEncodedCertificateAndKey) UnmarshalVT

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

type PEMEncodedKey

type PEMEncodedKey struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*PEMEncodedKey) Descriptor deprecated

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

Deprecated: Use PEMEncodedKey.ProtoReflect.Descriptor instead.

func (*PEMEncodedKey) GetKey

func (x *PEMEncodedKey) GetKey() []byte

func (*PEMEncodedKey) MarshalToSizedBufferVT

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

func (*PEMEncodedKey) MarshalToVT

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

func (*PEMEncodedKey) MarshalVT

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

func (*PEMEncodedKey) ProtoMessage

func (*PEMEncodedKey) ProtoMessage()

func (*PEMEncodedKey) ProtoReflect

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

func (*PEMEncodedKey) Reset

func (x *PEMEncodedKey) Reset()

func (*PEMEncodedKey) SizeVT

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

func (*PEMEncodedKey) String

func (x *PEMEncodedKey) String() string

func (*PEMEncodedKey) UnmarshalVT

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

type URL

type URL struct {
	FullPath string `protobuf:"bytes,1,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"`
	// contains filtered or unexported fields
}

func (*URL) Descriptor deprecated

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

Deprecated: Use URL.ProtoReflect.Descriptor instead.

func (*URL) GetFullPath

func (x *URL) GetFullPath() string

func (*URL) MarshalToSizedBufferVT

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

func (*URL) MarshalToVT

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

func (*URL) MarshalVT

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

func (*URL) ProtoMessage

func (*URL) ProtoMessage()

func (*URL) ProtoReflect

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

func (*URL) Reset

func (x *URL) Reset()

func (*URL) SizeVT

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

func (*URL) String

func (x *URL) String() string

func (*URL) UnmarshalVT

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

Jump to

Keyboard shortcuts

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