deployment

package
v1.33.0-20230531113704... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogsResponse_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "KIND_STDOUT",
		2: "KIND_STDERR",
	}
	LogsResponse_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"KIND_STDOUT":      1,
		"KIND_STDERR":      2,
	}
)

Enum value maps for LogsResponse_Kind.

View Source
var File_nuntio_management_api_deployment_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest struct {

	// The deployment to create.
	Name       string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Deployment *deployment.Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// contains filtered or unexported fields
}

The request of a deployment.Create RPC.

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetDeployment

func (x *CreateRequest) GetDeployment() *deployment.Deployment

func (*CreateRequest) GetName

func (x *CreateRequest) GetName() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

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

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

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

The response of a deployment.Create RPC

func (*CreateResponse) Descriptor deprecated

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

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

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type DeleteRequest

type DeleteRequest struct {

	// The deployment to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request of a deployment.Delete RPC.

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetName

func (x *DeleteRequest) GetName() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

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

The response of a deployment.Delete RPC

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type LogsRequest

type LogsRequest struct {

	// The deployment to read logs from.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If true, the request will stay open and stream new log messages.
	Follow bool `protobuf:"varint,2,opt,name=follow,proto3" json:"follow,omitempty"`
	// contains filtered or unexported fields
}

The request of a deployment.Logs RPC.

func (*LogsRequest) Descriptor deprecated

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

Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.

func (*LogsRequest) GetFollow

func (x *LogsRequest) GetFollow() bool

func (*LogsRequest) GetName

func (x *LogsRequest) GetName() string

func (*LogsRequest) ProtoMessage

func (*LogsRequest) ProtoMessage()

func (*LogsRequest) ProtoReflect

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

func (*LogsRequest) Reset

func (x *LogsRequest) Reset()

func (*LogsRequest) String

func (x *LogsRequest) String() string

type LogsResponse

type LogsResponse struct {
	Message []byte            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Kind    LogsResponse_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=nuntio.management.api.deployment.LogsResponse_Kind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

The response of a deployment.Logs RPC

func (*LogsResponse) Descriptor deprecated

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

Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.

func (*LogsResponse) GetKind

func (x *LogsResponse) GetKind() LogsResponse_Kind

func (*LogsResponse) GetMessage

func (x *LogsResponse) GetMessage() []byte

func (*LogsResponse) ProtoMessage

func (*LogsResponse) ProtoMessage()

func (*LogsResponse) ProtoReflect

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

func (*LogsResponse) Reset

func (x *LogsResponse) Reset()

func (*LogsResponse) String

func (x *LogsResponse) String() string

type LogsResponse_Kind

type LogsResponse_Kind int32
const (
	LogsResponse_KIND_UNSPECIFIED LogsResponse_Kind = 0
	LogsResponse_KIND_STDOUT      LogsResponse_Kind = 1
	LogsResponse_KIND_STDERR      LogsResponse_Kind = 2
)

func (LogsResponse_Kind) Descriptor

func (LogsResponse_Kind) Enum

func (LogsResponse_Kind) EnumDescriptor deprecated

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

Deprecated: Use LogsResponse_Kind.Descriptor instead.

func (LogsResponse_Kind) Number

func (LogsResponse_Kind) String

func (x LogsResponse_Kind) String() string

func (LogsResponse_Kind) Type

type PingRequest

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

The request of a deployment.Ping RPC.

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type PingResponse

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

The response of a deployment.Ping RPC.

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

Jump to

Keyboard shortcuts

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