v1

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cli_server_protos_compose_v1_compose_proto protoreflect.FileDescriptor

Functions

func RegisterComposeServer

func RegisterComposeServer(s *grpc.Server, srv ComposeServer)

Types

type ComposeClient

ComposeClient is the client API for Compose service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewComposeClient

func NewComposeClient(cc grpc.ClientConnInterface) ComposeClient

type ComposeDownRequest

type ComposeDownRequest struct {
	ProjectName string   `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"`
	WorkDir     string   `protobuf:"bytes,2,opt,name=workDir,proto3" json:"workDir,omitempty"`
	Files       []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*ComposeDownRequest) Descriptor deprecated

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

Deprecated: Use ComposeDownRequest.ProtoReflect.Descriptor instead.

func (*ComposeDownRequest) GetFiles

func (x *ComposeDownRequest) GetFiles() []string

func (*ComposeDownRequest) GetProjectName

func (x *ComposeDownRequest) GetProjectName() string

func (*ComposeDownRequest) GetWorkDir

func (x *ComposeDownRequest) GetWorkDir() string

func (*ComposeDownRequest) ProtoMessage

func (*ComposeDownRequest) ProtoMessage()

func (*ComposeDownRequest) ProtoReflect

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

func (*ComposeDownRequest) Reset

func (x *ComposeDownRequest) Reset()

func (*ComposeDownRequest) String

func (x *ComposeDownRequest) String() string

type ComposeDownResponse

type ComposeDownResponse struct {
	ProjectName string `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"`
	// contains filtered or unexported fields
}

func (*ComposeDownResponse) Descriptor deprecated

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

Deprecated: Use ComposeDownResponse.ProtoReflect.Descriptor instead.

func (*ComposeDownResponse) GetProjectName

func (x *ComposeDownResponse) GetProjectName() string

func (*ComposeDownResponse) ProtoMessage

func (*ComposeDownResponse) ProtoMessage()

func (*ComposeDownResponse) ProtoReflect

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

func (*ComposeDownResponse) Reset

func (x *ComposeDownResponse) Reset()

func (*ComposeDownResponse) String

func (x *ComposeDownResponse) String() string

type ComposeServer

ComposeServer is the server API for Compose service.

type ComposeServicesRequest

type ComposeServicesRequest struct {
	ProjectName string   `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"`
	WorkDir     string   `protobuf:"bytes,2,opt,name=workDir,proto3" json:"workDir,omitempty"`
	Files       []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*ComposeServicesRequest) Descriptor deprecated

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

Deprecated: Use ComposeServicesRequest.ProtoReflect.Descriptor instead.

func (*ComposeServicesRequest) GetFiles

func (x *ComposeServicesRequest) GetFiles() []string

func (*ComposeServicesRequest) GetProjectName

func (x *ComposeServicesRequest) GetProjectName() string

func (*ComposeServicesRequest) GetWorkDir

func (x *ComposeServicesRequest) GetWorkDir() string

func (*ComposeServicesRequest) ProtoMessage

func (*ComposeServicesRequest) ProtoMessage()

func (*ComposeServicesRequest) ProtoReflect

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

func (*ComposeServicesRequest) Reset

func (x *ComposeServicesRequest) Reset()

func (*ComposeServicesRequest) String

func (x *ComposeServicesRequest) String() string

type ComposeServicesResponse

type ComposeServicesResponse struct {
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*ComposeServicesResponse) Descriptor deprecated

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

Deprecated: Use ComposeServicesResponse.ProtoReflect.Descriptor instead.

func (*ComposeServicesResponse) GetServices

func (x *ComposeServicesResponse) GetServices() []*Service

func (*ComposeServicesResponse) ProtoMessage

func (*ComposeServicesResponse) ProtoMessage()

func (*ComposeServicesResponse) ProtoReflect

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

func (*ComposeServicesResponse) Reset

func (x *ComposeServicesResponse) Reset()

func (*ComposeServicesResponse) String

func (x *ComposeServicesResponse) String() string

type ComposeStacksRequest

type ComposeStacksRequest struct {
	ProjectName string `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"`
	// contains filtered or unexported fields
}

func (*ComposeStacksRequest) Descriptor deprecated

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

Deprecated: Use ComposeStacksRequest.ProtoReflect.Descriptor instead.

func (*ComposeStacksRequest) GetProjectName

func (x *ComposeStacksRequest) GetProjectName() string

func (*ComposeStacksRequest) ProtoMessage

func (*ComposeStacksRequest) ProtoMessage()

func (*ComposeStacksRequest) ProtoReflect

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

func (*ComposeStacksRequest) Reset

func (x *ComposeStacksRequest) Reset()

func (*ComposeStacksRequest) String

func (x *ComposeStacksRequest) String() string

type ComposeStacksResponse

type ComposeStacksResponse struct {
	Stacks []*Stack `protobuf:"bytes,1,rep,name=stacks,proto3" json:"stacks,omitempty"`
	// contains filtered or unexported fields
}

func (*ComposeStacksResponse) Descriptor deprecated

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

Deprecated: Use ComposeStacksResponse.ProtoReflect.Descriptor instead.

func (*ComposeStacksResponse) GetStacks

func (x *ComposeStacksResponse) GetStacks() []*Stack

func (*ComposeStacksResponse) ProtoMessage

func (*ComposeStacksResponse) ProtoMessage()

func (*ComposeStacksResponse) ProtoReflect

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

func (*ComposeStacksResponse) Reset

func (x *ComposeStacksResponse) Reset()

func (*ComposeStacksResponse) String

func (x *ComposeStacksResponse) String() string

type ComposeUpRequest

type ComposeUpRequest struct {
	ProjectName string   `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"`
	WorkDir     string   `protobuf:"bytes,2,opt,name=workDir,proto3" json:"workDir,omitempty"`
	Files       []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*ComposeUpRequest) Descriptor deprecated

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

Deprecated: Use ComposeUpRequest.ProtoReflect.Descriptor instead.

func (*ComposeUpRequest) GetFiles

func (x *ComposeUpRequest) GetFiles() []string

func (*ComposeUpRequest) GetProjectName

func (x *ComposeUpRequest) GetProjectName() string

func (*ComposeUpRequest) GetWorkDir

func (x *ComposeUpRequest) GetWorkDir() string

func (*ComposeUpRequest) ProtoMessage

func (*ComposeUpRequest) ProtoMessage()

func (*ComposeUpRequest) ProtoReflect

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

func (*ComposeUpRequest) Reset

func (x *ComposeUpRequest) Reset()

func (*ComposeUpRequest) String

func (x *ComposeUpRequest) String() string

type ComposeUpResponse

type ComposeUpResponse struct {
	ProjectName string `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"`
	// contains filtered or unexported fields
}

func (*ComposeUpResponse) Descriptor deprecated

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

Deprecated: Use ComposeUpResponse.ProtoReflect.Descriptor instead.

func (*ComposeUpResponse) GetProjectName

func (x *ComposeUpResponse) GetProjectName() string

func (*ComposeUpResponse) ProtoMessage

func (*ComposeUpResponse) ProtoMessage()

func (*ComposeUpResponse) ProtoReflect

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

func (*ComposeUpResponse) Reset

func (x *ComposeUpResponse) Reset()

func (*ComposeUpResponse) String

func (x *ComposeUpResponse) String() string

type Service

type Service struct {
	Id       string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Replicas uint32   `protobuf:"varint,3,opt,name=replicas,proto3" json:"replicas,omitempty"`
	Desired  uint32   `protobuf:"varint,4,opt,name=desired,proto3" json:"desired,omitempty"`
	Ports    []string `protobuf:"bytes,5,rep,name=Ports,proto3" json:"Ports,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetDesired

func (x *Service) GetDesired() uint32

func (*Service) GetId

func (x *Service) GetId() string

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetPorts

func (x *Service) GetPorts() []string

func (*Service) GetReplicas

func (x *Service) GetReplicas() uint32

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type Stack

type Stack struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*Stack) Descriptor deprecated

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

Deprecated: Use Stack.ProtoReflect.Descriptor instead.

func (*Stack) GetId

func (x *Stack) GetId() string

func (*Stack) GetName

func (x *Stack) GetName() string

func (*Stack) GetReason

func (x *Stack) GetReason() string

func (*Stack) GetStatus

func (x *Stack) GetStatus() string

func (*Stack) ProtoMessage

func (*Stack) ProtoMessage()

func (*Stack) ProtoReflect

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

func (*Stack) Reset

func (x *Stack) Reset()

func (*Stack) String

func (x *Stack) String() string

type UnimplementedComposeServer

type UnimplementedComposeServer struct {
}

UnimplementedComposeServer can be embedded to have forward compatible implementations.

func (*UnimplementedComposeServer) Down

func (*UnimplementedComposeServer) Services

func (*UnimplementedComposeServer) Stacks

func (*UnimplementedComposeServer) Up

Jump to

Keyboard shortcuts

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