Documentation ¶
Overview ¶
Package yb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func NewPerRPC(getToken func() string, getClientVersion func() string, ...) credentials.PerRPCCredentials
- func RegisterYBHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterYBHandlerClient(ctx context.Context, mux *runtime.ServeMux, client YBClient) error
- func RegisterYBHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterYBHandlerServer(ctx context.Context, mux *runtime.ServeMux, server YBServer) error
- func RegisterYBServer(s *grpc.Server, srv YBServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAddress() string
- func (x *Account) GetCode() string
- func (x *Account) GetCredits() string
- func (x *Account) GetEmail() string
- func (x *Account) GetMobi() string
- func (x *Account) GetPlan() string
- func (x *Account) GetUsername() string
- func (x *Account) GetVariables() map[string]*GeneralVariable
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)deprecated
- func (x *Activity) GetAttachment() string
- func (x *Activity) GetDescription() string
- func (x *Activity) GetEmail() string
- func (x *Activity) GetName() string
- func (x *Activity) GetTag() ActivityTag
- func (x *Activity) GetTime() *Timestamp
- func (x *Activity) GetType() string
- func (*Activity) ProtoMessage()
- func (x *Activity) ProtoReflect() protoreflect.Message
- func (x *Activity) Reset()
- func (x *Activity) String() string
- type ActivityListRes
- func (*ActivityListRes) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityListRes) GetActivities() []*Activity
- func (x *ActivityListRes) GetIndex() int32
- func (*ActivityListRes) ProtoMessage()
- func (x *ActivityListRes) ProtoReflect() protoreflect.Message
- func (x *ActivityListRes) Reset()
- func (x *ActivityListRes) String() string
- type ActivityReq
- func (*ActivityReq) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityReq) GetIndex() int32
- func (x *ActivityReq) GetName() string
- func (x *ActivityReq) GetTag() ActivityTag
- func (*ActivityReq) ProtoMessage()
- func (x *ActivityReq) ProtoReflect() protoreflect.Message
- func (x *ActivityReq) Reset()
- func (x *ActivityReq) String() string
- type ActivityTag
- func (ActivityTag) Descriptor() protoreflect.EnumDescriptor
- func (x ActivityTag) Enum() *ActivityTag
- func (ActivityTag) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActivityTag) Number() protoreflect.EnumNumber
- func (x ActivityTag) String() string
- func (ActivityTag) Type() protoreflect.EnumType
- type AppAddEnvironmentVariableReq
- func (*AppAddEnvironmentVariableReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppAddEnvironmentVariableReq) GetName() string
- func (x *AppAddEnvironmentVariableReq) GetVariables() map[string]string
- func (*AppAddEnvironmentVariableReq) ProtoMessage()
- func (x *AppAddEnvironmentVariableReq) ProtoReflect() protoreflect.Message
- func (x *AppAddEnvironmentVariableReq) Reset()
- func (x *AppAddEnvironmentVariableReq) String() string
- type AppCreateReq
- func (*AppCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppCreateReq) GetName() string
- func (x *AppCreateReq) GetPlan() string
- func (x *AppCreateReq) GetValues() map[string]string
- func (*AppCreateReq) ProtoMessage()
- func (x *AppCreateReq) ProtoReflect() protoreflect.Message
- func (x *AppCreateReq) Reset()
- func (x *AppCreateReq) String() string
- type AppListReq
- type AppSrvBindReq
- func (*AppSrvBindReq) Descriptor() ([]byte, []int)deprecated
- func (x *AppSrvBindReq) GetName() string
- func (x *AppSrvBindReq) GetService() string
- func (*AppSrvBindReq) ProtoMessage()
- func (x *AppSrvBindReq) ProtoReflect() protoreflect.Message
- func (x *AppSrvBindReq) Reset()
- func (x *AppSrvBindReq) String() string
- type AppStatusRes
- func (*AppStatusRes) Descriptor() ([]byte, []int)deprecated
- func (x *AppStatusRes) GetConditions() []*ServiceCondition
- func (x *AppStatusRes) GetCreated() *Timestamp
- func (x *AppStatusRes) GetEnvironmentVariables() map[string]string
- func (x *AppStatusRes) GetInstances() []*Instance
- func (x *AppStatusRes) GetName() string
- func (x *AppStatusRes) GetPlan() string
- func (x *AppStatusRes) GetRoutes() []string
- func (x *AppStatusRes) GetUpdated() *Timestamp
- func (x *AppStatusRes) GetVariables() map[string]*GeneralVariable
- func (x *AppStatusRes) GetVcapServices() string
- func (*AppStatusRes) ProtoMessage()
- func (x *AppStatusRes) ProtoReflect() protoreflect.Message
- func (x *AppStatusRes) Reset()
- func (x *AppStatusRes) String() string
- type AttachIdentity
- func (*AttachIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *AttachIdentity) GetAttachment() string
- func (x *AttachIdentity) GetName() string
- func (*AttachIdentity) ProtoMessage()
- func (x *AttachIdentity) ProtoReflect() protoreflect.Message
- func (x *AttachIdentity) Reset()
- func (x *AttachIdentity) String() string
- type AttachedDomainInfo
- func (*AttachedDomainInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AttachedDomainInfo) GetDomain() string
- func (x *AttachedDomainInfo) GetEndpoint() string
- func (x *AttachedDomainInfo) GetEndpointType() string
- func (x *AttachedDomainInfo) GetPath() string
- func (*AttachedDomainInfo) ProtoMessage()
- func (x *AttachedDomainInfo) ProtoReflect() protoreflect.Message
- func (x *AttachedDomainInfo) Reset()
- func (x *AttachedDomainInfo) String() string
- type AuthenticationRes
- type ChangePlanReq
- func (*ChangePlanReq) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePlanReq) GetName() string
- func (x *ChangePlanReq) GetPlan() string
- func (*ChangePlanReq) ProtoMessage()
- func (x *ChangePlanReq) ProtoReflect() protoreflect.Message
- func (x *ChangePlanReq) Reset()
- func (x *ChangePlanReq) String() string
- type Chunk
- type Client
- type DomainAttachedTo
- func (*DomainAttachedTo) Descriptor() ([]byte, []int)deprecated
- func (x *DomainAttachedTo) GetEndpoint() string
- func (x *DomainAttachedTo) GetName() string
- func (x *DomainAttachedTo) GetPath() string
- func (*DomainAttachedTo) ProtoMessage()
- func (x *DomainAttachedTo) ProtoReflect() protoreflect.Message
- func (x *DomainAttachedTo) Reset()
- func (x *DomainAttachedTo) String() string
- type DomainCreateReq
- func (*DomainCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DomainCreateReq) GetDomain() string
- func (x *DomainCreateReq) GetTls() bool
- func (*DomainCreateReq) ProtoMessage()
- func (x *DomainCreateReq) ProtoReflect() protoreflect.Message
- func (x *DomainCreateReq) Reset()
- func (x *DomainCreateReq) String() string
- type DomainListRes
- func (*DomainListRes) Descriptor() ([]byte, []int)deprecated
- func (x *DomainListRes) GetDomains() []*DomainStatusRes
- func (x *DomainListRes) GetIndex() int32
- func (*DomainListRes) ProtoMessage()
- func (x *DomainListRes) ProtoReflect() protoreflect.Message
- func (x *DomainListRes) Reset()
- func (x *DomainListRes) String() string
- type DomainStatusRes
- func (*DomainStatusRes) Descriptor() ([]byte, []int)deprecated
- func (x *DomainStatusRes) GetAttachedTo() []*DomainAttachedTo
- func (x *DomainStatusRes) GetCreated() *Timestamp
- func (x *DomainStatusRes) GetDomain() string
- func (x *DomainStatusRes) GetTls() string
- func (x *DomainStatusRes) GetUpdated() *Timestamp
- func (*DomainStatusRes) ProtoMessage()
- func (x *DomainStatusRes) ProtoReflect() protoreflect.Message
- func (x *DomainStatusRes) Reset()
- func (x *DomainStatusRes) String() string
- type Empty
- type GeneralVariable
- func (*GeneralVariable) Descriptor() ([]byte, []int)deprecated
- func (x *GeneralVariable) GetChoices() []string
- func (x *GeneralVariable) GetDefaultValue() string
- func (x *GeneralVariable) GetDescription() string
- func (x *GeneralVariable) GetIsRequired() bool
- func (x *GeneralVariable) GetName() string
- func (x *GeneralVariable) GetType() string
- func (x *GeneralVariable) GetUpdateable() bool
- func (x *GeneralVariable) GetValue() string
- func (*GeneralVariable) ProtoMessage()
- func (x *GeneralVariable) ProtoReflect() protoreflect.Message
- func (x *GeneralVariable) Reset()
- func (x *GeneralVariable) String() string
- type Hit
- type Identity
- type ImgBuildReq
- func (*ImgBuildReq) Descriptor() ([]byte, []int)deprecated
- func (x *ImgBuildReq) GetRepositoryName() string
- func (x *ImgBuildReq) GetRepositoryTag() string
- func (*ImgBuildReq) ProtoMessage()
- func (x *ImgBuildReq) ProtoReflect() protoreflect.Message
- func (x *ImgBuildReq) Reset()
- func (x *ImgBuildReq) String() string
- type ImgListRes
- type ImgStatusRes
- func (*ImgStatusRes) Descriptor() ([]byte, []int)deprecated
- func (x *ImgStatusRes) GetCreated() *Timestamp
- func (x *ImgStatusRes) GetName() string
- func (x *ImgStatusRes) GetTags() []string
- func (x *ImgStatusRes) GetUpdated() *Timestamp
- func (*ImgStatusRes) ProtoMessage()
- func (x *ImgStatusRes) ProtoReflect() protoreflect.Message
- func (x *ImgStatusRes) Reset()
- func (x *ImgStatusRes) String() string
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Instance) GetCpu() string
- func (x *Instance) GetCreated() *Timestamp
- func (x *Instance) GetName() string
- func (x *Instance) GetRam() string
- func (*Instance) ProtoMessage()
- func (x *Instance) ProtoReflect() protoreflect.Message
- func (x *Instance) Reset()
- func (x *Instance) String() string
- type Latency
- type LatencyRes
- func (*LatencyRes) Descriptor() ([]byte, []int)deprecated
- func (x *LatencyRes) GetLatencies() []*Latency
- func (x *LatencyRes) GetName() string
- func (x *LatencyRes) GetStart() *Timestamp
- func (x *LatencyRes) GetStepPerod() uint64
- func (*LatencyRes) ProtoMessage()
- func (x *LatencyRes) ProtoReflect() protoreflect.Message
- func (x *LatencyRes) Reset()
- func (x *LatencyRes) String() string
- type ListReq
- type ListStatusRes
- func (*ListStatusRes) Descriptor() ([]byte, []int)deprecated
- func (x *ListStatusRes) GetIndex() int32
- func (x *ListStatusRes) GetNames() []string
- func (*ListStatusRes) ProtoMessage()
- func (x *ListStatusRes) ProtoReflect() protoreflect.Message
- func (x *ListStatusRes) Reset()
- func (x *ListStatusRes) String() string
- type LoginReq
- type OperatorRes
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)deprecated
- func (x *Plan) GetDescription() string
- func (x *Plan) GetExtras() map[string]string
- func (x *Plan) GetName() string
- func (x *Plan) GetOff() uint64
- func (x *Plan) GetPrice() uint64
- func (*Plan) ProtoMessage()
- func (x *Plan) ProtoReflect() protoreflect.Message
- func (x *Plan) Reset()
- func (x *Plan) String() string
- type PortforwardRes
- func (*PortforwardRes) Descriptor() ([]byte, []int)deprecated
- func (x *PortforwardRes) GetPorts() []string
- func (x *PortforwardRes) GetProxyHost() string
- func (x *PortforwardRes) GetSvc() string
- func (x *PortforwardRes) GetToken() []byte
- func (*PortforwardRes) ProtoMessage()
- func (x *PortforwardRes) ProtoReflect() protoreflect.Message
- func (x *PortforwardRes) Reset()
- func (x *PortforwardRes) String() string
- type PrdListRes
- func (*PrdListRes) Descriptor() ([]byte, []int)deprecated
- func (x *PrdListRes) GetIndex() int32
- func (x *PrdListRes) GetRows() []*ProductListRow
- func (*PrdListRes) ProtoMessage()
- func (x *PrdListRes) ProtoReflect() protoreflect.Message
- func (x *PrdListRes) Reset()
- func (x *PrdListRes) String() string
- type ProductListRow
- func (*ProductListRow) Descriptor() ([]byte, []int)deprecated
- func (x *ProductListRow) GetDescription() string
- func (x *ProductListRow) GetName() string
- func (*ProductListRow) ProtoMessage()
- func (x *ProductListRow) ProtoReflect() protoreflect.Message
- func (x *ProductListRow) Reset()
- func (x *ProductListRow) String() string
- type ProductRes
- func (*ProductRes) Descriptor() ([]byte, []int)deprecated
- func (x *ProductRes) GetDescription() string
- func (x *ProductRes) GetName() string
- func (x *ProductRes) GetPlan() []*Plan
- func (x *ProductRes) GetVariables() map[string]*GeneralVariable
- func (*ProductRes) ProtoMessage()
- func (x *ProductRes) ProtoReflect() protoreflect.Message
- func (x *ProductRes) Reset()
- func (x *ProductRes) String() string
- type PunchedCard
- func (*PunchedCard) Descriptor() ([]byte, []int)deprecated
- func (x *PunchedCard) GetName() string
- func (x *PunchedCard) GetOprator() string
- func (x *PunchedCard) GetValues() map[string]string
- func (*PunchedCard) ProtoMessage()
- func (x *PunchedCard) ProtoReflect() protoreflect.Message
- func (x *PunchedCard) Reset()
- func (x *PunchedCard) String() string
- type ResourcesRes
- func (*ResourcesRes) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesRes) GetCore() []uint64
- func (x *ResourcesRes) GetName() string
- func (x *ResourcesRes) GetRam() []uint64
- func (x *ResourcesRes) GetStart() *Timestamp
- func (x *ResourcesRes) GetStepPerod() uint64
- func (*ResourcesRes) ProtoMessage()
- func (x *ResourcesRes) ProtoReflect() protoreflect.Message
- func (x *ResourcesRes) Reset()
- func (x *ResourcesRes) String() string
- type ServiceCondition
- func (*ServiceCondition) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceCondition) GetCondition() string
- func (x *ServiceCondition) GetReason() string
- func (x *ServiceCondition) GetTime() *Timestamp
- func (*ServiceCondition) ProtoMessage()
- func (x *ServiceCondition) ProtoReflect() protoreflect.Message
- func (x *ServiceCondition) Reset()
- func (x *ServiceCondition) String() string
- type ServiceRes
- func (*ServiceRes) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceRes) GetCondition() *ServiceCondition
- func (x *ServiceRes) GetName() string
- func (x *ServiceRes) GetPlan() string
- func (x *ServiceRes) GetServiceRefrence() string
- func (x *ServiceRes) GetUpdated() *Timestamp
- func (*ServiceRes) ProtoMessage()
- func (x *ServiceRes) ProtoReflect() protoreflect.Message
- func (x *ServiceRes) Reset()
- func (x *ServiceRes) String() string
- type ShellReq
- type SrvConfigSetReq
- func (*SrvConfigSetReq) Descriptor() ([]byte, []int)deprecated
- func (x *SrvConfigSetReq) GetName() string
- func (x *SrvConfigSetReq) GetValues() map[string]string
- func (*SrvConfigSetReq) ProtoMessage()
- func (x *SrvConfigSetReq) ProtoReflect() protoreflect.Message
- func (x *SrvConfigSetReq) Reset()
- func (x *SrvConfigSetReq) String() string
- type SrvCreateReq
- func (*SrvCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *SrvCreateReq) GetName() string
- func (x *SrvCreateReq) GetPlan() string
- func (x *SrvCreateReq) GetProductName() string
- func (x *SrvCreateReq) GetValues() map[string]string
- func (*SrvCreateReq) ProtoMessage()
- func (x *SrvCreateReq) ProtoReflect() protoreflect.Message
- func (x *SrvCreateReq) Reset()
- func (x *SrvCreateReq) String() string
- type SrvDomainAttachReq
- func (*SrvDomainAttachReq) Descriptor() ([]byte, []int)deprecated
- func (x *SrvDomainAttachReq) GetAttachIdentity() *AttachIdentity
- func (x *SrvDomainAttachReq) GetEndpoint() string
- func (x *SrvDomainAttachReq) GetPath() string
- func (*SrvDomainAttachReq) ProtoMessage()
- func (x *SrvDomainAttachReq) ProtoReflect() protoreflect.Message
- func (x *SrvDomainAttachReq) Reset()
- func (x *SrvDomainAttachReq) String() string
- type SrvListRes
- func (*SrvListRes) Descriptor() ([]byte, []int)deprecated
- func (x *SrvListRes) GetIndex() int32
- func (x *SrvListRes) GetServices() []*ServiceRes
- func (*SrvListRes) ProtoMessage()
- func (x *SrvListRes) ProtoReflect() protoreflect.Message
- func (x *SrvListRes) Reset()
- func (x *SrvListRes) String() string
- type SrvStatusRes
- func (*SrvStatusRes) Descriptor() ([]byte, []int)deprecated
- func (x *SrvStatusRes) GetBoundTo() []string
- func (x *SrvStatusRes) GetConditions() []*ServiceCondition
- func (x *SrvStatusRes) GetCreated() *Timestamp
- func (x *SrvStatusRes) GetDomains() []*AttachedDomainInfo
- func (x *SrvStatusRes) GetEndpoints() []string
- func (x *SrvStatusRes) GetName() string
- func (x *SrvStatusRes) GetPlan() string
- func (x *SrvStatusRes) GetServiceRefrence() string
- func (x *SrvStatusRes) GetUpdated() *Timestamp
- func (x *SrvStatusRes) GetVariables() map[string]*GeneralVariable
- func (x *SrvStatusRes) GetVcapServices() string
- func (*SrvStatusRes) ProtoMessage()
- func (x *SrvStatusRes) ProtoReflect() protoreflect.Message
- func (x *SrvStatusRes) Reset()
- func (x *SrvStatusRes) String() string
- type TailRequest
- func (*TailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TailRequest) GetName() string
- func (x *TailRequest) GetSince() string
- func (x *TailRequest) GetTail() uint64
- func (*TailRequest) ProtoMessage()
- func (x *TailRequest) ProtoReflect() protoreflect.Message
- func (x *TailRequest) Reset()
- func (x *TailRequest) String() string
- type Timestamp
- type TrafficRes
- func (*TrafficRes) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficRes) GetHits() []*Hit
- func (x *TrafficRes) GetName() string
- func (x *TrafficRes) GetStart() *Timestamp
- func (x *TrafficRes) GetStepPerod() uint64
- func (*TrafficRes) ProtoMessage()
- func (x *TrafficRes) ProtoReflect() protoreflect.Message
- func (x *TrafficRes) Reset()
- func (x *TrafficRes) String() string
- type UnimplementedYBServer
- func (*UnimplementedYBServer) AccountInfo(context.Context, *Empty) (*Account, error)
- func (*UnimplementedYBServer) AccountUpdate(context.Context, *Account) (*Account, error)
- func (*UnimplementedYBServer) ActivityList(context.Context, *ActivityReq) (*ActivityListRes, error)
- func (*UnimplementedYBServer) AppAddEnvironmentVariable(context.Context, *AppAddEnvironmentVariableReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppAttachDomain(context.Context, *SrvDomainAttachReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppAttachVolume(context.Context, *VolumeMount) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppChangePlan(context.Context, *ChangePlanReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppConfigSet(context.Context, *SrvConfigSetReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppConfigUnset(context.Context, *UnsetReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppCreate(context.Context, *AppCreateReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppDestroy(context.Context, *Identity) (*Empty, error)
- func (*UnimplementedYBServer) AppDetachDomain(context.Context, *SrvDomainAttachReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppDetachVolume(context.Context, *AttachIdentity) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppFTPPortforward(context.Context, *Identity) (*PortforwardRes, error)
- func (*UnimplementedYBServer) AppInfo(context.Context, *Identity) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppList(context.Context, *ListReq) (*SrvListRes, error)
- func (*UnimplementedYBServer) AppLog(*Identity, YB_AppLogServer) error
- func (*UnimplementedYBServer) AppLogTail(context.Context, *TailRequest) (*Chunk, error)
- func (*UnimplementedYBServer) AppRemoveEnvironmentVariable(context.Context, *UnsetReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppReset(context.Context, *Identity) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppShell(context.Context, *ShellReq) (*Chunk, error)
- func (*UnimplementedYBServer) AppSrvBind(context.Context, *AppSrvBindReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppSrvUnBind(context.Context, *AppSrvBindReq) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppStart(context.Context, *Identity) (*AppStatusRes, error)
- func (*UnimplementedYBServer) AppStop(context.Context, *Identity) (*AppStatusRes, error)
- func (*UnimplementedYBServer) DomainCreate(context.Context, *DomainCreateReq) (*DomainStatusRes, error)
- func (*UnimplementedYBServer) DomainDelete(context.Context, *Identity) (*Empty, error)
- func (*UnimplementedYBServer) DomainInfo(context.Context, *Identity) (*DomainStatusRes, error)
- func (*UnimplementedYBServer) DomainList(context.Context, *AppListReq) (*DomainListRes, error)
- func (*UnimplementedYBServer) DomainToggleTLS(context.Context, *Identity) (*DomainStatusRes, error)
- func (*UnimplementedYBServer) ImgBuild(context.Context, *ImgBuildReq) (*Empty, error)
- func (*UnimplementedYBServer) ImgBuildLog(*Identity, YB_ImgBuildLogServer) error
- func (*UnimplementedYBServer) ImgBuildLogTail(context.Context, *TailRequest) (*Chunk, error)
- func (*UnimplementedYBServer) ImgDelete(context.Context, *ImgBuildReq) (*Empty, error)
- func (*UnimplementedYBServer) ImgInfo(context.Context, *Identity) (*ImgStatusRes, error)
- func (*UnimplementedYBServer) ImgList(context.Context, *AppListReq) (*ImgListRes, error)
- func (*UnimplementedYBServer) Login(context.Context, *LoginReq) (*AuthenticationRes, error)
- func (*UnimplementedYBServer) Logout(context.Context, *Empty) (*Empty, error)
- func (*UnimplementedYBServer) MonitoringLatency(context.Context, *Identity) (*LatencyRes, error)
- func (*UnimplementedYBServer) MonitoringQuota(context.Context, *Empty) (*ResourcesRes, error)
- func (*UnimplementedYBServer) MonitoringResource(context.Context, *Identity) (*ResourcesRes, error)
- func (*UnimplementedYBServer) MonitoringTraffic(context.Context, *Identity) (*TrafficRes, error)
- func (*UnimplementedYBServer) PrdInfo(context.Context, *Identity) (*ProductRes, error)
- func (*UnimplementedYBServer) PrdList(context.Context, *ListReq) (*PrdListRes, error)
- func (*UnimplementedYBServer) SrvAttachDomain(context.Context, *SrvDomainAttachReq) (*SrvStatusRes, error)
- func (*UnimplementedYBServer) SrvConfigSet(context.Context, *SrvConfigSetReq) (*SrvStatusRes, error)
- func (*UnimplementedYBServer) SrvConfigUnset(context.Context, *UnsetReq) (*SrvStatusRes, error)
- func (*UnimplementedYBServer) SrvCreate(context.Context, *SrvCreateReq) (*SrvStatusRes, error)
- func (*UnimplementedYBServer) SrvDestroy(context.Context, *Identity) (*Empty, error)
- func (*UnimplementedYBServer) SrvDetachDomain(context.Context, *SrvDomainAttachReq) (*SrvStatusRes, error)
- func (*UnimplementedYBServer) SrvInfo(context.Context, *Identity) (*SrvStatusRes, error)
- func (*UnimplementedYBServer) SrvList(context.Context, *AppListReq) (*SrvListRes, error)
- func (*UnimplementedYBServer) SrvOperator(context.Context, *PunchedCard) (*OperatorRes, error)
- func (*UnimplementedYBServer) SrvPortforward(context.Context, *Identity) (*PortforwardRes, error)
- func (*UnimplementedYBServer) SrvStart(context.Context, *Identity) (*SrvStatusRes, error)
- func (*UnimplementedYBServer) SrvStop(context.Context, *Identity) (*SrvStatusRes, error)
- func (*UnimplementedYBServer) VolumeCreate(context.Context, *VolumeCreateReq) (*VolumeStatusRes, error)
- func (*UnimplementedYBServer) VolumeDelete(context.Context, *Identity) (*Empty, error)
- func (*UnimplementedYBServer) VolumeFTPPortforward(context.Context, *Identity) (*PortforwardRes, error)
- func (*UnimplementedYBServer) VolumeInfo(context.Context, *Identity) (*VolumeStatusRes, error)
- func (*UnimplementedYBServer) VolumeList(context.Context, *AppListReq) (*VolumeListRes, error)
- func (*UnimplementedYBServer) VolumeSpecList(context.Context, *ListReq) (*VolumeSpecListRes, error)
- type UnsetReq
- type VolumeCreateReq
- func (*VolumeCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeCreateReq) GetName() string
- func (x *VolumeCreateReq) GetSpec() string
- func (*VolumeCreateReq) ProtoMessage()
- func (x *VolumeCreateReq) ProtoReflect() protoreflect.Message
- func (x *VolumeCreateReq) Reset()
- func (x *VolumeCreateReq) String() string
- type VolumeListRes
- func (*VolumeListRes) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeListRes) GetIndex() int32
- func (x *VolumeListRes) GetVolumes() []*VolumeStatusRes
- func (*VolumeListRes) ProtoMessage()
- func (x *VolumeListRes) ProtoReflect() protoreflect.Message
- func (x *VolumeListRes) Reset()
- func (x *VolumeListRes) String() string
- type VolumeMount
- func (*VolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeMount) GetAttachment() string
- func (x *VolumeMount) GetMountPath() string
- func (x *VolumeMount) GetName() string
- func (*VolumeMount) ProtoMessage()
- func (x *VolumeMount) ProtoReflect() protoreflect.Message
- func (x *VolumeMount) Reset()
- func (x *VolumeMount) String() string
- type VolumeSpec
- func (*VolumeSpec) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSpec) GetClass() string
- func (x *VolumeSpec) GetName() string
- func (x *VolumeSpec) GetSize() string
- func (*VolumeSpec) ProtoMessage()
- func (x *VolumeSpec) ProtoReflect() protoreflect.Message
- func (x *VolumeSpec) Reset()
- func (x *VolumeSpec) String() string
- type VolumeSpecListRes
- func (*VolumeSpecListRes) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeSpecListRes) GetIndex() int32
- func (x *VolumeSpecListRes) GetVolumeSpecs() []*VolumeSpec
- func (*VolumeSpecListRes) ProtoMessage()
- func (x *VolumeSpecListRes) ProtoReflect() protoreflect.Message
- func (x *VolumeSpecListRes) Reset()
- func (x *VolumeSpecListRes) String() string
- type VolumeStatusRes
- func (*VolumeStatusRes) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeStatusRes) GetCreated() *Timestamp
- func (x *VolumeStatusRes) GetMounts() []*VolumeMount
- func (x *VolumeStatusRes) GetName() string
- func (x *VolumeStatusRes) GetSpec() *VolumeSpec
- func (x *VolumeStatusRes) GetUpdated() *Timestamp
- func (*VolumeStatusRes) ProtoMessage()
- func (x *VolumeStatusRes) ProtoReflect() protoreflect.Message
- func (x *VolumeStatusRes) Reset()
- func (x *VolumeStatusRes) String() string
- type YBClient
- type YBServer
- type YB_AppLogClient
- type YB_AppLogServer
- type YB_ImgBuildLogClient
- type YB_ImgBuildLogServer
Constants ¶
const KEY_CLIENT_VERSION = "x-yb-client-version"
const KEY_TOKEN = "x-yb-token"
Variables ¶
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.
var File_YB_proto protoreflect.FileDescriptor
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 ¶
RegisterYBHandler registers the http handlers for service YB to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterYBHandlerClient ¶
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 ¶
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 ¶
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) GetAddress ¶
func (*Account) GetCredits ¶
func (*Account) GetUsername ¶
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
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) GetAttachment ¶
func (*Activity) GetDescription ¶
func (*Activity) GetTag ¶
func (x *Activity) GetTag() ActivityTag
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
func (*Activity) ProtoReflect ¶
func (x *Activity) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (ActivityTag) Type() protoreflect.EnumType
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 (x *AppAddEnvironmentVariableReq) ProtoReflect() protoreflect.Message
func (*AppAddEnvironmentVariableReq) Reset ¶
func (x *AppAddEnvironmentVariableReq) Reset()
func (*AppAddEnvironmentVariableReq) String ¶
func (x *AppAddEnvironmentVariableReq) String() 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) ProtoMessage ¶
func (*Chunk) ProtoMessage()
func (*Chunk) ProtoReflect ¶
func (x *Chunk) ProtoReflect() protoreflect.Message
type Client ¶
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) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Hit) ProtoMessage()
func (*Hit) ProtoReflect ¶
func (x *Hit) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Identity) ProtoMessage()
func (*Identity) ProtoReflect ¶
func (x *Identity) ProtoReflect() protoreflect.Message
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) GetCreated ¶
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶
func (x *Instance) ProtoReflect() protoreflect.Message
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) GetLatency ¶
func (*Latency) ProtoMessage ¶
func (*Latency) ProtoMessage()
func (*Latency) ProtoReflect ¶
func (x *Latency) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*ListReq) ProtoMessage()
func (*ListReq) ProtoReflect ¶
func (x *ListReq) ProtoReflect() protoreflect.Message
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) GetPassword ¶
func (*LoginReq) ProtoMessage ¶
func (*LoginReq) ProtoMessage()
func (*LoginReq) ProtoReflect ¶
func (x *LoginReq) ProtoReflect() protoreflect.Message
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) GetDescription ¶
func (*Plan) ProtoMessage ¶
func (*Plan) ProtoMessage()
func (*Plan) ProtoReflect ¶
func (x *Plan) ProtoReflect() protoreflect.Message
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) GetCommand ¶
func (*ShellReq) ProtoMessage ¶
func (*ShellReq) ProtoMessage()
func (*ShellReq) ProtoReflect ¶
func (x *ShellReq) ProtoReflect() protoreflect.Message
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) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
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) ActivityList ¶
func (*UnimplementedYBServer) ActivityList(context.Context, *ActivityReq) (*ActivityListRes, error)
func (*UnimplementedYBServer) AppAddEnvironmentVariable ¶
func (*UnimplementedYBServer) AppAddEnvironmentVariable(context.Context, *AppAddEnvironmentVariableReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppAttachDomain ¶
func (*UnimplementedYBServer) AppAttachDomain(context.Context, *SrvDomainAttachReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppAttachVolume ¶
func (*UnimplementedYBServer) AppAttachVolume(context.Context, *VolumeMount) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppChangePlan ¶
func (*UnimplementedYBServer) AppChangePlan(context.Context, *ChangePlanReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppConfigSet ¶
func (*UnimplementedYBServer) AppConfigSet(context.Context, *SrvConfigSetReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppConfigUnset ¶
func (*UnimplementedYBServer) AppConfigUnset(context.Context, *UnsetReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppCreate ¶
func (*UnimplementedYBServer) AppCreate(context.Context, *AppCreateReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppDestroy ¶
func (*UnimplementedYBServer) AppDetachDomain ¶
func (*UnimplementedYBServer) AppDetachDomain(context.Context, *SrvDomainAttachReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppDetachVolume ¶
func (*UnimplementedYBServer) AppDetachVolume(context.Context, *AttachIdentity) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppFTPPortforward ¶
func (*UnimplementedYBServer) AppFTPPortforward(context.Context, *Identity) (*PortforwardRes, error)
func (*UnimplementedYBServer) AppInfo ¶
func (*UnimplementedYBServer) AppInfo(context.Context, *Identity) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppList ¶
func (*UnimplementedYBServer) AppList(context.Context, *ListReq) (*SrvListRes, error)
func (*UnimplementedYBServer) AppLog ¶
func (*UnimplementedYBServer) AppLog(*Identity, YB_AppLogServer) error
func (*UnimplementedYBServer) AppLogTail ¶
func (*UnimplementedYBServer) AppLogTail(context.Context, *TailRequest) (*Chunk, error)
func (*UnimplementedYBServer) AppRemoveEnvironmentVariable ¶
func (*UnimplementedYBServer) AppRemoveEnvironmentVariable(context.Context, *UnsetReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppReset ¶
func (*UnimplementedYBServer) AppReset(context.Context, *Identity) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppSrvBind ¶
func (*UnimplementedYBServer) AppSrvBind(context.Context, *AppSrvBindReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppSrvUnBind ¶
func (*UnimplementedYBServer) AppSrvUnBind(context.Context, *AppSrvBindReq) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppStart ¶
func (*UnimplementedYBServer) AppStart(context.Context, *Identity) (*AppStatusRes, error)
func (*UnimplementedYBServer) AppStop ¶
func (*UnimplementedYBServer) AppStop(context.Context, *Identity) (*AppStatusRes, error)
func (*UnimplementedYBServer) DomainCreate ¶
func (*UnimplementedYBServer) DomainCreate(context.Context, *DomainCreateReq) (*DomainStatusRes, error)
func (*UnimplementedYBServer) DomainDelete ¶
func (*UnimplementedYBServer) DomainInfo ¶
func (*UnimplementedYBServer) DomainInfo(context.Context, *Identity) (*DomainStatusRes, error)
func (*UnimplementedYBServer) DomainList ¶
func (*UnimplementedYBServer) DomainList(context.Context, *AppListReq) (*DomainListRes, error)
func (*UnimplementedYBServer) DomainToggleTLS ¶
func (*UnimplementedYBServer) DomainToggleTLS(context.Context, *Identity) (*DomainStatusRes, error)
func (*UnimplementedYBServer) ImgBuild ¶
func (*UnimplementedYBServer) ImgBuild(context.Context, *ImgBuildReq) (*Empty, error)
func (*UnimplementedYBServer) ImgBuildLog ¶
func (*UnimplementedYBServer) ImgBuildLog(*Identity, YB_ImgBuildLogServer) error
func (*UnimplementedYBServer) ImgBuildLogTail ¶
func (*UnimplementedYBServer) ImgBuildLogTail(context.Context, *TailRequest) (*Chunk, error)
func (*UnimplementedYBServer) ImgDelete ¶
func (*UnimplementedYBServer) ImgDelete(context.Context, *ImgBuildReq) (*Empty, error)
func (*UnimplementedYBServer) ImgInfo ¶
func (*UnimplementedYBServer) ImgInfo(context.Context, *Identity) (*ImgStatusRes, error)
func (*UnimplementedYBServer) ImgList ¶
func (*UnimplementedYBServer) ImgList(context.Context, *AppListReq) (*ImgListRes, error)
func (*UnimplementedYBServer) Login ¶
func (*UnimplementedYBServer) Login(context.Context, *LoginReq) (*AuthenticationRes, error)
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) PrdInfo(context.Context, *Identity) (*ProductRes, error)
func (*UnimplementedYBServer) PrdList ¶
func (*UnimplementedYBServer) PrdList(context.Context, *ListReq) (*PrdListRes, error)
func (*UnimplementedYBServer) SrvAttachDomain ¶
func (*UnimplementedYBServer) SrvAttachDomain(context.Context, *SrvDomainAttachReq) (*SrvStatusRes, error)
func (*UnimplementedYBServer) SrvConfigSet ¶
func (*UnimplementedYBServer) SrvConfigSet(context.Context, *SrvConfigSetReq) (*SrvStatusRes, error)
func (*UnimplementedYBServer) SrvConfigUnset ¶
func (*UnimplementedYBServer) SrvConfigUnset(context.Context, *UnsetReq) (*SrvStatusRes, error)
func (*UnimplementedYBServer) SrvCreate ¶
func (*UnimplementedYBServer) SrvCreate(context.Context, *SrvCreateReq) (*SrvStatusRes, error)
func (*UnimplementedYBServer) SrvDestroy ¶
func (*UnimplementedYBServer) SrvDetachDomain ¶
func (*UnimplementedYBServer) SrvDetachDomain(context.Context, *SrvDomainAttachReq) (*SrvStatusRes, error)
func (*UnimplementedYBServer) SrvInfo ¶
func (*UnimplementedYBServer) SrvInfo(context.Context, *Identity) (*SrvStatusRes, error)
func (*UnimplementedYBServer) SrvList ¶
func (*UnimplementedYBServer) SrvList(context.Context, *AppListReq) (*SrvListRes, error)
func (*UnimplementedYBServer) SrvOperator ¶
func (*UnimplementedYBServer) SrvOperator(context.Context, *PunchedCard) (*OperatorRes, error)
func (*UnimplementedYBServer) SrvPortforward ¶
func (*UnimplementedYBServer) SrvPortforward(context.Context, *Identity) (*PortforwardRes, error)
func (*UnimplementedYBServer) SrvStart ¶
func (*UnimplementedYBServer) SrvStart(context.Context, *Identity) (*SrvStatusRes, error)
func (*UnimplementedYBServer) SrvStop ¶
func (*UnimplementedYBServer) SrvStop(context.Context, *Identity) (*SrvStatusRes, error)
func (*UnimplementedYBServer) VolumeCreate ¶
func (*UnimplementedYBServer) VolumeCreate(context.Context, *VolumeCreateReq) (*VolumeStatusRes, error)
func (*UnimplementedYBServer) VolumeDelete ¶
func (*UnimplementedYBServer) VolumeFTPPortforward ¶
func (*UnimplementedYBServer) VolumeFTPPortforward(context.Context, *Identity) (*PortforwardRes, error)
func (*UnimplementedYBServer) VolumeInfo ¶
func (*UnimplementedYBServer) VolumeInfo(context.Context, *Identity) (*VolumeStatusRes, error)
func (*UnimplementedYBServer) VolumeList ¶
func (*UnimplementedYBServer) VolumeList(context.Context, *AppListReq) (*VolumeListRes, error)
func (*UnimplementedYBServer) VolumeSpecList ¶
func (*UnimplementedYBServer) VolumeSpecList(context.Context, *ListReq) (*VolumeSpecListRes, error)
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) GetVariables ¶
func (*UnsetReq) ProtoMessage ¶
func (*UnsetReq) ProtoMessage()
func (*UnsetReq) ProtoReflect ¶
func (x *UnsetReq) ProtoReflect() protoreflect.Message
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 }