Documentation ¶
Index ¶
Constants ¶
View Source
const (
//ServiceID Google run Service ID.
ServiceID = "gcp/run"
)
Variables ¶
This section is empty.
Functions ¶
func InitRequest ¶
Types ¶
type CtxClient ¶
type CtxClient struct { *gcp.AbstractClient // contains filtered or unexported fields }
CtxClient represents context client
func (*CtxClient) SetService ¶
type DeployRequest ¶
type DeployRequest struct { Name string Namespace string Public bool `description:"allows unauthenticated access"` Concurrency int TimeoutSeconds int Connectivity string `description:"valid values external or internal"` Container *run.Container Env map[string]string Image string MemoryMb int CPU int Port int Region string MaxAutoScale int ServiceAccount string Replace bool Members []string `description:"members with roles/run.invoker role"` // contains filtered or unexported fields }
DeployRequest represents deploy request
type DeployResponse ¶
type DeployResponse struct { Endpoint string *run.Configuration }
type GetConfigurationRequest ¶
type GetConfigurationRequest struct { Name string // contains filtered or unexported fields }
GetServiceRequest represents getService service request
func (*GetConfigurationRequest) Init ¶
func (r *GetConfigurationRequest) Init() error
type GetConfigurationResponse ¶
type GetConfigurationResponse struct {
*run.Configuration
}
GetServiceResponse represents getService response
type GetServiceRequest ¶
type GetServiceRequest struct { Name string // contains filtered or unexported fields }
GetServiceRequest represents getService service request
func (*GetServiceRequest) Init ¶
func (r *GetServiceRequest) Init() error
type GetServiceResponse ¶
type GetServiceResponse struct {
*run.Service
}
GetServiceResponse represents getService response
Click to show internal directories.
Click to hide internal directories.