v1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_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 added in v1.0.3

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

func (*ComposeDownRequest) GetProjectName added in v1.0.3

func (x *ComposeDownRequest) GetProjectName() string

func (*ComposeDownRequest) GetWorkDir added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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

Deprecated: Use ComposeServicesRequest.ProtoReflect.Descriptor instead.

func (*ComposeServicesRequest) GetFiles added in v1.0.3

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

func (*ComposeServicesRequest) GetProjectName added in v1.0.3

func (x *ComposeServicesRequest) GetProjectName() string

func (*ComposeServicesRequest) GetWorkDir added in v1.0.3

func (x *ComposeServicesRequest) GetWorkDir() string

func (*ComposeServicesRequest) ProtoMessage added in v1.0.3

func (*ComposeServicesRequest) ProtoMessage()

func (*ComposeServicesRequest) ProtoReflect added in v1.0.3

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

func (*ComposeServicesRequest) Reset added in v1.0.3

func (x *ComposeServicesRequest) Reset()

func (*ComposeServicesRequest) String added in v1.0.3

func (x *ComposeServicesRequest) String() string

type ComposeServicesResponse added in v1.0.3

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

func (*ComposeServicesResponse) Descriptor deprecated added in v1.0.3

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

Deprecated: Use ComposeServicesResponse.ProtoReflect.Descriptor instead.

func (*ComposeServicesResponse) GetServices added in v1.0.3

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

func (*ComposeServicesResponse) ProtoMessage added in v1.0.3

func (*ComposeServicesResponse) ProtoMessage()

func (*ComposeServicesResponse) ProtoReflect added in v1.0.3

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

func (*ComposeServicesResponse) Reset added in v1.0.3

func (x *ComposeServicesResponse) Reset()

func (*ComposeServicesResponse) String added in v1.0.3

func (x *ComposeServicesResponse) String() string

type ComposeStacksRequest added in v1.0.3

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

func (*ComposeStacksRequest) Descriptor deprecated added in v1.0.3

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

Deprecated: Use ComposeStacksRequest.ProtoReflect.Descriptor instead.

func (*ComposeStacksRequest) GetProjectName added in v1.0.3

func (x *ComposeStacksRequest) GetProjectName() string

func (*ComposeStacksRequest) ProtoMessage added in v1.0.3

func (*ComposeStacksRequest) ProtoMessage()

func (*ComposeStacksRequest) ProtoReflect added in v1.0.3

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

func (*ComposeStacksRequest) Reset added in v1.0.3

func (x *ComposeStacksRequest) Reset()

func (*ComposeStacksRequest) String added in v1.0.3

func (x *ComposeStacksRequest) String() string

type ComposeStacksResponse added in v1.0.3

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

func (*ComposeStacksResponse) Descriptor deprecated added in v1.0.3

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

Deprecated: Use ComposeStacksResponse.ProtoReflect.Descriptor instead.

func (*ComposeStacksResponse) GetStacks added in v1.0.3

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

func (*ComposeStacksResponse) ProtoMessage added in v1.0.3

func (*ComposeStacksResponse) ProtoMessage()

func (*ComposeStacksResponse) ProtoReflect added in v1.0.3

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

func (*ComposeStacksResponse) Reset added in v1.0.3

func (x *ComposeStacksResponse) Reset()

func (*ComposeStacksResponse) String added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetDesired added in v1.0.3

func (x *Service) GetDesired() uint32

func (*Service) GetId added in v1.0.3

func (x *Service) GetId() string

func (*Service) GetName added in v1.0.3

func (x *Service) GetName() string

func (*Service) GetPorts added in v1.0.3

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

func (*Service) GetReplicas added in v1.0.3

func (x *Service) GetReplicas() uint32

func (*Service) ProtoMessage added in v1.0.3

func (*Service) ProtoMessage()

func (*Service) ProtoReflect added in v1.0.3

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

func (*Service) Reset added in v1.0.3

func (x *Service) Reset()

func (*Service) String added in v1.0.3

func (x *Service) String() string

type Stack added in v1.0.3

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 added in v1.0.3

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

Deprecated: Use Stack.ProtoReflect.Descriptor instead.

func (*Stack) GetId added in v1.0.3

func (x *Stack) GetId() string

func (*Stack) GetName added in v1.0.3

func (x *Stack) GetName() string

func (*Stack) GetReason added in v1.0.3

func (x *Stack) GetReason() string

func (*Stack) GetStatus added in v1.0.3

func (x *Stack) GetStatus() string

func (*Stack) ProtoMessage added in v1.0.3

func (*Stack) ProtoMessage()

func (*Stack) ProtoReflect added in v1.0.3

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

func (*Stack) Reset added in v1.0.3

func (x *Stack) Reset()

func (*Stack) String added in v1.0.3

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 added in v1.0.3

func (*UnimplementedComposeServer) Stacks added in v1.0.3

func (*UnimplementedComposeServer) Up

Jump to

Keyboard shortcuts

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