app

package
v0.0.0-...-3544c3d Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package app is a generated protocol buffer package.

It is generated from these files:

pkg/protobuf/app/app.proto

It has these top-level messages:

CreateRequest
ListResponse
LogsRequest
LogsResponse
InfoRequest
InfoResponse
SetEnvRequest
UnsetEnvRequest
SetSecretRequest
SetAutoscaleRequest
SetReplicasRequest
DeleteRequest
DeletePodsRequest
ChangeTeamRequest
SetVHostsRequest
Empty

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAppServer

func RegisterAppServer(s *grpc.Server, srv AppServer)

Types

type AppClient

type AppClient interface {
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*Empty, error)
	Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (App_LogsClient, error)
	Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error)
	SetEnv(ctx context.Context, in *SetEnvRequest, opts ...grpc.CallOption) (*Empty, error)
	UnsetEnv(ctx context.Context, in *UnsetEnvRequest, opts ...grpc.CallOption) (*Empty, error)
	List(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListResponse, error)
	SetAutoscale(ctx context.Context, in *SetAutoscaleRequest, opts ...grpc.CallOption) (*Empty, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*Empty, error)
	SetReplicas(ctx context.Context, in *SetReplicasRequest, opts ...grpc.CallOption) (*Empty, error)
	DeletePods(ctx context.Context, in *DeletePodsRequest, opts ...grpc.CallOption) (*Empty, error)
	SetSecret(ctx context.Context, in *SetSecretRequest, opts ...grpc.CallOption) (*Empty, error)
	UnsetSecret(ctx context.Context, in *UnsetEnvRequest, opts ...grpc.CallOption) (*Empty, error)
	ChangeTeam(ctx context.Context, in *ChangeTeamRequest, opts ...grpc.CallOption) (*Empty, error)
	SetVHosts(ctx context.Context, in *SetVHostsRequest, opts ...grpc.CallOption) (*Empty, error)
}

func NewAppClient

func NewAppClient(cc *grpc.ClientConn) AppClient

type App_LogsClient

type App_LogsClient interface {
	Recv() (*LogsResponse, error)
	grpc.ClientStream
}

type App_LogsServer

type App_LogsServer interface {
	Send(*LogsResponse) error
	grpc.ServerStream
}

type ChangeTeamRequest

type ChangeTeamRequest struct {
	AppName  string `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"`
	TeamName string `protobuf:"bytes,2,opt,name=team_name,json=teamName" json:"team_name,omitempty"`
}

func (*ChangeTeamRequest) Descriptor

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

func (*ChangeTeamRequest) GetAppName

func (m *ChangeTeamRequest) GetAppName() string

func (*ChangeTeamRequest) GetTeamName

func (m *ChangeTeamRequest) GetTeamName() string

func (*ChangeTeamRequest) ProtoMessage

func (*ChangeTeamRequest) ProtoMessage()

func (*ChangeTeamRequest) Reset

func (m *ChangeTeamRequest) Reset()

func (*ChangeTeamRequest) String

func (m *ChangeTeamRequest) String() string

type CreateRequest

type CreateRequest struct {
	Name            string                   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Team            string                   `protobuf:"bytes,2,opt,name=team" json:"team,omitempty"`
	ProcessType     string                   `protobuf:"bytes,3,opt,name=process_type,json=processType" json:"process_type,omitempty"`
	Limits          *CreateRequest_Limits    `protobuf:"bytes,4,opt,name=limits" json:"limits,omitempty"`
	Autoscale       *CreateRequest_Autoscale `protobuf:"bytes,5,opt,name=autoscale" json:"autoscale,omitempty"`
	VirtualHost     string                   `protobuf:"bytes,6,opt,name=virtual_host,json=virtualHost" json:"virtual_host,omitempty"`
	Internal        bool                     `protobuf:"varint,7,opt,name=internal" json:"internal,omitempty"`
	Protocol        string                   `protobuf:"bytes,8,opt,name=protocol" json:"protocol,omitempty"`
	ReserveStaticIp bool                     `protobuf:"varint,9,opt,name=reserve_static_ip,json=reserveStaticIp" json:"reserve_static_ip,omitempty"`
}

func (*CreateRequest) Descriptor

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

func (*CreateRequest) GetAutoscale

func (m *CreateRequest) GetAutoscale() *CreateRequest_Autoscale

func (*CreateRequest) GetInternal

func (m *CreateRequest) GetInternal() bool

func (*CreateRequest) GetLimits

func (m *CreateRequest) GetLimits() *CreateRequest_Limits

func (*CreateRequest) GetName

func (m *CreateRequest) GetName() string

func (*CreateRequest) GetProcessType

func (m *CreateRequest) GetProcessType() string

func (*CreateRequest) GetProtocol

func (m *CreateRequest) GetProtocol() string

func (*CreateRequest) GetReserveStaticIp

func (m *CreateRequest) GetReserveStaticIp() bool

func (*CreateRequest) GetTeam

func (m *CreateRequest) GetTeam() string

func (*CreateRequest) GetVirtualHost

func (m *CreateRequest) GetVirtualHost() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) Reset

func (m *CreateRequest) Reset()

func (*CreateRequest) String

func (m *CreateRequest) String() string

type CreateRequest_Autoscale

type CreateRequest_Autoscale struct {
	CpuTargetUtilization int32 `protobuf:"varint,1,opt,name=cpu_target_utilization,json=cpuTargetUtilization" json:"cpu_target_utilization,omitempty"`
	Max                  int32 `protobuf:"varint,2,opt,name=max" json:"max,omitempty"`
	Min                  int32 `protobuf:"varint,3,opt,name=min" json:"min,omitempty"`
}

func (*CreateRequest_Autoscale) Descriptor

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

func (*CreateRequest_Autoscale) GetCpuTargetUtilization

func (m *CreateRequest_Autoscale) GetCpuTargetUtilization() int32

func (*CreateRequest_Autoscale) GetMax

func (m *CreateRequest_Autoscale) GetMax() int32

func (*CreateRequest_Autoscale) GetMin

func (m *CreateRequest_Autoscale) GetMin() int32

func (*CreateRequest_Autoscale) ProtoMessage

func (*CreateRequest_Autoscale) ProtoMessage()

func (*CreateRequest_Autoscale) Reset

func (m *CreateRequest_Autoscale) Reset()

func (*CreateRequest_Autoscale) String

func (m *CreateRequest_Autoscale) String() string

type CreateRequest_Limits

type CreateRequest_Limits struct {
	Default        []*CreateRequest_Limits_LimitRangeQuantity `protobuf:"bytes,1,rep,name=default" json:"default,omitempty"`
	DefaultRequest []*CreateRequest_Limits_LimitRangeQuantity `protobuf:"bytes,2,rep,name=default_request,json=defaultRequest" json:"default_request,omitempty"`
}

func (*CreateRequest_Limits) Descriptor

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

func (*CreateRequest_Limits) GetDefault

func (*CreateRequest_Limits) GetDefaultRequest

func (*CreateRequest_Limits) ProtoMessage

func (*CreateRequest_Limits) ProtoMessage()

func (*CreateRequest_Limits) Reset

func (m *CreateRequest_Limits) Reset()

func (*CreateRequest_Limits) String

func (m *CreateRequest_Limits) String() string

type CreateRequest_Limits_LimitRangeQuantity

type CreateRequest_Limits_LimitRangeQuantity struct {
	Quantity string `protobuf:"bytes,1,opt,name=quantity" json:"quantity,omitempty"`
	Resource string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
}

func (*CreateRequest_Limits_LimitRangeQuantity) Descriptor

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

func (*CreateRequest_Limits_LimitRangeQuantity) GetQuantity

func (*CreateRequest_Limits_LimitRangeQuantity) GetResource

func (*CreateRequest_Limits_LimitRangeQuantity) ProtoMessage

func (*CreateRequest_Limits_LimitRangeQuantity) Reset

func (*CreateRequest_Limits_LimitRangeQuantity) String

type DeletePodsRequest

type DeletePodsRequest struct {
	Name      string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	PodsNames []string `protobuf:"bytes,2,rep,name=pods_names,json=podsNames" json:"pods_names,omitempty"`
}

func (*DeletePodsRequest) Descriptor

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

func (*DeletePodsRequest) GetName

func (m *DeletePodsRequest) GetName() string

func (*DeletePodsRequest) GetPodsNames

func (m *DeletePodsRequest) GetPodsNames() []string

func (*DeletePodsRequest) ProtoMessage

func (*DeletePodsRequest) ProtoMessage()

func (*DeletePodsRequest) Reset

func (m *DeletePodsRequest) Reset()

func (*DeletePodsRequest) String

func (m *DeletePodsRequest) String() string

type DeleteRequest

type DeleteRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetName

func (m *DeleteRequest) GetName() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

type Empty

type Empty struct {
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

type InfoRequest

type InfoRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*InfoRequest) Descriptor

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

func (*InfoRequest) GetName

func (m *InfoRequest) GetName() string

func (*InfoRequest) ProtoMessage

func (*InfoRequest) ProtoMessage()

func (*InfoRequest) Reset

func (m *InfoRequest) Reset()

func (*InfoRequest) String

func (m *InfoRequest) String() string

type InfoResponse

type InfoResponse struct {
	Team      string                  `protobuf:"bytes,1,opt,name=team" json:"team,omitempty"`
	Addresses []*InfoResponse_Address `protobuf:"bytes,2,rep,name=addresses" json:"addresses,omitempty"`
	EnvVars   []*InfoResponse_EnvVar  `protobuf:"bytes,3,rep,name=env_vars,json=envVars" json:"env_vars,omitempty"`
	Status    *InfoResponse_Status    `protobuf:"bytes,4,opt,name=status" json:"status,omitempty"`
	Autoscale *InfoResponse_Autoscale `protobuf:"bytes,5,opt,name=autoscale" json:"autoscale,omitempty"`
	Limits    *InfoResponse_Limits    `protobuf:"bytes,6,opt,name=limits" json:"limits,omitempty"`
	Protocol  string                  `protobuf:"bytes,7,opt,name=protocol" json:"protocol,omitempty"`
	Volumes   []string                `protobuf:"bytes,8,rep,name=volumes" json:"volumes,omitempty"`
}

func (*InfoResponse) Descriptor

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

func (*InfoResponse) GetAddresses

func (m *InfoResponse) GetAddresses() []*InfoResponse_Address

func (*InfoResponse) GetAutoscale

func (m *InfoResponse) GetAutoscale() *InfoResponse_Autoscale

func (*InfoResponse) GetEnvVars

func (m *InfoResponse) GetEnvVars() []*InfoResponse_EnvVar

func (*InfoResponse) GetLimits

func (m *InfoResponse) GetLimits() *InfoResponse_Limits

func (*InfoResponse) GetProtocol

func (m *InfoResponse) GetProtocol() string

func (*InfoResponse) GetStatus

func (m *InfoResponse) GetStatus() *InfoResponse_Status

func (*InfoResponse) GetTeam

func (m *InfoResponse) GetTeam() string

func (*InfoResponse) GetVolumes

func (m *InfoResponse) GetVolumes() []string

func (*InfoResponse) ProtoMessage

func (*InfoResponse) ProtoMessage()

func (*InfoResponse) Reset

func (m *InfoResponse) Reset()

func (*InfoResponse) String

func (m *InfoResponse) String() string

type InfoResponse_Address

type InfoResponse_Address struct {
	Hostname string `protobuf:"bytes,1,opt,name=hostname" json:"hostname,omitempty"`
}

func (*InfoResponse_Address) Descriptor

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

func (*InfoResponse_Address) GetHostname

func (m *InfoResponse_Address) GetHostname() string

func (*InfoResponse_Address) ProtoMessage

func (*InfoResponse_Address) ProtoMessage()

func (*InfoResponse_Address) Reset

func (m *InfoResponse_Address) Reset()

func (*InfoResponse_Address) String

func (m *InfoResponse_Address) String() string

type InfoResponse_Autoscale

type InfoResponse_Autoscale struct {
	CpuTargetUtilization int32 `protobuf:"varint,1,opt,name=cpu_target_utilization,json=cpuTargetUtilization" json:"cpu_target_utilization,omitempty"`
	Max                  int32 `protobuf:"varint,2,opt,name=max" json:"max,omitempty"`
	Min                  int32 `protobuf:"varint,3,opt,name=min" json:"min,omitempty"`
}

func (*InfoResponse_Autoscale) Descriptor

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

func (*InfoResponse_Autoscale) GetCpuTargetUtilization

func (m *InfoResponse_Autoscale) GetCpuTargetUtilization() int32

func (*InfoResponse_Autoscale) GetMax

func (m *InfoResponse_Autoscale) GetMax() int32

func (*InfoResponse_Autoscale) GetMin

func (m *InfoResponse_Autoscale) GetMin() int32

func (*InfoResponse_Autoscale) ProtoMessage

func (*InfoResponse_Autoscale) ProtoMessage()

func (*InfoResponse_Autoscale) Reset

func (m *InfoResponse_Autoscale) Reset()

func (*InfoResponse_Autoscale) String

func (m *InfoResponse_Autoscale) String() string

type InfoResponse_EnvVar

type InfoResponse_EnvVar struct {
	Key   string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

func (*InfoResponse_EnvVar) Descriptor

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

func (*InfoResponse_EnvVar) GetKey

func (m *InfoResponse_EnvVar) GetKey() string

func (*InfoResponse_EnvVar) GetValue

func (m *InfoResponse_EnvVar) GetValue() string

func (*InfoResponse_EnvVar) ProtoMessage

func (*InfoResponse_EnvVar) ProtoMessage()

func (*InfoResponse_EnvVar) Reset

func (m *InfoResponse_EnvVar) Reset()

func (*InfoResponse_EnvVar) String

func (m *InfoResponse_EnvVar) String() string

type InfoResponse_Limits

type InfoResponse_Limits struct {
	Default        []*InfoResponse_Limits_LimitRangeQuantity `protobuf:"bytes,1,rep,name=default" json:"default,omitempty"`
	DefaultRequest []*InfoResponse_Limits_LimitRangeQuantity `protobuf:"bytes,2,rep,name=default_request,json=defaultRequest" json:"default_request,omitempty"`
}

func (*InfoResponse_Limits) Descriptor

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

func (*InfoResponse_Limits) GetDefault

func (*InfoResponse_Limits) GetDefaultRequest

func (*InfoResponse_Limits) ProtoMessage

func (*InfoResponse_Limits) ProtoMessage()

func (*InfoResponse_Limits) Reset

func (m *InfoResponse_Limits) Reset()

func (*InfoResponse_Limits) String

func (m *InfoResponse_Limits) String() string

type InfoResponse_Limits_LimitRangeQuantity

type InfoResponse_Limits_LimitRangeQuantity struct {
	Quantity string `protobuf:"bytes,1,opt,name=quantity" json:"quantity,omitempty"`
	Resource string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
}

func (*InfoResponse_Limits_LimitRangeQuantity) Descriptor

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

func (*InfoResponse_Limits_LimitRangeQuantity) GetQuantity

func (*InfoResponse_Limits_LimitRangeQuantity) GetResource

func (*InfoResponse_Limits_LimitRangeQuantity) ProtoMessage

func (*InfoResponse_Limits_LimitRangeQuantity) Reset

func (*InfoResponse_Limits_LimitRangeQuantity) String

type InfoResponse_Status

type InfoResponse_Status struct {
	Cpu  int32                      `protobuf:"varint,1,opt,name=cpu" json:"cpu,omitempty"`
	Pods []*InfoResponse_Status_Pod `protobuf:"bytes,3,rep,name=pods" json:"pods,omitempty"`
}

func (*InfoResponse_Status) Descriptor

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

func (*InfoResponse_Status) GetCpu

func (m *InfoResponse_Status) GetCpu() int32

func (*InfoResponse_Status) GetPods

func (*InfoResponse_Status) ProtoMessage

func (*InfoResponse_Status) ProtoMessage()

func (*InfoResponse_Status) Reset

func (m *InfoResponse_Status) Reset()

func (*InfoResponse_Status) String

func (m *InfoResponse_Status) String() string

type InfoResponse_Status_Pod

type InfoResponse_Status_Pod struct {
	Name     string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	State    string `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
	Age      int64  `protobuf:"varint,3,opt,name=age" json:"age,omitempty"`
	Restarts int32  `protobuf:"varint,4,opt,name=restarts" json:"restarts,omitempty"`
	Ready    bool   `protobuf:"varint,5,opt,name=ready" json:"ready,omitempty"`
}

func (*InfoResponse_Status_Pod) Descriptor

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

func (*InfoResponse_Status_Pod) GetAge

func (m *InfoResponse_Status_Pod) GetAge() int64

func (*InfoResponse_Status_Pod) GetName

func (m *InfoResponse_Status_Pod) GetName() string

func (*InfoResponse_Status_Pod) GetReady

func (m *InfoResponse_Status_Pod) GetReady() bool

func (*InfoResponse_Status_Pod) GetRestarts

func (m *InfoResponse_Status_Pod) GetRestarts() int32

func (*InfoResponse_Status_Pod) GetState

func (m *InfoResponse_Status_Pod) GetState() string

func (*InfoResponse_Status_Pod) ProtoMessage

func (*InfoResponse_Status_Pod) ProtoMessage()

func (*InfoResponse_Status_Pod) Reset

func (m *InfoResponse_Status_Pod) Reset()

func (*InfoResponse_Status_Pod) String

func (m *InfoResponse_Status_Pod) String() string

type ListResponse

type ListResponse struct {
	Apps []*ListResponse_App `protobuf:"bytes,1,rep,name=apps" json:"apps,omitempty"`
}

func (*ListResponse) Descriptor

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

func (*ListResponse) GetApps

func (m *ListResponse) GetApps() []*ListResponse_App

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

type ListResponse_App

type ListResponse_App struct {
	Team string   `protobuf:"bytes,1,opt,name=team" json:"team,omitempty"`
	Name string   `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Urls []string `protobuf:"bytes,3,rep,name=urls" json:"urls,omitempty"`
}

func (*ListResponse_App) Descriptor

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

func (*ListResponse_App) GetName

func (m *ListResponse_App) GetName() string

func (*ListResponse_App) GetTeam

func (m *ListResponse_App) GetTeam() string

func (*ListResponse_App) GetUrls

func (m *ListResponse_App) GetUrls() []string

func (*ListResponse_App) ProtoMessage

func (*ListResponse_App) ProtoMessage()

func (*ListResponse_App) Reset

func (m *ListResponse_App) Reset()

func (*ListResponse_App) String

func (m *ListResponse_App) String() string

type LogsRequest

type LogsRequest struct {
	Name      string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Lines     int64  `protobuf:"varint,2,opt,name=lines" json:"lines,omitempty"`
	Follow    bool   `protobuf:"varint,3,opt,name=follow" json:"follow,omitempty"`
	PodName   string `protobuf:"bytes,4,opt,name=pod_name,json=podName" json:"pod_name,omitempty"`
	Previous  bool   `protobuf:"varint,5,opt,name=previous" json:"previous,omitempty"`
	Container string `protobuf:"bytes,6,opt,name=container" json:"container,omitempty"`
}

func (*LogsRequest) Descriptor

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

func (*LogsRequest) GetContainer

func (m *LogsRequest) GetContainer() string

func (*LogsRequest) GetFollow

func (m *LogsRequest) GetFollow() bool

func (*LogsRequest) GetLines

func (m *LogsRequest) GetLines() int64

func (*LogsRequest) GetName

func (m *LogsRequest) GetName() string

func (*LogsRequest) GetPodName

func (m *LogsRequest) GetPodName() string

func (*LogsRequest) GetPrevious

func (m *LogsRequest) GetPrevious() bool

func (*LogsRequest) ProtoMessage

func (*LogsRequest) ProtoMessage()

func (*LogsRequest) Reset

func (m *LogsRequest) Reset()

func (*LogsRequest) String

func (m *LogsRequest) String() string

type LogsResponse

type LogsResponse struct {
	Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
}

func (*LogsResponse) Descriptor

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

func (*LogsResponse) GetText

func (m *LogsResponse) GetText() string

func (*LogsResponse) ProtoMessage

func (*LogsResponse) ProtoMessage()

func (*LogsResponse) Reset

func (m *LogsResponse) Reset()

func (*LogsResponse) String

func (m *LogsResponse) String() string

type SetAutoscaleRequest

type SetAutoscaleRequest struct {
	Name      string                         `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Autoscale *SetAutoscaleRequest_Autoscale `protobuf:"bytes,2,opt,name=autoscale" json:"autoscale,omitempty"`
}

func (*SetAutoscaleRequest) Descriptor

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

func (*SetAutoscaleRequest) GetAutoscale

func (*SetAutoscaleRequest) GetName

func (m *SetAutoscaleRequest) GetName() string

func (*SetAutoscaleRequest) ProtoMessage

func (*SetAutoscaleRequest) ProtoMessage()

func (*SetAutoscaleRequest) Reset

func (m *SetAutoscaleRequest) Reset()

func (*SetAutoscaleRequest) String

func (m *SetAutoscaleRequest) String() string

type SetAutoscaleRequest_Autoscale

type SetAutoscaleRequest_Autoscale struct {
	CpuTargetUtilization int32 `protobuf:"varint,1,opt,name=cpu_target_utilization,json=cpuTargetUtilization" json:"cpu_target_utilization,omitempty"`
	Max                  int32 `protobuf:"varint,2,opt,name=max" json:"max,omitempty"`
	Min                  int32 `protobuf:"varint,3,opt,name=min" json:"min,omitempty"`
}

func (*SetAutoscaleRequest_Autoscale) Descriptor

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

func (*SetAutoscaleRequest_Autoscale) GetCpuTargetUtilization

func (m *SetAutoscaleRequest_Autoscale) GetCpuTargetUtilization() int32

func (*SetAutoscaleRequest_Autoscale) GetMax

func (*SetAutoscaleRequest_Autoscale) GetMin

func (*SetAutoscaleRequest_Autoscale) ProtoMessage

func (*SetAutoscaleRequest_Autoscale) ProtoMessage()

func (*SetAutoscaleRequest_Autoscale) Reset

func (m *SetAutoscaleRequest_Autoscale) Reset()

func (*SetAutoscaleRequest_Autoscale) String

type SetEnvRequest

type SetEnvRequest struct {
	Name    string                  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	EnvVars []*SetEnvRequest_EnvVar `protobuf:"bytes,2,rep,name=env_vars,json=envVars" json:"env_vars,omitempty"`
}

func (*SetEnvRequest) Descriptor

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

func (*SetEnvRequest) GetEnvVars

func (m *SetEnvRequest) GetEnvVars() []*SetEnvRequest_EnvVar

func (*SetEnvRequest) GetName

func (m *SetEnvRequest) GetName() string

func (*SetEnvRequest) ProtoMessage

func (*SetEnvRequest) ProtoMessage()

func (*SetEnvRequest) Reset

func (m *SetEnvRequest) Reset()

func (*SetEnvRequest) String

func (m *SetEnvRequest) String() string

type SetEnvRequest_EnvVar

type SetEnvRequest_EnvVar struct {
	Key   string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

func (*SetEnvRequest_EnvVar) Descriptor

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

func (*SetEnvRequest_EnvVar) GetKey

func (m *SetEnvRequest_EnvVar) GetKey() string

func (*SetEnvRequest_EnvVar) GetValue

func (m *SetEnvRequest_EnvVar) GetValue() string

func (*SetEnvRequest_EnvVar) ProtoMessage

func (*SetEnvRequest_EnvVar) ProtoMessage()

func (*SetEnvRequest_EnvVar) Reset

func (m *SetEnvRequest_EnvVar) Reset()

func (*SetEnvRequest_EnvVar) String

func (m *SetEnvRequest_EnvVar) String() string

type SetReplicasRequest

type SetReplicasRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Replicas int32  `protobuf:"varint,2,opt,name=replicas" json:"replicas,omitempty"`
}

func (*SetReplicasRequest) Descriptor

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

func (*SetReplicasRequest) GetName

func (m *SetReplicasRequest) GetName() string

func (*SetReplicasRequest) GetReplicas

func (m *SetReplicasRequest) GetReplicas() int32

func (*SetReplicasRequest) ProtoMessage

func (*SetReplicasRequest) ProtoMessage()

func (*SetReplicasRequest) Reset

func (m *SetReplicasRequest) Reset()

func (*SetReplicasRequest) String

func (m *SetReplicasRequest) String() string

type SetSecretRequest

type SetSecretRequest struct {
	Name       string                       `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	SecretEnvs []*SetEnvRequest_EnvVar      `protobuf:"bytes,2,rep,name=secret_envs,json=secretEnvs" json:"secret_envs,omitempty"`
	SecretFile *SetSecretRequest_SecretFile `protobuf:"bytes,3,opt,name=secret_file,json=secretFile" json:"secret_file,omitempty"`
}

func (*SetSecretRequest) Descriptor

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

func (*SetSecretRequest) GetName

func (m *SetSecretRequest) GetName() string

func (*SetSecretRequest) GetSecretEnvs

func (m *SetSecretRequest) GetSecretEnvs() []*SetEnvRequest_EnvVar

func (*SetSecretRequest) GetSecretFile

func (m *SetSecretRequest) GetSecretFile() *SetSecretRequest_SecretFile

func (*SetSecretRequest) ProtoMessage

func (*SetSecretRequest) ProtoMessage()

func (*SetSecretRequest) Reset

func (m *SetSecretRequest) Reset()

func (*SetSecretRequest) String

func (m *SetSecretRequest) String() string

type SetSecretRequest_SecretFile

type SetSecretRequest_SecretFile struct {
	Key     string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

func (*SetSecretRequest_SecretFile) Descriptor

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

func (*SetSecretRequest_SecretFile) GetContent

func (m *SetSecretRequest_SecretFile) GetContent() []byte

func (*SetSecretRequest_SecretFile) GetKey

func (m *SetSecretRequest_SecretFile) GetKey() string

func (*SetSecretRequest_SecretFile) ProtoMessage

func (*SetSecretRequest_SecretFile) ProtoMessage()

func (*SetSecretRequest_SecretFile) Reset

func (m *SetSecretRequest_SecretFile) Reset()

func (*SetSecretRequest_SecretFile) String

func (m *SetSecretRequest_SecretFile) String() string

type SetVHostsRequest

type SetVHostsRequest struct {
	AppName string   `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"`
	Vhosts  []string `protobuf:"bytes,2,rep,name=vhosts" json:"vhosts,omitempty"`
}

func (*SetVHostsRequest) Descriptor

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

func (*SetVHostsRequest) GetAppName

func (m *SetVHostsRequest) GetAppName() string

func (*SetVHostsRequest) GetVhosts

func (m *SetVHostsRequest) GetVhosts() []string

func (*SetVHostsRequest) ProtoMessage

func (*SetVHostsRequest) ProtoMessage()

func (*SetVHostsRequest) Reset

func (m *SetVHostsRequest) Reset()

func (*SetVHostsRequest) String

func (m *SetVHostsRequest) String() string

type UnsetEnvRequest

type UnsetEnvRequest struct {
	Name    string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	EnvVars []string `protobuf:"bytes,2,rep,name=env_vars,json=envVars" json:"env_vars,omitempty"`
}

func (*UnsetEnvRequest) Descriptor

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

func (*UnsetEnvRequest) GetEnvVars

func (m *UnsetEnvRequest) GetEnvVars() []string

func (*UnsetEnvRequest) GetName

func (m *UnsetEnvRequest) GetName() string

func (*UnsetEnvRequest) ProtoMessage

func (*UnsetEnvRequest) ProtoMessage()

func (*UnsetEnvRequest) Reset

func (m *UnsetEnvRequest) Reset()

func (*UnsetEnvRequest) String

func (m *UnsetEnvRequest) String() string

Jump to

Keyboard shortcuts

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