Documentation
¶
Overview ¶
Package pbaminoapi is a generated protocol buffer package.
It is generated from these files:
pbaminoapi.proto
It has these top-level messages:
CreateEnvironmentRequest ChartVariableOverride CreateEnvironmentResponse DestroyEnvironmentRequest DestroyEnvironmentResponse EnvironmentStatusRequest EnvironmentStatusResponse GetEnvironmentsRequest GetEnvironmentsResponse Environment
Index ¶
- func RegisterAminoAPIServer(s *grpc.Server, srv AminoAPIServer)
- type AminoAPIClient
- type AminoAPIServer
- type ChartVariableOverride
- func (*ChartVariableOverride) Descriptor() ([]byte, []int)
- func (m *ChartVariableOverride) GetChartName() string
- func (m *ChartVariableOverride) GetValue() string
- func (m *ChartVariableOverride) GetVariableName() string
- func (*ChartVariableOverride) ProtoMessage()
- func (m *ChartVariableOverride) Reset()
- func (m *ChartVariableOverride) String() string
- type CreateEnvironmentRequest
- func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int)
- func (m *CreateEnvironmentRequest) GetChartVariableOverrides() []*ChartVariableOverride
- func (m *CreateEnvironmentRequest) GetDeploymentTags() map[string]string
- func (m *CreateEnvironmentRequest) GetGithubProjectDirectoryOverride() string
- func (m *CreateEnvironmentRequest) GetGithubProjectName() string
- func (m *CreateEnvironmentRequest) GetGithubProjectRef() string
- func (m *CreateEnvironmentRequest) GetJobTags() map[string]string
- func (m *CreateEnvironmentRequest) GetLocalProjectDirectoryOverride() string
- func (m *CreateEnvironmentRequest) GetName() string
- func (*CreateEnvironmentRequest) ProtoMessage()
- func (m *CreateEnvironmentRequest) Reset()
- func (m *CreateEnvironmentRequest) String() string
- type CreateEnvironmentResponse
- func (*CreateEnvironmentResponse) Descriptor() ([]byte, []int)
- func (m *CreateEnvironmentResponse) GetId() int64
- func (m *CreateEnvironmentResponse) GetName() string
- func (m *CreateEnvironmentResponse) GetState() string
- func (*CreateEnvironmentResponse) ProtoMessage()
- func (m *CreateEnvironmentResponse) Reset()
- func (m *CreateEnvironmentResponse) String() string
- type DestroyEnvironmentRequest
- func (*DestroyEnvironmentRequest) Descriptor() ([]byte, []int)
- func (m *DestroyEnvironmentRequest) GetId() int64
- func (m *DestroyEnvironmentRequest) GetName() string
- func (m *DestroyEnvironmentRequest) GetRmDns() bool
- func (*DestroyEnvironmentRequest) ProtoMessage()
- func (m *DestroyEnvironmentRequest) Reset()
- func (m *DestroyEnvironmentRequest) String() string
- type DestroyEnvironmentResponse
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)
- func (m *Environment) GetActive() bool
- func (m *Environment) GetCreatedAt() int64
- func (m *Environment) GetId() int64
- func (m *Environment) GetKubeNamespace() string
- func (m *Environment) GetName() string
- func (m *Environment) GetState() string
- func (m *Environment) GetUpdatedAt() int64
- func (*Environment) ProtoMessage()
- func (m *Environment) Reset()
- func (m *Environment) String() string
- type EnvironmentStatusRequest
- func (*EnvironmentStatusRequest) Descriptor() ([]byte, []int)
- func (m *EnvironmentStatusRequest) GetId() int64
- func (m *EnvironmentStatusRequest) GetName() string
- func (*EnvironmentStatusRequest) ProtoMessage()
- func (m *EnvironmentStatusRequest) Reset()
- func (m *EnvironmentStatusRequest) String() string
- type EnvironmentStatusResponse
- func (*EnvironmentStatusResponse) Descriptor() ([]byte, []int)
- func (m *EnvironmentStatusResponse) GetActiveJobs() []string
- func (m *EnvironmentStatusResponse) GetAllDeployments() []string
- func (m *EnvironmentStatusResponse) GetAllJobs() []string
- func (m *EnvironmentStatusResponse) GetAllPods() []string
- func (m *EnvironmentStatusResponse) GetAvailableDeployments() []string
- func (m *EnvironmentStatusResponse) GetCompletedJobs() []string
- func (m *EnvironmentStatusResponse) GetError() string
- func (m *EnvironmentStatusResponse) GetErroredAt() int64
- func (m *EnvironmentStatusResponse) GetFailedJobs() []string
- func (m *EnvironmentStatusResponse) GetId() int64
- func (m *EnvironmentStatusResponse) GetKubernetesNamespace() string
- func (m *EnvironmentStatusResponse) GetName() string
- func (m *EnvironmentStatusResponse) GetServiceToExposedPort() map[string]int64
- func (m *EnvironmentStatusResponse) GetState() string
- func (m *EnvironmentStatusResponse) GetUnavailableDeployments() []string
- func (*EnvironmentStatusResponse) ProtoMessage()
- func (m *EnvironmentStatusResponse) Reset()
- func (m *EnvironmentStatusResponse) String() string
- type GetEnvironmentsRequest
- type GetEnvironmentsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAminoAPIServer ¶
func RegisterAminoAPIServer(s *grpc.Server, srv AminoAPIServer)
Types ¶
type AminoAPIClient ¶
type AminoAPIClient interface {
CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*CreateEnvironmentResponse, error)
DestroyEnvironment(ctx context.Context, in *DestroyEnvironmentRequest, opts ...grpc.CallOption) (*DestroyEnvironmentResponse, error)
EnvironmentStatus(ctx context.Context, in *EnvironmentStatusRequest, opts ...grpc.CallOption) (*EnvironmentStatusResponse, error)
GetEnvironments(ctx context.Context, in *GetEnvironmentsRequest, opts ...grpc.CallOption) (*GetEnvironmentsResponse, error)
}
func NewAminoAPIClient ¶
func NewAminoAPIClient(cc *grpc.ClientConn) AminoAPIClient
type AminoAPIServer ¶
type AminoAPIServer interface {
CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*CreateEnvironmentResponse, error)
DestroyEnvironment(context.Context, *DestroyEnvironmentRequest) (*DestroyEnvironmentResponse, error)
EnvironmentStatus(context.Context, *EnvironmentStatusRequest) (*EnvironmentStatusResponse, error)
GetEnvironments(context.Context, *GetEnvironmentsRequest) (*GetEnvironmentsResponse, error)
}
type ChartVariableOverride ¶
type ChartVariableOverride struct {
ChartName string `protobuf:"bytes,1,opt,name=chart_name,json=chartName" json:"chart_name,omitempty"`
VariableName string `protobuf:"bytes,2,opt,name=variable_name,json=variableName" json:"variable_name,omitempty"`
Value string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
}
func (*ChartVariableOverride) Descriptor ¶
func (*ChartVariableOverride) Descriptor() ([]byte, []int)
func (*ChartVariableOverride) GetChartName ¶
func (m *ChartVariableOverride) GetChartName() string
func (*ChartVariableOverride) GetValue ¶
func (m *ChartVariableOverride) GetValue() string
func (*ChartVariableOverride) GetVariableName ¶
func (m *ChartVariableOverride) GetVariableName() string
func (*ChartVariableOverride) ProtoMessage ¶
func (*ChartVariableOverride) ProtoMessage()
func (*ChartVariableOverride) Reset ¶
func (m *ChartVariableOverride) Reset()
func (*ChartVariableOverride) String ¶
func (m *ChartVariableOverride) String() string
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
DeploymentTags map[string]string `` /* 170-byte string literal not displayed */
JobTags map[string]string `` /* 149-byte string literal not displayed */
GithubProjectName string `protobuf:"bytes,4,opt,name=github_project_name,json=githubProjectName" json:"github_project_name,omitempty"`
GithubProjectRef string `protobuf:"bytes,5,opt,name=github_project_ref,json=githubProjectRef" json:"github_project_ref,omitempty"`
ChartVariableOverrides []*ChartVariableOverride `protobuf:"bytes,6,rep,name=chart_variable_overrides,json=chartVariableOverrides" json:"chart_variable_overrides,omitempty"`
GithubProjectDirectoryOverride string `` /* 148-byte string literal not displayed */
LocalProjectDirectoryOverride string `` /* 145-byte string literal not displayed */
}
func (*CreateEnvironmentRequest) Descriptor ¶
func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int)
func (*CreateEnvironmentRequest) GetChartVariableOverrides ¶
func (m *CreateEnvironmentRequest) GetChartVariableOverrides() []*ChartVariableOverride
func (*CreateEnvironmentRequest) GetDeploymentTags ¶
func (m *CreateEnvironmentRequest) GetDeploymentTags() map[string]string
func (*CreateEnvironmentRequest) GetGithubProjectDirectoryOverride ¶
func (m *CreateEnvironmentRequest) GetGithubProjectDirectoryOverride() string
func (*CreateEnvironmentRequest) GetGithubProjectName ¶
func (m *CreateEnvironmentRequest) GetGithubProjectName() string
func (*CreateEnvironmentRequest) GetGithubProjectRef ¶
func (m *CreateEnvironmentRequest) GetGithubProjectRef() string
func (*CreateEnvironmentRequest) GetJobTags ¶
func (m *CreateEnvironmentRequest) GetJobTags() map[string]string
func (*CreateEnvironmentRequest) GetLocalProjectDirectoryOverride ¶
func (m *CreateEnvironmentRequest) GetLocalProjectDirectoryOverride() string
func (*CreateEnvironmentRequest) GetName ¶
func (m *CreateEnvironmentRequest) GetName() string
func (*CreateEnvironmentRequest) ProtoMessage ¶
func (*CreateEnvironmentRequest) ProtoMessage()
func (*CreateEnvironmentRequest) Reset ¶
func (m *CreateEnvironmentRequest) Reset()
func (*CreateEnvironmentRequest) String ¶
func (m *CreateEnvironmentRequest) String() string
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
State string `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"`
}
func (*CreateEnvironmentResponse) Descriptor ¶
func (*CreateEnvironmentResponse) Descriptor() ([]byte, []int)
func (*CreateEnvironmentResponse) GetId ¶
func (m *CreateEnvironmentResponse) GetId() int64
func (*CreateEnvironmentResponse) GetName ¶
func (m *CreateEnvironmentResponse) GetName() string
func (*CreateEnvironmentResponse) GetState ¶
func (m *CreateEnvironmentResponse) GetState() string
func (*CreateEnvironmentResponse) ProtoMessage ¶
func (*CreateEnvironmentResponse) ProtoMessage()
func (*CreateEnvironmentResponse) Reset ¶
func (m *CreateEnvironmentResponse) Reset()
func (*CreateEnvironmentResponse) String ¶
func (m *CreateEnvironmentResponse) String() string
type DestroyEnvironmentRequest ¶
type DestroyEnvironmentRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
RmDns bool `protobuf:"varint,2,opt,name=rm_dns,json=rmDns" json:"rm_dns,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
}
func (*DestroyEnvironmentRequest) Descriptor ¶
func (*DestroyEnvironmentRequest) Descriptor() ([]byte, []int)
func (*DestroyEnvironmentRequest) GetId ¶
func (m *DestroyEnvironmentRequest) GetId() int64
func (*DestroyEnvironmentRequest) GetName ¶
func (m *DestroyEnvironmentRequest) GetName() string
func (*DestroyEnvironmentRequest) GetRmDns ¶
func (m *DestroyEnvironmentRequest) GetRmDns() bool
func (*DestroyEnvironmentRequest) ProtoMessage ¶
func (*DestroyEnvironmentRequest) ProtoMessage()
func (*DestroyEnvironmentRequest) Reset ¶
func (m *DestroyEnvironmentRequest) Reset()
func (*DestroyEnvironmentRequest) String ¶
func (m *DestroyEnvironmentRequest) String() string
type DestroyEnvironmentResponse ¶
type DestroyEnvironmentResponse struct {
}
func (*DestroyEnvironmentResponse) Descriptor ¶
func (*DestroyEnvironmentResponse) Descriptor() ([]byte, []int)
func (*DestroyEnvironmentResponse) ProtoMessage ¶
func (*DestroyEnvironmentResponse) ProtoMessage()
func (*DestroyEnvironmentResponse) Reset ¶
func (m *DestroyEnvironmentResponse) Reset()
func (*DestroyEnvironmentResponse) String ¶
func (m *DestroyEnvironmentResponse) String() string
type Environment ¶
type Environment struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
State string `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"`
CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt" json:"updated_at,omitempty"`
Active bool `protobuf:"varint,6,opt,name=active" json:"active,omitempty"`
KubeNamespace string `protobuf:"bytes,7,opt,name=kube_namespace,json=kubeNamespace" json:"kube_namespace,omitempty"`
}
func (*Environment) Descriptor ¶
func (*Environment) Descriptor() ([]byte, []int)
func (*Environment) GetActive ¶
func (m *Environment) GetActive() bool
func (*Environment) GetCreatedAt ¶
func (m *Environment) GetCreatedAt() int64
func (*Environment) GetId ¶
func (m *Environment) GetId() int64
func (*Environment) GetKubeNamespace ¶
func (m *Environment) GetKubeNamespace() string
func (*Environment) GetName ¶
func (m *Environment) GetName() string
func (*Environment) GetState ¶
func (m *Environment) GetState() string
func (*Environment) GetUpdatedAt ¶
func (m *Environment) GetUpdatedAt() int64
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) Reset ¶
func (m *Environment) Reset()
func (*Environment) String ¶
func (m *Environment) String() string
type EnvironmentStatusRequest ¶
type EnvironmentStatusRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}
func (*EnvironmentStatusRequest) Descriptor ¶
func (*EnvironmentStatusRequest) Descriptor() ([]byte, []int)
func (*EnvironmentStatusRequest) GetId ¶
func (m *EnvironmentStatusRequest) GetId() int64
func (*EnvironmentStatusRequest) GetName ¶
func (m *EnvironmentStatusRequest) GetName() string
func (*EnvironmentStatusRequest) ProtoMessage ¶
func (*EnvironmentStatusRequest) ProtoMessage()
func (*EnvironmentStatusRequest) Reset ¶
func (m *EnvironmentStatusRequest) Reset()
func (*EnvironmentStatusRequest) String ¶
func (m *EnvironmentStatusRequest) String() string
type EnvironmentStatusResponse ¶
type EnvironmentStatusResponse struct {
Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
State string `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"`
AllDeployments []string `protobuf:"bytes,4,rep,name=all_deployments,json=allDeployments" json:"all_deployments,omitempty"`
AvailableDeployments []string `protobuf:"bytes,5,rep,name=available_deployments,json=availableDeployments" json:"available_deployments,omitempty"`
ActiveJobs []string `protobuf:"bytes,7,rep,name=active_jobs,json=activeJobs" json:"active_jobs,omitempty"`
AllJobs []string `protobuf:"bytes,8,rep,name=all_jobs,json=allJobs" json:"all_jobs,omitempty"`
CompletedJobs []string `protobuf:"bytes,9,rep,name=completed_jobs,json=completedJobs" json:"completed_jobs,omitempty"`
FailedJobs []string `protobuf:"bytes,10,rep,name=failed_jobs,json=failedJobs" json:"failed_jobs,omitempty"`
ServiceToExposedPort map[string]int64 `` /* 194-byte string literal not displayed */
AllPods []string `protobuf:"bytes,12,rep,name=all_pods,json=allPods" json:"all_pods,omitempty"`
KubernetesNamespace string `protobuf:"bytes,13,opt,name=kubernetes_namespace,json=kubernetesNamespace" json:"kubernetes_namespace,omitempty"`
ErroredAt int64 `protobuf:"varint,14,opt,name=errored_at,json=erroredAt" json:"errored_at,omitempty"`
Error string `protobuf:"bytes,15,opt,name=error" json:"error,omitempty"`
}
func (*EnvironmentStatusResponse) Descriptor ¶
func (*EnvironmentStatusResponse) Descriptor() ([]byte, []int)
func (*EnvironmentStatusResponse) GetActiveJobs ¶
func (m *EnvironmentStatusResponse) GetActiveJobs() []string
func (*EnvironmentStatusResponse) GetAllDeployments ¶
func (m *EnvironmentStatusResponse) GetAllDeployments() []string
func (*EnvironmentStatusResponse) GetAllJobs ¶
func (m *EnvironmentStatusResponse) GetAllJobs() []string
func (*EnvironmentStatusResponse) GetAllPods ¶
func (m *EnvironmentStatusResponse) GetAllPods() []string
func (*EnvironmentStatusResponse) GetAvailableDeployments ¶
func (m *EnvironmentStatusResponse) GetAvailableDeployments() []string
func (*EnvironmentStatusResponse) GetCompletedJobs ¶
func (m *EnvironmentStatusResponse) GetCompletedJobs() []string
func (*EnvironmentStatusResponse) GetError ¶
func (m *EnvironmentStatusResponse) GetError() string
func (*EnvironmentStatusResponse) GetErroredAt ¶
func (m *EnvironmentStatusResponse) GetErroredAt() int64
func (*EnvironmentStatusResponse) GetFailedJobs ¶
func (m *EnvironmentStatusResponse) GetFailedJobs() []string
func (*EnvironmentStatusResponse) GetId ¶
func (m *EnvironmentStatusResponse) GetId() int64
func (*EnvironmentStatusResponse) GetKubernetesNamespace ¶
func (m *EnvironmentStatusResponse) GetKubernetesNamespace() string
func (*EnvironmentStatusResponse) GetName ¶
func (m *EnvironmentStatusResponse) GetName() string
func (*EnvironmentStatusResponse) GetServiceToExposedPort ¶
func (m *EnvironmentStatusResponse) GetServiceToExposedPort() map[string]int64
func (*EnvironmentStatusResponse) GetState ¶
func (m *EnvironmentStatusResponse) GetState() string
func (*EnvironmentStatusResponse) GetUnavailableDeployments ¶
func (m *EnvironmentStatusResponse) GetUnavailableDeployments() []string
func (*EnvironmentStatusResponse) ProtoMessage ¶
func (*EnvironmentStatusResponse) ProtoMessage()
func (*EnvironmentStatusResponse) Reset ¶
func (m *EnvironmentStatusResponse) Reset()
func (*EnvironmentStatusResponse) String ¶
func (m *EnvironmentStatusResponse) String() string
type GetEnvironmentsRequest ¶
type GetEnvironmentsRequest struct {
State string `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"`
}
func (*GetEnvironmentsRequest) Descriptor ¶
func (*GetEnvironmentsRequest) Descriptor() ([]byte, []int)
func (*GetEnvironmentsRequest) GetState ¶
func (m *GetEnvironmentsRequest) GetState() string
func (*GetEnvironmentsRequest) ProtoMessage ¶
func (*GetEnvironmentsRequest) ProtoMessage()
func (*GetEnvironmentsRequest) Reset ¶
func (m *GetEnvironmentsRequest) Reset()
func (*GetEnvironmentsRequest) String ¶
func (m *GetEnvironmentsRequest) String() string
type GetEnvironmentsResponse ¶
type GetEnvironmentsResponse struct {
Environments []*Environment `protobuf:"bytes,1,rep,name=environments" json:"environments,omitempty"`
}
func (*GetEnvironmentsResponse) Descriptor ¶
func (*GetEnvironmentsResponse) Descriptor() ([]byte, []int)
func (*GetEnvironmentsResponse) GetEnvironments ¶
func (m *GetEnvironmentsResponse) GetEnvironments() []*Environment
func (*GetEnvironmentsResponse) ProtoMessage ¶
func (*GetEnvironmentsResponse) ProtoMessage()
func (*GetEnvironmentsResponse) Reset ¶
func (m *GetEnvironmentsResponse) Reset()
func (*GetEnvironmentsResponse) String ¶
func (m *GetEnvironmentsResponse) String() string
Click to show internal directories.
Click to hide internal directories.