Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterApplicationServer

func RegisterApplicationServer(s *grpc.Server, srv ApplicationServer)

Types

type App

type App struct {
	Name                 string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Services             []*v1.Service `protobuf:"bytes,2,rep,name=services" json:"services,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*App) Descriptor

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

func (*App) GetName

func (m *App) GetName() string

func (*App) GetServices

func (m *App) GetServices() []*v1.Service

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) Reset

func (m *App) Reset()

func (*App) String

func (m *App) String() string

func (*App) XXX_DiscardUnknown

func (m *App) XXX_DiscardUnknown()

func (*App) XXX_Marshal

func (m *App) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*App) XXX_Merge

func (dst *App) XXX_Merge(src proto.Message)

func (*App) XXX_Size

func (m *App) XXX_Size() int

func (*App) XXX_Unmarshal

func (m *App) XXX_Unmarshal(b []byte) error

type ApplicationClient

type ApplicationClient interface {
	Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error)
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*types.Empty, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	Restart(ctx context.Context, in *RestartRequest, opts ...grpc.CallOption) (*types.Empty, error)
}

    ApplicationClient is the client API for Application service.

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

    func NewApplicationClient

    func NewApplicationClient(cc *grpc.ClientConn) ApplicationClient

    type ApplicationServer

      ApplicationServer is the server API for Application service.

      type CreateRequest

      type CreateRequest struct {
      	Name                 string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
      	Labels               []string      `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty"`
      	Services             []*v1.Service `protobuf:"bytes,3,rep,name=services" json:"services,omitempty"`
      	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
      	XXX_unrecognized     []byte        `json:"-"`
      	XXX_sizecache        int32         `json:"-"`
      }

      func (*CreateRequest) Descriptor

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

      func (*CreateRequest) GetLabels

      func (m *CreateRequest) GetLabels() []string

      func (*CreateRequest) GetName

      func (m *CreateRequest) GetName() string

      func (*CreateRequest) GetServices

      func (m *CreateRequest) GetServices() []*v1.Service

      func (*CreateRequest) ProtoMessage

      func (*CreateRequest) ProtoMessage()

      func (*CreateRequest) Reset

      func (m *CreateRequest) Reset()

      func (*CreateRequest) String

      func (m *CreateRequest) String() string

      func (*CreateRequest) XXX_DiscardUnknown

      func (m *CreateRequest) XXX_DiscardUnknown()

      func (*CreateRequest) XXX_Marshal

      func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*CreateRequest) XXX_Merge

      func (dst *CreateRequest) XXX_Merge(src proto.Message)

      func (*CreateRequest) XXX_Size

      func (m *CreateRequest) XXX_Size() int

      func (*CreateRequest) XXX_Unmarshal

      func (m *CreateRequest) XXX_Unmarshal(b []byte) error

      type DeleteRequest

      type DeleteRequest struct {
      	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
      	XXX_unrecognized     []byte   `json:"-"`
      	XXX_sizecache        int32    `json:"-"`
      }

      func (*DeleteRequest) Descriptor

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

      func (*DeleteRequest) GetName

      func (m *DeleteRequest) GetName() string

      func (*DeleteRequest) ProtoMessage

      func (*DeleteRequest) ProtoMessage()

      func (*DeleteRequest) Reset

      func (m *DeleteRequest) Reset()

      func (*DeleteRequest) String

      func (m *DeleteRequest) String() string

      func (*DeleteRequest) XXX_DiscardUnknown

      func (m *DeleteRequest) XXX_DiscardUnknown()

      func (*DeleteRequest) XXX_Marshal

      func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*DeleteRequest) XXX_Merge

      func (dst *DeleteRequest) XXX_Merge(src proto.Message)

      func (*DeleteRequest) XXX_Size

      func (m *DeleteRequest) XXX_Size() int

      func (*DeleteRequest) XXX_Unmarshal

      func (m *DeleteRequest) XXX_Unmarshal(b []byte) error

      type GetRequest

      type GetRequest struct {
      	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
      	XXX_unrecognized     []byte   `json:"-"`
      	XXX_sizecache        int32    `json:"-"`
      }

      func (*GetRequest) Descriptor

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

      func (*GetRequest) GetName

      func (m *GetRequest) GetName() string

      func (*GetRequest) ProtoMessage

      func (*GetRequest) ProtoMessage()

      func (*GetRequest) Reset

      func (m *GetRequest) Reset()

      func (*GetRequest) String

      func (m *GetRequest) String() string

      func (*GetRequest) XXX_DiscardUnknown

      func (m *GetRequest) XXX_DiscardUnknown()

      func (*GetRequest) XXX_Marshal

      func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*GetRequest) XXX_Merge

      func (dst *GetRequest) XXX_Merge(src proto.Message)

      func (*GetRequest) XXX_Size

      func (m *GetRequest) XXX_Size() int

      func (*GetRequest) XXX_Unmarshal

      func (m *GetRequest) XXX_Unmarshal(b []byte) error

      type GetResponse

      type GetResponse struct {
      	Application          *App     `protobuf:"bytes,1,opt,name=application" json:"application,omitempty"`
      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
      	XXX_unrecognized     []byte   `json:"-"`
      	XXX_sizecache        int32    `json:"-"`
      }

      func (*GetResponse) Descriptor

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

      func (*GetResponse) GetApplication

      func (m *GetResponse) GetApplication() *App

      func (*GetResponse) ProtoMessage

      func (*GetResponse) ProtoMessage()

      func (*GetResponse) Reset

      func (m *GetResponse) Reset()

      func (*GetResponse) String

      func (m *GetResponse) String() string

      func (*GetResponse) XXX_DiscardUnknown

      func (m *GetResponse) XXX_DiscardUnknown()

      func (*GetResponse) XXX_Marshal

      func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*GetResponse) XXX_Merge

      func (dst *GetResponse) XXX_Merge(src proto.Message)

      func (*GetResponse) XXX_Size

      func (m *GetResponse) XXX_Size() int

      func (*GetResponse) XXX_Unmarshal

      func (m *GetResponse) XXX_Unmarshal(b []byte) error

      type InfoRequest

      type InfoRequest struct {
      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
      	XXX_unrecognized     []byte   `json:"-"`
      	XXX_sizecache        int32    `json:"-"`
      }

      func (*InfoRequest) Descriptor

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

      func (*InfoRequest) ProtoMessage

      func (*InfoRequest) ProtoMessage()

      func (*InfoRequest) Reset

      func (m *InfoRequest) Reset()

      func (*InfoRequest) String

      func (m *InfoRequest) String() string

      func (*InfoRequest) XXX_DiscardUnknown

      func (m *InfoRequest) XXX_DiscardUnknown()

      func (*InfoRequest) XXX_Marshal

      func (m *InfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*InfoRequest) XXX_Merge

      func (dst *InfoRequest) XXX_Merge(src proto.Message)

      func (*InfoRequest) XXX_Size

      func (m *InfoRequest) XXX_Size() int

      func (*InfoRequest) XXX_Unmarshal

      func (m *InfoRequest) XXX_Unmarshal(b []byte) error

      type InfoResponse

      type InfoResponse struct {
      	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
      	XXX_unrecognized     []byte   `json:"-"`
      	XXX_sizecache        int32    `json:"-"`
      }

      func (*InfoResponse) Descriptor

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

      func (*InfoResponse) GetID

      func (m *InfoResponse) GetID() string

      func (*InfoResponse) ProtoMessage

      func (*InfoResponse) ProtoMessage()

      func (*InfoResponse) Reset

      func (m *InfoResponse) Reset()

      func (*InfoResponse) String

      func (m *InfoResponse) String() string

      func (*InfoResponse) XXX_DiscardUnknown

      func (m *InfoResponse) XXX_DiscardUnknown()

      func (*InfoResponse) XXX_Marshal

      func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*InfoResponse) XXX_Merge

      func (dst *InfoResponse) XXX_Merge(src proto.Message)

      func (*InfoResponse) XXX_Size

      func (m *InfoResponse) XXX_Size() int

      func (*InfoResponse) XXX_Unmarshal

      func (m *InfoResponse) XXX_Unmarshal(b []byte) error

      type ListRequest

      type ListRequest struct {
      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
      	XXX_unrecognized     []byte   `json:"-"`
      	XXX_sizecache        int32    `json:"-"`
      }

      func (*ListRequest) Descriptor

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

      func (*ListRequest) ProtoMessage

      func (*ListRequest) ProtoMessage()

      func (*ListRequest) Reset

      func (m *ListRequest) Reset()

      func (*ListRequest) String

      func (m *ListRequest) String() string

      func (*ListRequest) XXX_DiscardUnknown

      func (m *ListRequest) XXX_DiscardUnknown()

      func (*ListRequest) XXX_Marshal

      func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*ListRequest) XXX_Merge

      func (dst *ListRequest) XXX_Merge(src proto.Message)

      func (*ListRequest) XXX_Size

      func (m *ListRequest) XXX_Size() int

      func (*ListRequest) XXX_Unmarshal

      func (m *ListRequest) XXX_Unmarshal(b []byte) error

      type ListResponse

      type ListResponse struct {
      	Applications         []*App   `protobuf:"bytes,1,rep,name=applications" json:"applications,omitempty"`
      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
      	XXX_unrecognized     []byte   `json:"-"`
      	XXX_sizecache        int32    `json:"-"`
      }

      func (*ListResponse) Descriptor

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

      func (*ListResponse) GetApplications

      func (m *ListResponse) GetApplications() []*App

      func (*ListResponse) ProtoMessage

      func (*ListResponse) ProtoMessage()

      func (*ListResponse) Reset

      func (m *ListResponse) Reset()

      func (*ListResponse) String

      func (m *ListResponse) String() string

      func (*ListResponse) XXX_DiscardUnknown

      func (m *ListResponse) XXX_DiscardUnknown()

      func (*ListResponse) XXX_Marshal

      func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*ListResponse) XXX_Merge

      func (dst *ListResponse) XXX_Merge(src proto.Message)

      func (*ListResponse) XXX_Size

      func (m *ListResponse) XXX_Size() int

      func (*ListResponse) XXX_Unmarshal

      func (m *ListResponse) XXX_Unmarshal(b []byte) error

      type RestartRequest

      type RestartRequest struct {
      	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
      	XXX_NoUnkeyedLiteral struct{} `json:"-"`
      	XXX_unrecognized     []byte   `json:"-"`
      	XXX_sizecache        int32    `json:"-"`
      }

      func (*RestartRequest) Descriptor

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

      func (*RestartRequest) GetName

      func (m *RestartRequest) GetName() string

      func (*RestartRequest) ProtoMessage

      func (*RestartRequest) ProtoMessage()

      func (*RestartRequest) Reset

      func (m *RestartRequest) Reset()

      func (*RestartRequest) String

      func (m *RestartRequest) String() string

      func (*RestartRequest) XXX_DiscardUnknown

      func (m *RestartRequest) XXX_DiscardUnknown()

      func (*RestartRequest) XXX_Marshal

      func (m *RestartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

      func (*RestartRequest) XXX_Merge

      func (dst *RestartRequest) XXX_Merge(src proto.Message)

      func (*RestartRequest) XXX_Size

      func (m *RestartRequest) XXX_Size() int

      func (*RestartRequest) XXX_Unmarshal

      func (m *RestartRequest) XXX_Unmarshal(b []byte) error