yb

package
v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package yb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const KEY_CLIENT_VERSION = "x-yb-client-version"
View Source
const KEY_TOKEN = "x-yb-token"

Variables

View Source
var (
	ActivityTag_name = map[int32]string{
		0:  "None",
		1:  "User",
		2:  "Payment",
		3:  "Application",
		4:  "Domain",
		5:  "Service",
		6:  "Image",
		7:  "ObjectStorage",
		8:  "BlockStorage",
		9:  "AppSrvBinding",
		10: "AppDomBinding",
		11: "AppVolBinding",
		12: "SrvDomBinding",
	}
	ActivityTag_value = map[string]int32{
		"None":          0,
		"User":          1,
		"Payment":       2,
		"Application":   3,
		"Domain":        4,
		"Service":       5,
		"Image":         6,
		"ObjectStorage": 7,
		"BlockStorage":  8,
		"AppSrvBinding": 9,
		"AppDomBinding": 10,
		"AppVolBinding": 11,
		"SrvDomBinding": 12,
	}
)

Enum value maps for ActivityTag.

Functions

func NewPerRPC

func NewPerRPC(getToken func() string, getClientVersion func() string, extras map[string]func() string) credentials.PerRPCCredentials

NewPerRPC constructs the PerRPCCredentials using a given token.

func RegisterYBHandler

func RegisterYBHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterYBHandler registers the http handlers for service YB to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterYBHandlerClient

func RegisterYBHandlerClient(ctx context.Context, mux *runtime.ServeMux, client YBClient) error

RegisterYBHandlerClient registers the http handlers for service YB to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "YBClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "YBClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "YBClient" to call the correct interceptors.

func RegisterYBHandlerFromEndpoint

func RegisterYBHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterYBHandlerFromEndpoint is same as RegisterYBHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterYBHandlerServer

func RegisterYBHandlerServer(ctx context.Context, mux *runtime.ServeMux, server YBServer) error

RegisterYBHandlerServer registers the http handlers for service YB to "mux". UnaryRPC :call YBServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterYBServer

func RegisterYBServer(s *grpc.Server, srv YBServer)

Types

type Account

type Account struct {
	Credits  string `protobuf:"bytes,1,opt,name=credits,proto3" json:"credits,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Email    string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Plan     string `protobuf:"bytes,4,opt,name=plan,proto3" json:"plan,omitempty"`
	Address  string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	Code     string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"`
	Mobi     string `protobuf:"bytes,7,opt,name=mobi,proto3" json:"mobi,omitempty"`
	//variables will be skipped in a update request
	Variables map[string]*GeneralVariable `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAddress

func (x *Account) GetAddress() string

func (*Account) GetCode

func (x *Account) GetCode() string

func (*Account) GetCredits

func (x *Account) GetCredits() string

func (*Account) GetEmail

func (x *Account) GetEmail() string

func (*Account) GetMobi

func (x *Account) GetMobi() string

func (*Account) GetPlan

func (x *Account) GetPlan() string

func (*Account) GetUsername

func (x *Account) GetUsername() string

func (*Account) GetVariables

func (x *Account) GetVariables() map[string]*GeneralVariable

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type Activity

type Activity struct {
	Time        *Timestamp  `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Tag         ActivityTag `protobuf:"varint,2,opt,name=tag,proto3,enum=yb.ActivityTag" json:"tag,omitempty"`
	Name        string      `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Attachment  string      `protobuf:"bytes,4,opt,name=attachment,proto3" json:"attachment,omitempty"` //When tag is binding, otherwise empty
	Type        string      `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Email       string      `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
	Description string      `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Activity) Descriptor deprecated

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

Deprecated: Use Activity.ProtoReflect.Descriptor instead.

func (*Activity) GetAttachment

func (x *Activity) GetAttachment() string

func (*Activity) GetDescription

func (x *Activity) GetDescription() string

func (*Activity) GetEmail

func (x *Activity) GetEmail() string

func (*Activity) GetName

func (x *Activity) GetName() string

func (*Activity) GetTag

func (x *Activity) GetTag() ActivityTag

func (*Activity) GetTime

func (x *Activity) GetTime() *Timestamp

func (*Activity) GetType

func (x *Activity) GetType() string

func (*Activity) ProtoMessage

func (*Activity) ProtoMessage()

func (*Activity) ProtoReflect

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

func (*Activity) Reset

func (x *Activity) Reset()

func (*Activity) String

func (x *Activity) String() string

type ActivityListRes

type ActivityListRes struct {
	Index      int32       `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	Activities []*Activity `protobuf:"bytes,2,rep,name=activities,proto3" json:"activities,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityListRes) Descriptor deprecated

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

Deprecated: Use ActivityListRes.ProtoReflect.Descriptor instead.

func (*ActivityListRes) GetActivities

func (x *ActivityListRes) GetActivities() []*Activity

func (*ActivityListRes) GetIndex

func (x *ActivityListRes) GetIndex() int32

func (*ActivityListRes) ProtoMessage

func (*ActivityListRes) ProtoMessage()

func (*ActivityListRes) ProtoReflect

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

func (*ActivityListRes) Reset

func (x *ActivityListRes) Reset()

func (*ActivityListRes) String

func (x *ActivityListRes) String() string

type ActivityReq

type ActivityReq struct {
	Index int32       `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`                 // [default = 0]
	Tag   ActivityTag `protobuf:"varint,2,opt,name=tag,proto3,enum=yb.ActivityTag" json:"tag,omitempty"` //tag for filter
	Name  string      `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                    //name for filter
	// contains filtered or unexported fields
}

func (*ActivityReq) Descriptor deprecated

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

Deprecated: Use ActivityReq.ProtoReflect.Descriptor instead.

func (*ActivityReq) GetIndex

func (x *ActivityReq) GetIndex() int32

func (*ActivityReq) GetName

func (x *ActivityReq) GetName() string

func (*ActivityReq) GetTag

func (x *ActivityReq) GetTag() ActivityTag

func (*ActivityReq) ProtoMessage

func (*ActivityReq) ProtoMessage()

func (*ActivityReq) ProtoReflect

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

func (*ActivityReq) Reset

func (x *ActivityReq) Reset()

func (*ActivityReq) String

func (x *ActivityReq) String() string

type ActivityTag

type ActivityTag int32
const (
	ActivityTag_None          ActivityTag = 0 //No tag
	ActivityTag_User          ActivityTag = 1 // User_Authentication, User_Setting, ...
	ActivityTag_Payment       ActivityTag = 2
	ActivityTag_Application   ActivityTag = 3
	ActivityTag_Domain        ActivityTag = 4
	ActivityTag_Service       ActivityTag = 5
	ActivityTag_Image         ActivityTag = 6
	ActivityTag_ObjectStorage ActivityTag = 7
	ActivityTag_BlockStorage  ActivityTag = 8
	// Bindings
	ActivityTag_AppSrvBinding ActivityTag = 9
	ActivityTag_AppDomBinding ActivityTag = 10
	ActivityTag_AppVolBinding ActivityTag = 11
	ActivityTag_SrvDomBinding ActivityTag = 12
)

func (ActivityTag) Descriptor

func (ActivityTag) Enum

func (x ActivityTag) Enum() *ActivityTag

func (ActivityTag) EnumDescriptor deprecated

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

Deprecated: Use ActivityTag.Descriptor instead.

func (ActivityTag) Number

func (x ActivityTag) Number() protoreflect.EnumNumber

func (ActivityTag) String

func (x ActivityTag) String() string

func (ActivityTag) Type

type AppAddEnvironmentVariableReq

type AppAddEnvironmentVariableReq struct {
	Name      string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Variables map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AppAddEnvironmentVariableReq) Descriptor deprecated

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

Deprecated: Use AppAddEnvironmentVariableReq.ProtoReflect.Descriptor instead.

func (*AppAddEnvironmentVariableReq) GetName

func (x *AppAddEnvironmentVariableReq) GetName() string

func (*AppAddEnvironmentVariableReq) GetVariables

func (x *AppAddEnvironmentVariableReq) GetVariables() map[string]string

func (*AppAddEnvironmentVariableReq) ProtoMessage

func (*AppAddEnvironmentVariableReq) ProtoMessage()

func (*AppAddEnvironmentVariableReq) ProtoReflect

func (*AppAddEnvironmentVariableReq) Reset

func (x *AppAddEnvironmentVariableReq) Reset()

func (*AppAddEnvironmentVariableReq) String

type AppCreateReq

type AppCreateReq struct {
	Name   string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Plan   string            `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`
	Values map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AppCreateReq) Descriptor deprecated

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

Deprecated: Use AppCreateReq.ProtoReflect.Descriptor instead.

func (*AppCreateReq) GetName

func (x *AppCreateReq) GetName() string

func (*AppCreateReq) GetPlan

func (x *AppCreateReq) GetPlan() string

func (*AppCreateReq) GetValues

func (x *AppCreateReq) GetValues() map[string]string

func (*AppCreateReq) ProtoMessage

func (*AppCreateReq) ProtoMessage()

func (*AppCreateReq) ProtoReflect

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

func (*AppCreateReq) Reset

func (x *AppCreateReq) Reset()

func (*AppCreateReq) String

func (x *AppCreateReq) String() string

type AppListReq

type AppListReq struct {
	Index int32  `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	App   string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`      // To get a list of all the applications, dont sent application name
	// contains filtered or unexported fields
}

func (*AppListReq) Descriptor deprecated

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

Deprecated: Use AppListReq.ProtoReflect.Descriptor instead.

func (*AppListReq) GetApp

func (x *AppListReq) GetApp() string

func (*AppListReq) GetIndex

func (x *AppListReq) GetIndex() int32

func (*AppListReq) ProtoMessage

func (*AppListReq) ProtoMessage()

func (*AppListReq) ProtoReflect

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

func (*AppListReq) Reset

func (x *AppListReq) Reset()

func (*AppListReq) String

func (x *AppListReq) String() string

type AppSrvBindReq

type AppSrvBindReq struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

func (*AppSrvBindReq) Descriptor deprecated

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

Deprecated: Use AppSrvBindReq.ProtoReflect.Descriptor instead.

func (*AppSrvBindReq) GetName

func (x *AppSrvBindReq) GetName() string

func (*AppSrvBindReq) GetService

func (x *AppSrvBindReq) GetService() string

func (*AppSrvBindReq) ProtoMessage

func (*AppSrvBindReq) ProtoMessage()

func (*AppSrvBindReq) ProtoReflect

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

func (*AppSrvBindReq) Reset

func (x *AppSrvBindReq) Reset()

func (*AppSrvBindReq) String

func (x *AppSrvBindReq) String() string

type AppStatusRes

type AppStatusRes struct {
	Created              *Timestamp                  `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"`
	Updated              *Timestamp                  `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"`
	Name                 string                      `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Plan                 string                      `protobuf:"bytes,4,opt,name=plan,proto3" json:"plan,omitempty"`
	VcapServices         string                      `protobuf:"bytes,5,opt,name=vcapServices,proto3" json:"vcapServices,omitempty"`
	Variables            map[string]*GeneralVariable `` /* 159-byte string literal not displayed */
	EnvironmentVariables map[string]string           `` /* 181-byte string literal not displayed */
	Instances            []*Instance                 `protobuf:"bytes,8,rep,name=instances,proto3" json:"instances,omitempty"`
	Conditions           []*ServiceCondition         `protobuf:"bytes,9,rep,name=conditions,proto3" json:"conditions,omitempty"`
	Routes               []string                    `protobuf:"bytes,10,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*AppStatusRes) Descriptor deprecated

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

Deprecated: Use AppStatusRes.ProtoReflect.Descriptor instead.

func (*AppStatusRes) GetConditions

func (x *AppStatusRes) GetConditions() []*ServiceCondition

func (*AppStatusRes) GetCreated

func (x *AppStatusRes) GetCreated() *Timestamp

func (*AppStatusRes) GetEnvironmentVariables

func (x *AppStatusRes) GetEnvironmentVariables() map[string]string

func (*AppStatusRes) GetInstances

func (x *AppStatusRes) GetInstances() []*Instance

func (*AppStatusRes) GetName

func (x *AppStatusRes) GetName() string

func (*AppStatusRes) GetPlan

func (x *AppStatusRes) GetPlan() string

func (*AppStatusRes) GetRoutes

func (x *AppStatusRes) GetRoutes() []string

func (*AppStatusRes) GetUpdated

func (x *AppStatusRes) GetUpdated() *Timestamp

func (*AppStatusRes) GetVariables

func (x *AppStatusRes) GetVariables() map[string]*GeneralVariable

func (*AppStatusRes) GetVcapServices

func (x *AppStatusRes) GetVcapServices() string

func (*AppStatusRes) ProtoMessage

func (*AppStatusRes) ProtoMessage()

func (*AppStatusRes) ProtoReflect

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

func (*AppStatusRes) Reset

func (x *AppStatusRes) Reset()

func (*AppStatusRes) String

func (x *AppStatusRes) String() string

type AttachIdentity

type AttachIdentity struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Attachment string `protobuf:"bytes,2,opt,name=attachment,proto3" json:"attachment,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachIdentity) Descriptor deprecated

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

Deprecated: Use AttachIdentity.ProtoReflect.Descriptor instead.

func (*AttachIdentity) GetAttachment

func (x *AttachIdentity) GetAttachment() string

func (*AttachIdentity) GetName

func (x *AttachIdentity) GetName() string

func (*AttachIdentity) ProtoMessage

func (*AttachIdentity) ProtoMessage()

func (*AttachIdentity) ProtoReflect

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

func (*AttachIdentity) Reset

func (x *AttachIdentity) Reset()

func (*AttachIdentity) String

func (x *AttachIdentity) String() string

type AttachedDomainInfo added in v1.2.0

type AttachedDomainInfo struct {
	Domain       string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Endpoint     string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	EndpointType string `protobuf:"bytes,3,opt,name=endpointType,proto3" json:"endpointType,omitempty"`
	//Added in v2.3 patch
	Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

For embedded response AttachedDomainInfo Deprecated: will be deleted in v3.0

func (*AttachedDomainInfo) Descriptor deprecated added in v1.2.0

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

Deprecated: Use AttachedDomainInfo.ProtoReflect.Descriptor instead.

func (*AttachedDomainInfo) GetDomain added in v1.2.0

func (x *AttachedDomainInfo) GetDomain() string

func (*AttachedDomainInfo) GetEndpoint added in v1.2.0

func (x *AttachedDomainInfo) GetEndpoint() string

func (*AttachedDomainInfo) GetEndpointType added in v1.2.0

func (x *AttachedDomainInfo) GetEndpointType() string

func (*AttachedDomainInfo) GetPath

func (x *AttachedDomainInfo) GetPath() string

func (*AttachedDomainInfo) ProtoMessage added in v1.2.0

func (*AttachedDomainInfo) ProtoMessage()

func (*AttachedDomainInfo) ProtoReflect

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

func (*AttachedDomainInfo) Reset added in v1.2.0

func (x *AttachedDomainInfo) Reset()

func (*AttachedDomainInfo) String added in v1.2.0

func (x *AttachedDomainInfo) String() string

type AuthenticationRes

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

func (*AuthenticationRes) Descriptor deprecated

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

Deprecated: Use AuthenticationRes.ProtoReflect.Descriptor instead.

func (*AuthenticationRes) GetToken

func (x *AuthenticationRes) GetToken() string

func (*AuthenticationRes) ProtoMessage

func (*AuthenticationRes) ProtoMessage()

func (*AuthenticationRes) ProtoReflect

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

func (*AuthenticationRes) Reset

func (x *AuthenticationRes) Reset()

func (*AuthenticationRes) String

func (x *AuthenticationRes) String() string

type ChangePlanReq

type ChangePlanReq struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Plan string `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePlanReq) Descriptor deprecated

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

Deprecated: Use ChangePlanReq.ProtoReflect.Descriptor instead.

func (*ChangePlanReq) GetName

func (x *ChangePlanReq) GetName() string

func (*ChangePlanReq) GetPlan

func (x *ChangePlanReq) GetPlan() string

func (*ChangePlanReq) ProtoMessage

func (*ChangePlanReq) ProtoMessage()

func (*ChangePlanReq) ProtoReflect

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

func (*ChangePlanReq) Reset

func (x *ChangePlanReq) Reset()

func (*ChangePlanReq) String

func (x *ChangePlanReq) String() string

type Chunk

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

func (*Chunk) Descriptor deprecated

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

Deprecated: Use Chunk.ProtoReflect.Descriptor instead.

func (*Chunk) GetChunk

func (x *Chunk) GetChunk() []byte

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) ProtoReflect

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

func (*Chunk) Reset

func (x *Chunk) Reset()

func (*Chunk) String

func (x *Chunk) String() string

type Client

type Client interface {
	Close()
	V2() YBClient
	Context() context.Context
}

Client wrapper for YB

func Connect

func Connect(host string, perRPC credentials.PerRPCCredentials, timeout time.Duration) Client

Connect init a connection to grpc server

type DomainAttachedTo

type DomainAttachedTo struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path     string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainAttachedTo) Descriptor deprecated

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

Deprecated: Use DomainAttachedTo.ProtoReflect.Descriptor instead.

func (*DomainAttachedTo) GetEndpoint

func (x *DomainAttachedTo) GetEndpoint() string

func (*DomainAttachedTo) GetName

func (x *DomainAttachedTo) GetName() string

func (*DomainAttachedTo) GetPath

func (x *DomainAttachedTo) GetPath() string

func (*DomainAttachedTo) ProtoMessage

func (*DomainAttachedTo) ProtoMessage()

func (*DomainAttachedTo) ProtoReflect

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

func (*DomainAttachedTo) Reset

func (x *DomainAttachedTo) Reset()

func (*DomainAttachedTo) String

func (x *DomainAttachedTo) String() string

type DomainCreateReq

type DomainCreateReq struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Tls    bool   `protobuf:"varint,2,opt,name=tls,proto3" json:"tls,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainCreateReq) Descriptor deprecated

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

Deprecated: Use DomainCreateReq.ProtoReflect.Descriptor instead.

func (*DomainCreateReq) GetDomain

func (x *DomainCreateReq) GetDomain() string

func (*DomainCreateReq) GetTls

func (x *DomainCreateReq) GetTls() bool

func (*DomainCreateReq) ProtoMessage

func (*DomainCreateReq) ProtoMessage()

func (*DomainCreateReq) ProtoReflect

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

func (*DomainCreateReq) Reset

func (x *DomainCreateReq) Reset()

func (*DomainCreateReq) String

func (x *DomainCreateReq) String() string

type DomainListRes

type DomainListRes struct {
	Index   int32              `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	Domains []*DomainStatusRes `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainListRes) Descriptor deprecated

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

Deprecated: Use DomainListRes.ProtoReflect.Descriptor instead.

func (*DomainListRes) GetDomains

func (x *DomainListRes) GetDomains() []*DomainStatusRes

func (*DomainListRes) GetIndex

func (x *DomainListRes) GetIndex() int32

func (*DomainListRes) ProtoMessage

func (*DomainListRes) ProtoMessage()

func (*DomainListRes) ProtoReflect

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

func (*DomainListRes) Reset

func (x *DomainListRes) Reset()

func (*DomainListRes) String

func (x *DomainListRes) String() string

type DomainStatusRes

type DomainStatusRes struct {
	Created    *Timestamp          `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"`
	Updated    *Timestamp          `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"`
	Domain     string              `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	Tls        string              `protobuf:"bytes,4,opt,name=tls,proto3" json:"tls,omitempty"`
	AttachedTo []*DomainAttachedTo `protobuf:"bytes,5,rep,name=attachedTo,proto3" json:"attachedTo,omitempty"`
	// contains filtered or unexported fields
}

func (*DomainStatusRes) Descriptor deprecated

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

Deprecated: Use DomainStatusRes.ProtoReflect.Descriptor instead.

func (*DomainStatusRes) GetAttachedTo

func (x *DomainStatusRes) GetAttachedTo() []*DomainAttachedTo

func (*DomainStatusRes) GetCreated

func (x *DomainStatusRes) GetCreated() *Timestamp

func (*DomainStatusRes) GetDomain

func (x *DomainStatusRes) GetDomain() string

func (*DomainStatusRes) GetTls

func (x *DomainStatusRes) GetTls() string

func (*DomainStatusRes) GetUpdated

func (x *DomainStatusRes) GetUpdated() *Timestamp

func (*DomainStatusRes) ProtoMessage

func (*DomainStatusRes) ProtoMessage()

func (*DomainStatusRes) ProtoReflect

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

func (*DomainStatusRes) Reset

func (x *DomainStatusRes) Reset()

func (*DomainStatusRes) String

func (x *DomainStatusRes) String() string

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type GeneralVariable

type GeneralVariable struct {
	Name         string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value        string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	DefaultValue string   `protobuf:"bytes,3,opt,name=defaultValue,proto3" json:"defaultValue,omitempty"`
	IsRequired   bool     `protobuf:"varint,4,opt,name=isRequired,proto3" json:"isRequired,omitempty"`
	Updateable   bool     `protobuf:"varint,5,opt,name=updateable,proto3" json:"updateable,omitempty"`
	Type         string   `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Description  string   `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	Choices      []string `protobuf:"bytes,8,rep,name=choices,proto3" json:"choices,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneralVariable) Descriptor deprecated

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

Deprecated: Use GeneralVariable.ProtoReflect.Descriptor instead.

func (*GeneralVariable) GetChoices

func (x *GeneralVariable) GetChoices() []string

func (*GeneralVariable) GetDefaultValue

func (x *GeneralVariable) GetDefaultValue() string

func (*GeneralVariable) GetDescription

func (x *GeneralVariable) GetDescription() string

func (*GeneralVariable) GetIsRequired

func (x *GeneralVariable) GetIsRequired() bool

func (*GeneralVariable) GetName

func (x *GeneralVariable) GetName() string

func (*GeneralVariable) GetType

func (x *GeneralVariable) GetType() string

func (*GeneralVariable) GetUpdateable

func (x *GeneralVariable) GetUpdateable() bool

func (*GeneralVariable) GetValue

func (x *GeneralVariable) GetValue() string

func (*GeneralVariable) ProtoMessage

func (*GeneralVariable) ProtoMessage()

func (*GeneralVariable) ProtoReflect

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

func (*GeneralVariable) Reset

func (x *GeneralVariable) Reset()

func (*GeneralVariable) String

func (x *GeneralVariable) String() string

type Hit

type Hit struct {
	Path string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`       // path or domain of queries
	Hit  []uint64 `protobuf:"varint,2,rep,packed,name=hit,proto3" json:"hit,omitempty"` // QPS
	// contains filtered or unexported fields
}

func (*Hit) Descriptor deprecated

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

Deprecated: Use Hit.ProtoReflect.Descriptor instead.

func (*Hit) GetHit

func (x *Hit) GetHit() []uint64

func (*Hit) GetPath

func (x *Hit) GetPath() string

func (*Hit) ProtoMessage

func (*Hit) ProtoMessage()

func (*Hit) ProtoReflect

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

func (*Hit) Reset

func (x *Hit) Reset()

func (*Hit) String

func (x *Hit) String() string

type Identity

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

ID for select [service, application, image]

func (*Identity) Descriptor deprecated

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

Deprecated: Use Identity.ProtoReflect.Descriptor instead.

func (*Identity) GetName

func (x *Identity) GetName() string

func (*Identity) ProtoMessage

func (*Identity) ProtoMessage()

func (*Identity) ProtoReflect

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

func (*Identity) Reset

func (x *Identity) Reset()

func (*Identity) String

func (x *Identity) String() string

type ImgBuildReq

type ImgBuildReq struct {
	RepositoryTag  string `protobuf:"bytes,1,opt,name=repositoryTag,proto3" json:"repositoryTag,omitempty"`
	RepositoryName string `protobuf:"bytes,2,opt,name=repositoryName,proto3" json:"repositoryName,omitempty"`
	// contains filtered or unexported fields
}

func (*ImgBuildReq) Descriptor deprecated

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

Deprecated: Use ImgBuildReq.ProtoReflect.Descriptor instead.

func (*ImgBuildReq) GetRepositoryName

func (x *ImgBuildReq) GetRepositoryName() string

func (*ImgBuildReq) GetRepositoryTag

func (x *ImgBuildReq) GetRepositoryTag() string

func (*ImgBuildReq) ProtoMessage

func (*ImgBuildReq) ProtoMessage()

func (*ImgBuildReq) ProtoReflect

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

func (*ImgBuildReq) Reset

func (x *ImgBuildReq) Reset()

func (*ImgBuildReq) String

func (x *ImgBuildReq) String() string

type ImgListRes

type ImgListRes struct {
	Index int32           `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	Imgs  []*ImgStatusRes `protobuf:"bytes,2,rep,name=imgs,proto3" json:"imgs,omitempty"`
	// contains filtered or unexported fields
}

func (*ImgListRes) Descriptor deprecated

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

Deprecated: Use ImgListRes.ProtoReflect.Descriptor instead.

func (*ImgListRes) GetImgs

func (x *ImgListRes) GetImgs() []*ImgStatusRes

func (*ImgListRes) GetIndex

func (x *ImgListRes) GetIndex() int32

func (*ImgListRes) ProtoMessage

func (*ImgListRes) ProtoMessage()

func (*ImgListRes) ProtoReflect

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

func (*ImgListRes) Reset

func (x *ImgListRes) Reset()

func (*ImgListRes) String

func (x *ImgListRes) String() string

type ImgStatusRes

type ImgStatusRes struct {
	Created *Timestamp `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"`
	Updated *Timestamp `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"`
	Name    string     `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Tags    []string   `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*ImgStatusRes) Descriptor deprecated

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

Deprecated: Use ImgStatusRes.ProtoReflect.Descriptor instead.

func (*ImgStatusRes) GetCreated

func (x *ImgStatusRes) GetCreated() *Timestamp

func (*ImgStatusRes) GetName

func (x *ImgStatusRes) GetName() string

func (*ImgStatusRes) GetTags

func (x *ImgStatusRes) GetTags() []string

func (*ImgStatusRes) GetUpdated

func (x *ImgStatusRes) GetUpdated() *Timestamp

func (*ImgStatusRes) ProtoMessage

func (*ImgStatusRes) ProtoMessage()

func (*ImgStatusRes) ProtoReflect

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

func (*ImgStatusRes) Reset

func (x *ImgStatusRes) Reset()

func (*ImgStatusRes) String

func (x *ImgStatusRes) String() string

type Instance

type Instance struct {
	Created *Timestamp `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"`
	Name    string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ram     string     `protobuf:"bytes,3,opt,name=ram,proto3" json:"ram,omitempty"`
	Cpu     string     `protobuf:"bytes,4,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// contains filtered or unexported fields
}

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCpu

func (x *Instance) GetCpu() string

func (*Instance) GetCreated

func (x *Instance) GetCreated() *Timestamp

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetRam

func (x *Instance) GetRam() string

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type Latency

type Latency struct {
	Path    string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`               // path or domain of queries
	Latency []uint64 `protobuf:"varint,2,rep,packed,name=latency,proto3" json:"latency,omitempty"` // average latency in one-step of the time interval
	// contains filtered or unexported fields
}

func (*Latency) Descriptor deprecated

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

Deprecated: Use Latency.ProtoReflect.Descriptor instead.

func (*Latency) GetLatency

func (x *Latency) GetLatency() []uint64

func (*Latency) GetPath

func (x *Latency) GetPath() string

func (*Latency) ProtoMessage

func (*Latency) ProtoMessage()

func (*Latency) ProtoReflect

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

func (*Latency) Reset

func (x *Latency) Reset()

func (*Latency) String

func (x *Latency) String() string

type LatencyRes

type LatencyRes struct {
	Start     *Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`          // time of the beginning
	StepPerod uint64     `protobuf:"varint,2,opt,name=stepPerod,proto3" json:"stepPerod,omitempty"` // time interval
	Name      string     `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`            // application name
	Latencies []*Latency `protobuf:"bytes,4,rep,name=latencies,proto3" json:"latencies,omitempty"`
	// contains filtered or unexported fields
}

func (*LatencyRes) Descriptor deprecated

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

Deprecated: Use LatencyRes.ProtoReflect.Descriptor instead.

func (*LatencyRes) GetLatencies

func (x *LatencyRes) GetLatencies() []*Latency

func (*LatencyRes) GetName

func (x *LatencyRes) GetName() string

func (*LatencyRes) GetStart

func (x *LatencyRes) GetStart() *Timestamp

func (*LatencyRes) GetStepPerod

func (x *LatencyRes) GetStepPerod() uint64

func (*LatencyRes) ProtoMessage

func (*LatencyRes) ProtoMessage()

func (*LatencyRes) ProtoReflect

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

func (*LatencyRes) Reset

func (x *LatencyRes) Reset()

func (*LatencyRes) String

func (x *LatencyRes) String() string

type ListReq

type ListReq struct {
	Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	// contains filtered or unexported fields
}

func (*ListReq) Descriptor deprecated

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

Deprecated: Use ListReq.ProtoReflect.Descriptor instead.

func (*ListReq) GetIndex

func (x *ListReq) GetIndex() int32

func (*ListReq) ProtoMessage

func (*ListReq) ProtoMessage()

func (*ListReq) ProtoReflect

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

func (*ListReq) Reset

func (x *ListReq) Reset()

func (*ListReq) String

func (x *ListReq) String() string

type ListStatusRes

type ListStatusRes struct {
	Index int32    `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStatusRes) Descriptor deprecated

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

Deprecated: Use ListStatusRes.ProtoReflect.Descriptor instead.

func (*ListStatusRes) GetIndex

func (x *ListStatusRes) GetIndex() int32

func (*ListStatusRes) GetNames

func (x *ListStatusRes) GetNames() []string

func (*ListStatusRes) ProtoMessage

func (*ListStatusRes) ProtoMessage()

func (*ListStatusRes) ProtoReflect

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

func (*ListStatusRes) Reset

func (x *ListStatusRes) Reset()

func (*ListStatusRes) String

func (x *ListStatusRes) String() string

type LoginReq

type LoginReq struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginReq) Descriptor deprecated

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

Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.

func (*LoginReq) GetEmail

func (x *LoginReq) GetEmail() string

func (*LoginReq) GetPassword

func (x *LoginReq) GetPassword() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) ProtoReflect

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

func (*LoginReq) Reset

func (x *LoginReq) Reset()

func (*LoginReq) String

func (x *LoginReq) String() string

type OperatorRes

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

func (*OperatorRes) Descriptor deprecated

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

Deprecated: Use OperatorRes.ProtoReflect.Descriptor instead.

func (*OperatorRes) GetBody

func (x *OperatorRes) GetBody() string

func (*OperatorRes) ProtoMessage

func (*OperatorRes) ProtoMessage()

func (*OperatorRes) ProtoReflect

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

func (*OperatorRes) Reset

func (x *OperatorRes) Reset()

func (*OperatorRes) String

func (x *OperatorRes) String() string

type Plan

type Plan struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string            `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Price       uint64            `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
	Off         uint64            `protobuf:"varint,4,opt,name=off,proto3" json:"off,omitempty"`
	Extras      map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Plan) Descriptor deprecated

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

Deprecated: Use Plan.ProtoReflect.Descriptor instead.

func (*Plan) GetDescription

func (x *Plan) GetDescription() string

func (*Plan) GetExtras

func (x *Plan) GetExtras() map[string]string

func (*Plan) GetName

func (x *Plan) GetName() string

func (*Plan) GetOff

func (x *Plan) GetOff() uint64

func (*Plan) GetPrice

func (x *Plan) GetPrice() uint64

func (*Plan) ProtoMessage

func (*Plan) ProtoMessage()

func (*Plan) ProtoReflect

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

func (*Plan) Reset

func (x *Plan) Reset()

func (*Plan) String

func (x *Plan) String() string

type PortforwardRes

type PortforwardRes struct {
	Svc       string   `protobuf:"bytes,1,opt,name=svc,proto3" json:"svc,omitempty"`
	Ports     []string `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"`
	Token     []byte   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	ProxyHost string   `protobuf:"bytes,4,opt,name=proxyHost,proto3" json:"proxyHost,omitempty"`
	// contains filtered or unexported fields
}

func (*PortforwardRes) Descriptor deprecated

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

Deprecated: Use PortforwardRes.ProtoReflect.Descriptor instead.

func (*PortforwardRes) GetPorts

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

func (*PortforwardRes) GetProxyHost

func (x *PortforwardRes) GetProxyHost() string

func (*PortforwardRes) GetSvc

func (x *PortforwardRes) GetSvc() string

func (*PortforwardRes) GetToken

func (x *PortforwardRes) GetToken() []byte

func (*PortforwardRes) ProtoMessage

func (*PortforwardRes) ProtoMessage()

func (*PortforwardRes) ProtoReflect

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

func (*PortforwardRes) Reset

func (x *PortforwardRes) Reset()

func (*PortforwardRes) String

func (x *PortforwardRes) String() string

type PrdListRes

type PrdListRes struct {
	Index int32             `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	Rows  []*ProductListRow `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*PrdListRes) Descriptor deprecated

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

Deprecated: Use PrdListRes.ProtoReflect.Descriptor instead.

func (*PrdListRes) GetIndex

func (x *PrdListRes) GetIndex() int32

func (*PrdListRes) GetRows

func (x *PrdListRes) GetRows() []*ProductListRow

func (*PrdListRes) ProtoMessage

func (*PrdListRes) ProtoMessage()

func (*PrdListRes) ProtoReflect

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

func (*PrdListRes) Reset

func (x *PrdListRes) Reset()

func (*PrdListRes) String

func (x *PrdListRes) String() string

type ProductListRow

type ProductListRow struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductListRow) Descriptor deprecated

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

Deprecated: Use ProductListRow.ProtoReflect.Descriptor instead.

func (*ProductListRow) GetDescription

func (x *ProductListRow) GetDescription() string

func (*ProductListRow) GetName

func (x *ProductListRow) GetName() string

func (*ProductListRow) ProtoMessage

func (*ProductListRow) ProtoMessage()

func (*ProductListRow) ProtoReflect

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

func (*ProductListRow) Reset

func (x *ProductListRow) Reset()

func (*ProductListRow) String

func (x *ProductListRow) String() string

type ProductRes

type ProductRes struct {
	Name        string                      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                      `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Plan        []*Plan                     `protobuf:"bytes,3,rep,name=plan,proto3" json:"plan,omitempty"`
	Variables   map[string]*GeneralVariable `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProductRes) Descriptor deprecated

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

Deprecated: Use ProductRes.ProtoReflect.Descriptor instead.

func (*ProductRes) GetDescription

func (x *ProductRes) GetDescription() string

func (*ProductRes) GetName

func (x *ProductRes) GetName() string

func (*ProductRes) GetPlan

func (x *ProductRes) GetPlan() []*Plan

func (*ProductRes) GetVariables

func (x *ProductRes) GetVariables() map[string]*GeneralVariable

func (*ProductRes) ProtoMessage

func (*ProductRes) ProtoMessage()

func (*ProductRes) ProtoReflect

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

func (*ProductRes) Reset

func (x *ProductRes) Reset()

func (*ProductRes) String

func (x *ProductRes) String() string

type PunchedCard

type PunchedCard struct {
	Name    string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Oprator string            `protobuf:"bytes,2,opt,name=oprator,proto3" json:"oprator,omitempty"`
	Values  map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PunchedCard) Descriptor deprecated

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

Deprecated: Use PunchedCard.ProtoReflect.Descriptor instead.

func (*PunchedCard) GetName

func (x *PunchedCard) GetName() string

func (*PunchedCard) GetOprator

func (x *PunchedCard) GetOprator() string

func (*PunchedCard) GetValues

func (x *PunchedCard) GetValues() map[string]string

func (*PunchedCard) ProtoMessage

func (*PunchedCard) ProtoMessage()

func (*PunchedCard) ProtoReflect

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

func (*PunchedCard) Reset

func (x *PunchedCard) Reset()

func (*PunchedCard) String

func (x *PunchedCard) String() string

type ResourcesRes

type ResourcesRes struct {
	Start     *Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`          // time of the beginning
	StepPerod uint64     `protobuf:"varint,2,opt,name=stepPerod,proto3" json:"stepPerod,omitempty"` // time interval
	Name      string     `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Core      []uint64   `protobuf:"varint,4,rep,packed,name=core,proto3" json:"core,omitempty"`
	Ram       []uint64   `protobuf:"varint,5,rep,packed,name=ram,proto3" json:"ram,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourcesRes) Descriptor deprecated

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

Deprecated: Use ResourcesRes.ProtoReflect.Descriptor instead.

func (*ResourcesRes) GetCore

func (x *ResourcesRes) GetCore() []uint64

func (*ResourcesRes) GetName

func (x *ResourcesRes) GetName() string

func (*ResourcesRes) GetRam

func (x *ResourcesRes) GetRam() []uint64

func (*ResourcesRes) GetStart

func (x *ResourcesRes) GetStart() *Timestamp

func (*ResourcesRes) GetStepPerod

func (x *ResourcesRes) GetStepPerod() uint64

func (*ResourcesRes) ProtoMessage

func (*ResourcesRes) ProtoMessage()

func (*ResourcesRes) ProtoReflect

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

func (*ResourcesRes) Reset

func (x *ResourcesRes) Reset()

func (*ResourcesRes) String

func (x *ResourcesRes) String() string

type ServiceCondition

type ServiceCondition struct {
	Condition string     `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
	Reason    string     `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	Time      *Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceCondition) Descriptor deprecated

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

Deprecated: Use ServiceCondition.ProtoReflect.Descriptor instead.

func (*ServiceCondition) GetCondition

func (x *ServiceCondition) GetCondition() string

func (*ServiceCondition) GetReason

func (x *ServiceCondition) GetReason() string

func (*ServiceCondition) GetTime

func (x *ServiceCondition) GetTime() *Timestamp

func (*ServiceCondition) ProtoMessage

func (*ServiceCondition) ProtoMessage()

func (*ServiceCondition) ProtoReflect

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

func (*ServiceCondition) Reset

func (x *ServiceCondition) Reset()

func (*ServiceCondition) String

func (x *ServiceCondition) String() string

type ServiceRes

type ServiceRes struct {
	Updated *Timestamp `protobuf:"bytes,1,opt,name=updated,proto3" json:"updated,omitempty"`
	Name    string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	//Added in v2.1 patch
	ServiceRefrence string `protobuf:"bytes,3,opt,name=serviceRefrence,proto3" json:"serviceRefrence,omitempty"`
	Plan            string `protobuf:"bytes,4,opt,name=plan,proto3" json:"plan,omitempty"`
	//Latest condition
	Condition *ServiceCondition `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

For embedded response

func (*ServiceRes) Descriptor deprecated

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

Deprecated: Use ServiceRes.ProtoReflect.Descriptor instead.

func (*ServiceRes) GetCondition

func (x *ServiceRes) GetCondition() *ServiceCondition

func (*ServiceRes) GetName

func (x *ServiceRes) GetName() string

func (*ServiceRes) GetPlan

func (x *ServiceRes) GetPlan() string

func (*ServiceRes) GetServiceRefrence

func (x *ServiceRes) GetServiceRefrence() string

func (*ServiceRes) GetUpdated

func (x *ServiceRes) GetUpdated() *Timestamp

func (*ServiceRes) ProtoMessage

func (*ServiceRes) ProtoMessage()

func (*ServiceRes) ProtoReflect

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

func (*ServiceRes) Reset

func (x *ServiceRes) Reset()

func (*ServiceRes) String

func (x *ServiceRes) String() string

type ShellReq

type ShellReq struct {
	Name    string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

Execute commands inside an existing application

func (*ShellReq) Descriptor deprecated

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

Deprecated: Use ShellReq.ProtoReflect.Descriptor instead.

func (*ShellReq) GetCommand

func (x *ShellReq) GetCommand() []string

func (*ShellReq) GetName

func (x *ShellReq) GetName() string

func (*ShellReq) ProtoMessage

func (*ShellReq) ProtoMessage()

func (*ShellReq) ProtoReflect

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

func (*ShellReq) Reset

func (x *ShellReq) Reset()

func (*ShellReq) String

func (x *ShellReq) String() string

type SrvConfigSetReq

type SrvConfigSetReq struct {
	Name   string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Values map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

TODO reset Variable

func (*SrvConfigSetReq) Descriptor deprecated

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

Deprecated: Use SrvConfigSetReq.ProtoReflect.Descriptor instead.

func (*SrvConfigSetReq) GetName

func (x *SrvConfigSetReq) GetName() string

func (*SrvConfigSetReq) GetValues

func (x *SrvConfigSetReq) GetValues() map[string]string

func (*SrvConfigSetReq) ProtoMessage

func (*SrvConfigSetReq) ProtoMessage()

func (*SrvConfigSetReq) ProtoReflect

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

func (*SrvConfigSetReq) Reset

func (x *SrvConfigSetReq) Reset()

func (*SrvConfigSetReq) String

func (x *SrvConfigSetReq) String() string

type SrvCreateReq

type SrvCreateReq struct {
	ProductName string            `protobuf:"bytes,1,opt,name=productName,proto3" json:"productName,omitempty"`
	Name        string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Plan        string            `protobuf:"bytes,3,opt,name=plan,proto3" json:"plan,omitempty"`
	Values      map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SrvCreateReq) Descriptor deprecated

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

Deprecated: Use SrvCreateReq.ProtoReflect.Descriptor instead.

func (*SrvCreateReq) GetName

func (x *SrvCreateReq) GetName() string

func (*SrvCreateReq) GetPlan

func (x *SrvCreateReq) GetPlan() string

func (*SrvCreateReq) GetProductName

func (x *SrvCreateReq) GetProductName() string

func (*SrvCreateReq) GetValues

func (x *SrvCreateReq) GetValues() map[string]string

func (*SrvCreateReq) ProtoMessage

func (*SrvCreateReq) ProtoMessage()

func (*SrvCreateReq) ProtoReflect

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

func (*SrvCreateReq) Reset

func (x *SrvCreateReq) Reset()

func (*SrvCreateReq) String

func (x *SrvCreateReq) String() string

type SrvDomainAttachReq added in v1.2.0

type SrvDomainAttachReq struct {
	AttachIdentity *AttachIdentity `protobuf:"bytes,1,opt,name=attachIdentity,proto3" json:"attachIdentity,omitempty"`
	Endpoint       string          `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	//Added in v2.3 patch
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*SrvDomainAttachReq) Descriptor deprecated added in v1.2.0

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

Deprecated: Use SrvDomainAttachReq.ProtoReflect.Descriptor instead.

func (*SrvDomainAttachReq) GetAttachIdentity added in v1.2.0

func (x *SrvDomainAttachReq) GetAttachIdentity() *AttachIdentity

func (*SrvDomainAttachReq) GetEndpoint added in v1.2.0

func (x *SrvDomainAttachReq) GetEndpoint() string

func (*SrvDomainAttachReq) GetPath

func (x *SrvDomainAttachReq) GetPath() string

func (*SrvDomainAttachReq) ProtoMessage added in v1.2.0

func (*SrvDomainAttachReq) ProtoMessage()

func (*SrvDomainAttachReq) ProtoReflect

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

func (*SrvDomainAttachReq) Reset added in v1.2.0

func (x *SrvDomainAttachReq) Reset()

func (*SrvDomainAttachReq) String added in v1.2.0

func (x *SrvDomainAttachReq) String() string

type SrvListRes

type SrvListRes struct {
	Index    int32         `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	Services []*ServiceRes `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*SrvListRes) Descriptor deprecated

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

Deprecated: Use SrvListRes.ProtoReflect.Descriptor instead.

func (*SrvListRes) GetIndex

func (x *SrvListRes) GetIndex() int32

func (*SrvListRes) GetServices

func (x *SrvListRes) GetServices() []*ServiceRes

func (*SrvListRes) ProtoMessage

func (*SrvListRes) ProtoMessage()

func (*SrvListRes) ProtoReflect

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

func (*SrvListRes) Reset

func (x *SrvListRes) Reset()

func (*SrvListRes) String

func (x *SrvListRes) String() string

type SrvStatusRes

type SrvStatusRes struct {
	Created      *Timestamp            `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"`
	Updated      *Timestamp            `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"`
	Conditions   []*ServiceCondition   `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"`
	Name         string                `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Plan         string                `protobuf:"bytes,5,opt,name=plan,proto3" json:"plan,omitempty"`
	VcapServices string                `protobuf:"bytes,6,opt,name=vcapServices,proto3" json:"vcapServices,omitempty"`
	Domains      []*AttachedDomainInfo `protobuf:"bytes,7,rep,name=domains,proto3" json:"domains,omitempty"`
	Endpoints    []string              `protobuf:"bytes,8,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	//Added in v2.1 patch
	ServiceRefrence string `protobuf:"bytes,9,opt,name=serviceRefrence,proto3" json:"serviceRefrence,omitempty"`
	//Name(s) of the peer(s) that this service instance bounded to
	BoundTo   []string                    `protobuf:"bytes,10,rep,name=boundTo,proto3" json:"boundTo,omitempty"`
	Variables map[string]*GeneralVariable `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SrvStatusRes) Descriptor deprecated

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

Deprecated: Use SrvStatusRes.ProtoReflect.Descriptor instead.

func (*SrvStatusRes) GetBoundTo

func (x *SrvStatusRes) GetBoundTo() []string

func (*SrvStatusRes) GetConditions

func (x *SrvStatusRes) GetConditions() []*ServiceCondition

func (*SrvStatusRes) GetCreated

func (x *SrvStatusRes) GetCreated() *Timestamp

func (*SrvStatusRes) GetDomains added in v1.2.0

func (x *SrvStatusRes) GetDomains() []*AttachedDomainInfo

func (*SrvStatusRes) GetEndpoints added in v1.2.1

func (x *SrvStatusRes) GetEndpoints() []string

func (*SrvStatusRes) GetName

func (x *SrvStatusRes) GetName() string

func (*SrvStatusRes) GetPlan

func (x *SrvStatusRes) GetPlan() string

func (*SrvStatusRes) GetServiceRefrence

func (x *SrvStatusRes) GetServiceRefrence() string

func (*SrvStatusRes) GetUpdated

func (x *SrvStatusRes) GetUpdated() *Timestamp

func (*SrvStatusRes) GetVariables

func (x *SrvStatusRes) GetVariables() map[string]*GeneralVariable

func (*SrvStatusRes) GetVcapServices

func (x *SrvStatusRes) GetVcapServices() string

func (*SrvStatusRes) ProtoMessage

func (*SrvStatusRes) ProtoMessage()

func (*SrvStatusRes) ProtoReflect

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

func (*SrvStatusRes) Reset

func (x *SrvStatusRes) Reset()

func (*SrvStatusRes) String

func (x *SrvStatusRes) String() string

type TailRequest

type TailRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	//The length of time (like 5s, 2m, or 3h, higher than zero), default to 0s.
	Since string `protobuf:"bytes,2,opt,name=since,proto3" json:"since,omitempty"`
	Tail  uint64 `protobuf:"varint,3,opt,name=tail,proto3" json:"tail,omitempty"`
	// contains filtered or unexported fields
}

name for select [application, image]

func (*TailRequest) Descriptor deprecated

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

Deprecated: Use TailRequest.ProtoReflect.Descriptor instead.

func (*TailRequest) GetName

func (x *TailRequest) GetName() string

func (*TailRequest) GetSince

func (x *TailRequest) GetSince() string

func (*TailRequest) GetTail

func (x *TailRequest) GetTail() uint64

func (*TailRequest) ProtoMessage

func (*TailRequest) ProtoMessage()

func (*TailRequest) ProtoReflect

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

func (*TailRequest) Reset

func (x *TailRequest) Reset()

func (*TailRequest) String

func (x *TailRequest) String() string

type Timestamp

type Timestamp struct {

	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
	// 9999-12-31T23:59:59Z inclusive.
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// Non-negative fractions of a second at nanosecond resolution. Negative
	// second values with fractions must still have non-negative nanos values
	// that count forward in time. Must be from 0 to 999,999,999
	// inclusive.
	Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
	// contains filtered or unexported fields
}

func (*Timestamp) Descriptor deprecated

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

Deprecated: Use Timestamp.ProtoReflect.Descriptor instead.

func (*Timestamp) GetNanos

func (x *Timestamp) GetNanos() int32

func (*Timestamp) GetSeconds

func (x *Timestamp) GetSeconds() int64

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) ProtoReflect

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

func (*Timestamp) Reset

func (x *Timestamp) Reset()

func (*Timestamp) String

func (x *Timestamp) String() string

type TrafficRes

type TrafficRes struct {
	Start     *Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`          // time of the beginning
	StepPerod uint64     `protobuf:"varint,2,opt,name=stepPerod,proto3" json:"stepPerod,omitempty"` // time interval
	Name      string     `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`            // application name
	Hits      []*Hit     `protobuf:"bytes,4,rep,name=hits,proto3" json:"hits,omitempty"`
	// contains filtered or unexported fields
}

func (*TrafficRes) Descriptor deprecated

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

Deprecated: Use TrafficRes.ProtoReflect.Descriptor instead.

func (*TrafficRes) GetHits

func (x *TrafficRes) GetHits() []*Hit

func (*TrafficRes) GetName

func (x *TrafficRes) GetName() string

func (*TrafficRes) GetStart

func (x *TrafficRes) GetStart() *Timestamp

func (*TrafficRes) GetStepPerod

func (x *TrafficRes) GetStepPerod() uint64

func (*TrafficRes) ProtoMessage

func (*TrafficRes) ProtoMessage()

func (*TrafficRes) ProtoReflect

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

func (*TrafficRes) Reset

func (x *TrafficRes) Reset()

func (*TrafficRes) String

func (x *TrafficRes) String() string

type UnimplementedYBServer

type UnimplementedYBServer struct {
}

UnimplementedYBServer can be embedded to have forward compatible implementations.

func (*UnimplementedYBServer) AccountInfo

func (*UnimplementedYBServer) AccountUpdate

func (*UnimplementedYBServer) AccountUpdate(context.Context, *Account) (*Account, error)

func (*UnimplementedYBServer) ActivityList

func (*UnimplementedYBServer) AppAddEnvironmentVariable

func (*UnimplementedYBServer) AppAttachDomain

func (*UnimplementedYBServer) AppAttachVolume

func (*UnimplementedYBServer) AppChangePlan

func (*UnimplementedYBServer) AppConfigSet

func (*UnimplementedYBServer) AppConfigUnset

func (*UnimplementedYBServer) AppCreate

func (*UnimplementedYBServer) AppDestroy

func (*UnimplementedYBServer) AppDetachDomain

func (*UnimplementedYBServer) AppDetachVolume

func (*UnimplementedYBServer) AppFTPPortforward

func (*UnimplementedYBServer) AppInfo

func (*UnimplementedYBServer) AppList

func (*UnimplementedYBServer) AppLog

func (*UnimplementedYBServer) AppLogTail

func (*UnimplementedYBServer) AppRemoveEnvironmentVariable

func (*UnimplementedYBServer) AppRemoveEnvironmentVariable(context.Context, *UnsetReq) (*AppStatusRes, error)

func (*UnimplementedYBServer) AppReset

func (*UnimplementedYBServer) AppShell

func (*UnimplementedYBServer) AppSrvBind

func (*UnimplementedYBServer) AppSrvUnBind

func (*UnimplementedYBServer) AppStart

func (*UnimplementedYBServer) AppStop

func (*UnimplementedYBServer) DomainCreate

func (*UnimplementedYBServer) DomainDelete

func (*UnimplementedYBServer) DomainInfo

func (*UnimplementedYBServer) DomainList

func (*UnimplementedYBServer) DomainToggleTLS

func (*UnimplementedYBServer) ImgBuild

func (*UnimplementedYBServer) ImgBuildLog

func (*UnimplementedYBServer) ImgBuildLogTail

func (*UnimplementedYBServer) ImgBuildLogTail(context.Context, *TailRequest) (*Chunk, error)

func (*UnimplementedYBServer) ImgDelete

func (*UnimplementedYBServer) ImgInfo

func (*UnimplementedYBServer) ImgList

func (*UnimplementedYBServer) Login

func (*UnimplementedYBServer) Logout

func (*UnimplementedYBServer) MonitoringLatency

func (*UnimplementedYBServer) MonitoringLatency(context.Context, *Identity) (*LatencyRes, error)

func (*UnimplementedYBServer) MonitoringQuota

func (*UnimplementedYBServer) MonitoringQuota(context.Context, *Empty) (*ResourcesRes, error)

func (*UnimplementedYBServer) MonitoringResource

func (*UnimplementedYBServer) MonitoringResource(context.Context, *Identity) (*ResourcesRes, error)

func (*UnimplementedYBServer) MonitoringTraffic

func (*UnimplementedYBServer) MonitoringTraffic(context.Context, *Identity) (*TrafficRes, error)

func (*UnimplementedYBServer) PrdInfo

func (*UnimplementedYBServer) PrdList

func (*UnimplementedYBServer) SrvAttachDomain

func (*UnimplementedYBServer) SrvConfigSet

func (*UnimplementedYBServer) SrvConfigUnset

func (*UnimplementedYBServer) SrvCreate

func (*UnimplementedYBServer) SrvDestroy

func (*UnimplementedYBServer) SrvDetachDomain

func (*UnimplementedYBServer) SrvInfo

func (*UnimplementedYBServer) SrvList

func (*UnimplementedYBServer) SrvOperator

func (*UnimplementedYBServer) SrvPortforward

func (*UnimplementedYBServer) SrvStart

func (*UnimplementedYBServer) SrvStop

func (*UnimplementedYBServer) VolumeCreate

func (*UnimplementedYBServer) VolumeDelete

func (*UnimplementedYBServer) VolumeFTPPortforward

func (*UnimplementedYBServer) VolumeFTPPortforward(context.Context, *Identity) (*PortforwardRes, error)

func (*UnimplementedYBServer) VolumeInfo

func (*UnimplementedYBServer) VolumeList

func (*UnimplementedYBServer) VolumeSpecList

type UnsetReq

type UnsetReq struct {
	Name      string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Variables []string `protobuf:"bytes,2,rep,name=variables,proto3" json:"variables,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsetReq) Descriptor deprecated

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

Deprecated: Use UnsetReq.ProtoReflect.Descriptor instead.

func (*UnsetReq) GetName

func (x *UnsetReq) GetName() string

func (*UnsetReq) GetVariables

func (x *UnsetReq) GetVariables() []string

func (*UnsetReq) ProtoMessage

func (*UnsetReq) ProtoMessage()

func (*UnsetReq) ProtoReflect

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

func (*UnsetReq) Reset

func (x *UnsetReq) Reset()

func (*UnsetReq) String

func (x *UnsetReq) String() string

type VolumeCreateReq

type VolumeCreateReq struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Spec string `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeCreateReq) Descriptor deprecated

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

Deprecated: Use VolumeCreateReq.ProtoReflect.Descriptor instead.

func (*VolumeCreateReq) GetName

func (x *VolumeCreateReq) GetName() string

func (*VolumeCreateReq) GetSpec

func (x *VolumeCreateReq) GetSpec() string

func (*VolumeCreateReq) ProtoMessage

func (*VolumeCreateReq) ProtoMessage()

func (*VolumeCreateReq) ProtoReflect

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

func (*VolumeCreateReq) Reset

func (x *VolumeCreateReq) Reset()

func (*VolumeCreateReq) String

func (x *VolumeCreateReq) String() string

type VolumeListRes

type VolumeListRes struct {
	Index   int32              `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	Volumes []*VolumeStatusRes `protobuf:"bytes,2,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeListRes) Descriptor deprecated

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

Deprecated: Use VolumeListRes.ProtoReflect.Descriptor instead.

func (*VolumeListRes) GetIndex

func (x *VolumeListRes) GetIndex() int32

func (*VolumeListRes) GetVolumes

func (x *VolumeListRes) GetVolumes() []*VolumeStatusRes

func (*VolumeListRes) ProtoMessage

func (*VolumeListRes) ProtoMessage()

func (*VolumeListRes) ProtoReflect

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

func (*VolumeListRes) Reset

func (x *VolumeListRes) Reset()

func (*VolumeListRes) String

func (x *VolumeListRes) String() string

type VolumeMount

type VolumeMount struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Attachment string `protobuf:"bytes,2,opt,name=attachment,proto3" json:"attachment,omitempty"`
	MountPath  string `protobuf:"bytes,3,opt,name=mountPath,proto3" json:"mountPath,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeMount) Descriptor deprecated

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

Deprecated: Use VolumeMount.ProtoReflect.Descriptor instead.

func (*VolumeMount) GetAttachment

func (x *VolumeMount) GetAttachment() string

func (*VolumeMount) GetMountPath

func (x *VolumeMount) GetMountPath() string

func (*VolumeMount) GetName

func (x *VolumeMount) GetName() string

func (*VolumeMount) ProtoMessage

func (*VolumeMount) ProtoMessage()

func (*VolumeMount) ProtoReflect

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

func (*VolumeMount) Reset

func (x *VolumeMount) Reset()

func (*VolumeMount) String

func (x *VolumeMount) String() string

type VolumeSpec

type VolumeSpec struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Class string `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`
	Size  string `protobuf:"bytes,3,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeSpec) Descriptor deprecated

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

Deprecated: Use VolumeSpec.ProtoReflect.Descriptor instead.

func (*VolumeSpec) GetClass

func (x *VolumeSpec) GetClass() string

func (*VolumeSpec) GetName

func (x *VolumeSpec) GetName() string

func (*VolumeSpec) GetSize

func (x *VolumeSpec) GetSize() string

func (*VolumeSpec) ProtoMessage

func (*VolumeSpec) ProtoMessage()

func (*VolumeSpec) ProtoReflect

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

func (*VolumeSpec) Reset

func (x *VolumeSpec) Reset()

func (*VolumeSpec) String

func (x *VolumeSpec) String() string

type VolumeSpecListRes

type VolumeSpecListRes struct {
	Index       int32         `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // [default = 0]
	VolumeSpecs []*VolumeSpec `protobuf:"bytes,2,rep,name=volumeSpecs,proto3" json:"volumeSpecs,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeSpecListRes) Descriptor deprecated

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

Deprecated: Use VolumeSpecListRes.ProtoReflect.Descriptor instead.

func (*VolumeSpecListRes) GetIndex

func (x *VolumeSpecListRes) GetIndex() int32

func (*VolumeSpecListRes) GetVolumeSpecs

func (x *VolumeSpecListRes) GetVolumeSpecs() []*VolumeSpec

func (*VolumeSpecListRes) ProtoMessage

func (*VolumeSpecListRes) ProtoMessage()

func (*VolumeSpecListRes) ProtoReflect

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

func (*VolumeSpecListRes) Reset

func (x *VolumeSpecListRes) Reset()

func (*VolumeSpecListRes) String

func (x *VolumeSpecListRes) String() string

type VolumeStatusRes

type VolumeStatusRes struct {
	Created *Timestamp     `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"`
	Updated *Timestamp     `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"`
	Name    string         `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Spec    *VolumeSpec    `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	Mounts  []*VolumeMount `protobuf:"bytes,5,rep,name=mounts,proto3" json:"mounts,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeStatusRes) Descriptor deprecated

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

Deprecated: Use VolumeStatusRes.ProtoReflect.Descriptor instead.

func (*VolumeStatusRes) GetCreated

func (x *VolumeStatusRes) GetCreated() *Timestamp

func (*VolumeStatusRes) GetMounts

func (x *VolumeStatusRes) GetMounts() []*VolumeMount

func (*VolumeStatusRes) GetName

func (x *VolumeStatusRes) GetName() string

func (*VolumeStatusRes) GetSpec

func (x *VolumeStatusRes) GetSpec() *VolumeSpec

func (*VolumeStatusRes) GetUpdated

func (x *VolumeStatusRes) GetUpdated() *Timestamp

func (*VolumeStatusRes) ProtoMessage

func (*VolumeStatusRes) ProtoMessage()

func (*VolumeStatusRes) ProtoReflect

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

func (*VolumeStatusRes) Reset

func (x *VolumeStatusRes) Reset()

func (*VolumeStatusRes) String

func (x *VolumeStatusRes) String() string

type YBClient

type YBClient interface {
	// Authentication
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*AuthenticationRes, error)
	Logout(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	AccountInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Account, error)
	AccountUpdate(ctx context.Context, in *Account, opts ...grpc.CallOption) (*Account, error)
	// Monitoring
	MonitoringQuota(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ResourcesRes, error)
	MonitoringResource(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*ResourcesRes, error)
	MonitoringTraffic(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*TrafficRes, error)
	MonitoringLatency(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*LatencyRes, error)
	ActivityList(ctx context.Context, in *ActivityReq, opts ...grpc.CallOption) (*ActivityListRes, error)
	// Domain
	DomainList(ctx context.Context, in *AppListReq, opts ...grpc.CallOption) (*DomainListRes, error)
	DomainInfo(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*DomainStatusRes, error)
	DomainToggleTLS(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*DomainStatusRes, error)
	DomainCreate(ctx context.Context, in *DomainCreateReq, opts ...grpc.CallOption) (*DomainStatusRes, error)
	DomainDelete(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*Empty, error)
	// Volume
	VolumeSpecList(ctx context.Context, in *ListReq, opts ...grpc.CallOption) (*VolumeSpecListRes, error)
	VolumeList(ctx context.Context, in *AppListReq, opts ...grpc.CallOption) (*VolumeListRes, error)
	VolumeInfo(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*VolumeStatusRes, error)
	VolumeCreate(ctx context.Context, in *VolumeCreateReq, opts ...grpc.CallOption) (*VolumeStatusRes, error)
	VolumeDelete(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*Empty, error)
	//Deprecated
	VolumeFTPPortforward(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*PortforwardRes, error)
	// Image
	ImgList(ctx context.Context, in *AppListReq, opts ...grpc.CallOption) (*ImgListRes, error)
	ImgInfo(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*ImgStatusRes, error)
	ImgDelete(ctx context.Context, in *ImgBuildReq, opts ...grpc.CallOption) (*Empty, error)
	ImgBuild(ctx context.Context, in *ImgBuildReq, opts ...grpc.CallOption) (*Empty, error)
	ImgBuildLog(ctx context.Context, in *Identity, opts ...grpc.CallOption) (YB_ImgBuildLogClient, error)
	ImgBuildLogTail(ctx context.Context, in *TailRequest, opts ...grpc.CallOption) (*Chunk, error)
	// Product
	PrdList(ctx context.Context, in *ListReq, opts ...grpc.CallOption) (*PrdListRes, error)
	PrdInfo(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*ProductRes, error)
	// Service
	SrvList(ctx context.Context, in *AppListReq, opts ...grpc.CallOption) (*SrvListRes, error)
	SrvInfo(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*SrvStatusRes, error)
	SrvCreate(ctx context.Context, in *SrvCreateReq, opts ...grpc.CallOption) (*SrvStatusRes, error)
	SrvDestroy(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*Empty, error)
	SrvStart(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*SrvStatusRes, error)
	SrvStop(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*SrvStatusRes, error)
	SrvAttachDomain(ctx context.Context, in *SrvDomainAttachReq, opts ...grpc.CallOption) (*SrvStatusRes, error)
	SrvDetachDomain(ctx context.Context, in *SrvDomainAttachReq, opts ...grpc.CallOption) (*SrvStatusRes, error)
	SrvOperator(ctx context.Context, in *PunchedCard, opts ...grpc.CallOption) (*OperatorRes, error)
	SrvPortforward(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*PortforwardRes, error)
	//Added in v2.1 patch
	SrvConfigSet(ctx context.Context, in *SrvConfigSetReq, opts ...grpc.CallOption) (*SrvStatusRes, error)
	SrvConfigUnset(ctx context.Context, in *UnsetReq, opts ...grpc.CallOption) (*SrvStatusRes, error)
	// Application
	AppList(ctx context.Context, in *ListReq, opts ...grpc.CallOption) (*SrvListRes, error)
	AppInfo(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppCreate(ctx context.Context, in *AppCreateReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppDestroy(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*Empty, error)
	AppChangePlan(ctx context.Context, in *ChangePlanReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppLog(ctx context.Context, in *Identity, opts ...grpc.CallOption) (YB_AppLogClient, error)
	AppLogTail(ctx context.Context, in *TailRequest, opts ...grpc.CallOption) (*Chunk, error)
	AppConfigSet(ctx context.Context, in *SrvConfigSetReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppConfigUnset(ctx context.Context, in *UnsetReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppAddEnvironmentVariable(ctx context.Context, in *AppAddEnvironmentVariableReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppRemoveEnvironmentVariable(ctx context.Context, in *UnsetReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppReset(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppStop(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppStart(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*AppStatusRes, error)
	//TTY disable for now
	AppShell(ctx context.Context, in *ShellReq, opts ...grpc.CallOption) (*Chunk, error)
	AppAttachVolume(ctx context.Context, in *VolumeMount, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppDetachVolume(ctx context.Context, in *AttachIdentity, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppAttachDomain(ctx context.Context, in *SrvDomainAttachReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppDetachDomain(ctx context.Context, in *SrvDomainAttachReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppSrvBind(ctx context.Context, in *AppSrvBindReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppSrvUnBind(ctx context.Context, in *AppSrvBindReq, opts ...grpc.CallOption) (*AppStatusRes, error)
	AppFTPPortforward(ctx context.Context, in *Identity, opts ...grpc.CallOption) (*PortforwardRes, error)
}

YBClient is the client API for YB service.

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

func NewYBClient

func NewYBClient(cc grpc.ClientConnInterface) YBClient

type YBServer

type YBServer interface {
	// Authentication
	Login(context.Context, *LoginReq) (*AuthenticationRes, error)
	Logout(context.Context, *Empty) (*Empty, error)
	AccountInfo(context.Context, *Empty) (*Account, error)
	AccountUpdate(context.Context, *Account) (*Account, error)
	// Monitoring
	MonitoringQuota(context.Context, *Empty) (*ResourcesRes, error)
	MonitoringResource(context.Context, *Identity) (*ResourcesRes, error)
	MonitoringTraffic(context.Context, *Identity) (*TrafficRes, error)
	MonitoringLatency(context.Context, *Identity) (*LatencyRes, error)
	ActivityList(context.Context, *ActivityReq) (*ActivityListRes, error)
	// Domain
	DomainList(context.Context, *AppListReq) (*DomainListRes, error)
	DomainInfo(context.Context, *Identity) (*DomainStatusRes, error)
	DomainToggleTLS(context.Context, *Identity) (*DomainStatusRes, error)
	DomainCreate(context.Context, *DomainCreateReq) (*DomainStatusRes, error)
	DomainDelete(context.Context, *Identity) (*Empty, error)
	// Volume
	VolumeSpecList(context.Context, *ListReq) (*VolumeSpecListRes, error)
	VolumeList(context.Context, *AppListReq) (*VolumeListRes, error)
	VolumeInfo(context.Context, *Identity) (*VolumeStatusRes, error)
	VolumeCreate(context.Context, *VolumeCreateReq) (*VolumeStatusRes, error)
	VolumeDelete(context.Context, *Identity) (*Empty, error)
	//Deprecated
	VolumeFTPPortforward(context.Context, *Identity) (*PortforwardRes, error)
	// Image
	ImgList(context.Context, *AppListReq) (*ImgListRes, error)
	ImgInfo(context.Context, *Identity) (*ImgStatusRes, error)
	ImgDelete(context.Context, *ImgBuildReq) (*Empty, error)
	ImgBuild(context.Context, *ImgBuildReq) (*Empty, error)
	ImgBuildLog(*Identity, YB_ImgBuildLogServer) error
	ImgBuildLogTail(context.Context, *TailRequest) (*Chunk, error)
	// Product
	PrdList(context.Context, *ListReq) (*PrdListRes, error)
	PrdInfo(context.Context, *Identity) (*ProductRes, error)
	// Service
	SrvList(context.Context, *AppListReq) (*SrvListRes, error)
	SrvInfo(context.Context, *Identity) (*SrvStatusRes, error)
	SrvCreate(context.Context, *SrvCreateReq) (*SrvStatusRes, error)
	SrvDestroy(context.Context, *Identity) (*Empty, error)
	SrvStart(context.Context, *Identity) (*SrvStatusRes, error)
	SrvStop(context.Context, *Identity) (*SrvStatusRes, error)
	SrvAttachDomain(context.Context, *SrvDomainAttachReq) (*SrvStatusRes, error)
	SrvDetachDomain(context.Context, *SrvDomainAttachReq) (*SrvStatusRes, error)
	SrvOperator(context.Context, *PunchedCard) (*OperatorRes, error)
	SrvPortforward(context.Context, *Identity) (*PortforwardRes, error)
	//Added in v2.1 patch
	SrvConfigSet(context.Context, *SrvConfigSetReq) (*SrvStatusRes, error)
	SrvConfigUnset(context.Context, *UnsetReq) (*SrvStatusRes, error)
	// Application
	AppList(context.Context, *ListReq) (*SrvListRes, error)
	AppInfo(context.Context, *Identity) (*AppStatusRes, error)
	AppCreate(context.Context, *AppCreateReq) (*AppStatusRes, error)
	AppDestroy(context.Context, *Identity) (*Empty, error)
	AppChangePlan(context.Context, *ChangePlanReq) (*AppStatusRes, error)
	AppLog(*Identity, YB_AppLogServer) error
	AppLogTail(context.Context, *TailRequest) (*Chunk, error)
	AppConfigSet(context.Context, *SrvConfigSetReq) (*AppStatusRes, error)
	AppConfigUnset(context.Context, *UnsetReq) (*AppStatusRes, error)
	AppAddEnvironmentVariable(context.Context, *AppAddEnvironmentVariableReq) (*AppStatusRes, error)
	AppRemoveEnvironmentVariable(context.Context, *UnsetReq) (*AppStatusRes, error)
	AppReset(context.Context, *Identity) (*AppStatusRes, error)
	AppStop(context.Context, *Identity) (*AppStatusRes, error)
	AppStart(context.Context, *Identity) (*AppStatusRes, error)
	//TTY disable for now
	AppShell(context.Context, *ShellReq) (*Chunk, error)
	AppAttachVolume(context.Context, *VolumeMount) (*AppStatusRes, error)
	AppDetachVolume(context.Context, *AttachIdentity) (*AppStatusRes, error)
	AppAttachDomain(context.Context, *SrvDomainAttachReq) (*AppStatusRes, error)
	AppDetachDomain(context.Context, *SrvDomainAttachReq) (*AppStatusRes, error)
	AppSrvBind(context.Context, *AppSrvBindReq) (*AppStatusRes, error)
	AppSrvUnBind(context.Context, *AppSrvBindReq) (*AppStatusRes, error)
	AppFTPPortforward(context.Context, *Identity) (*PortforwardRes, error)
}

YBServer is the server API for YB service.

type YB_AppLogClient

type YB_AppLogClient interface {
	Recv() (*Chunk, error)
	grpc.ClientStream
}

type YB_AppLogServer

type YB_AppLogServer interface {
	Send(*Chunk) error
	grpc.ServerStream
}

type YB_ImgBuildLogClient

type YB_ImgBuildLogClient interface {
	Recv() (*Chunk, error)
	grpc.ClientStream
}

type YB_ImgBuildLogServer

type YB_ImgBuildLogServer interface {
	Send(*Chunk) error
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

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