Documentation ¶
Overview ¶
Package services is a generated protocol buffer package.
It is generated from these files:
hapi/services/tiller.proto
It has these top-level messages:
ListReleasesRequest ListSort ListReleasesResponse GetReleaseStatusRequest GetReleaseStatusResponse GetReleaseContentRequest GetReleaseContentResponse UpdateReleaseRequest UpdateReleaseResponse RollbackReleaseRequest RollbackReleaseResponse InstallReleaseRequest InstallReleaseResponse UninstallReleaseRequest UninstallReleaseResponse GetVersionRequest GetVersionResponse GetHistoryRequest GetHistoryResponse TestReleaseRequest TestReleaseResponse
Index ¶
- Variables
- func RegisterReleaseServiceServer(s *grpc.Server, srv ReleaseServiceServer)
- type GetHistoryRequest
- type GetHistoryResponse
- type GetReleaseContentRequest
- func (*GetReleaseContentRequest) Descriptor() ([]byte, []int)
- func (m *GetReleaseContentRequest) GetName() string
- func (m *GetReleaseContentRequest) GetVersion() int32
- func (*GetReleaseContentRequest) ProtoMessage()
- func (m *GetReleaseContentRequest) Reset()
- func (m *GetReleaseContentRequest) String() string
- type GetReleaseContentResponse
- type GetReleaseStatusRequest
- func (*GetReleaseStatusRequest) Descriptor() ([]byte, []int)
- func (m *GetReleaseStatusRequest) GetName() string
- func (m *GetReleaseStatusRequest) GetVersion() int32
- func (*GetReleaseStatusRequest) ProtoMessage()
- func (m *GetReleaseStatusRequest) Reset()
- func (m *GetReleaseStatusRequest) String() string
- type GetReleaseStatusResponse
- func (*GetReleaseStatusResponse) Descriptor() ([]byte, []int)
- func (m *GetReleaseStatusResponse) GetInfo() *hapi_release4.Info
- func (m *GetReleaseStatusResponse) GetName() string
- func (m *GetReleaseStatusResponse) GetNamespace() string
- func (*GetReleaseStatusResponse) ProtoMessage()
- func (m *GetReleaseStatusResponse) Reset()
- func (m *GetReleaseStatusResponse) String() string
- type GetVersionRequest
- type GetVersionResponse
- type InstallReleaseRequest
- func (*InstallReleaseRequest) Descriptor() ([]byte, []int)
- func (m *InstallReleaseRequest) GetAnnotations() map[string]string
- func (m *InstallReleaseRequest) GetChart() *hapi_chart3.Chart
- func (m *InstallReleaseRequest) GetDisableHooks() bool
- func (m *InstallReleaseRequest) GetDryRun() bool
- func (m *InstallReleaseRequest) GetName() string
- func (m *InstallReleaseRequest) GetNamespace() string
- func (m *InstallReleaseRequest) GetReuseName() bool
- func (m *InstallReleaseRequest) GetTimeout() int64
- func (m *InstallReleaseRequest) GetValues() *hapi_chart.Config
- func (m *InstallReleaseRequest) GetWait() bool
- func (*InstallReleaseRequest) ProtoMessage()
- func (m *InstallReleaseRequest) Reset()
- func (m *InstallReleaseRequest) String() string
- type InstallReleaseResponse
- type ListReleasesRequest
- func (*ListReleasesRequest) Descriptor() ([]byte, []int)
- func (m *ListReleasesRequest) GetFilter() string
- func (m *ListReleasesRequest) GetLimit() int64
- func (m *ListReleasesRequest) GetNamespace() string
- func (m *ListReleasesRequest) GetOffset() string
- func (m *ListReleasesRequest) GetSortBy() ListSort_SortBy
- func (m *ListReleasesRequest) GetSortOrder() ListSort_SortOrder
- func (m *ListReleasesRequest) GetStatusCodes() []hapi_release3.Status_Code
- func (*ListReleasesRequest) ProtoMessage()
- func (m *ListReleasesRequest) Reset()
- func (m *ListReleasesRequest) String() string
- type ListReleasesResponse
- func (*ListReleasesResponse) Descriptor() ([]byte, []int)
- func (m *ListReleasesResponse) GetCount() int64
- func (m *ListReleasesResponse) GetNext() string
- func (m *ListReleasesResponse) GetReleases() []*hapi_release5.Release
- func (m *ListReleasesResponse) GetTotal() int64
- func (*ListReleasesResponse) ProtoMessage()
- func (m *ListReleasesResponse) Reset()
- func (m *ListReleasesResponse) String() string
- type ListSort
- type ListSort_SortBy
- type ListSort_SortOrder
- type ReleaseServiceClient
- type ReleaseServiceServer
- type ReleaseService_ListReleasesClient
- type ReleaseService_ListReleasesServer
- type ReleaseService_RunReleaseTestClient
- type ReleaseService_RunReleaseTestServer
- type RollbackReleaseRequest
- func (*RollbackReleaseRequest) Descriptor() ([]byte, []int)
- func (m *RollbackReleaseRequest) GetDisableHooks() bool
- func (m *RollbackReleaseRequest) GetDryRun() bool
- func (m *RollbackReleaseRequest) GetForce() bool
- func (m *RollbackReleaseRequest) GetName() string
- func (m *RollbackReleaseRequest) GetRecreate() bool
- func (m *RollbackReleaseRequest) GetTimeout() int64
- func (m *RollbackReleaseRequest) GetVersion() int32
- func (m *RollbackReleaseRequest) GetWait() bool
- func (*RollbackReleaseRequest) ProtoMessage()
- func (m *RollbackReleaseRequest) Reset()
- func (m *RollbackReleaseRequest) String() string
- type RollbackReleaseResponse
- type TestReleaseRequest
- func (*TestReleaseRequest) Descriptor() ([]byte, []int)
- func (m *TestReleaseRequest) GetCleanup() bool
- func (m *TestReleaseRequest) GetName() string
- func (m *TestReleaseRequest) GetTimeout() int64
- func (*TestReleaseRequest) ProtoMessage()
- func (m *TestReleaseRequest) Reset()
- func (m *TestReleaseRequest) String() string
- type TestReleaseResponse
- func (*TestReleaseResponse) Descriptor() ([]byte, []int)
- func (m *TestReleaseResponse) GetMsg() string
- func (m *TestReleaseResponse) GetStatus() hapi_release1.TestRun_Status
- func (*TestReleaseResponse) ProtoMessage()
- func (m *TestReleaseResponse) Reset()
- func (m *TestReleaseResponse) String() string
- type UninstallReleaseRequest
- func (*UninstallReleaseRequest) Descriptor() ([]byte, []int)
- func (m *UninstallReleaseRequest) GetDisableHooks() bool
- func (m *UninstallReleaseRequest) GetName() string
- func (m *UninstallReleaseRequest) GetPurge() bool
- func (m *UninstallReleaseRequest) GetTimeout() int64
- func (*UninstallReleaseRequest) ProtoMessage()
- func (m *UninstallReleaseRequest) Reset()
- func (m *UninstallReleaseRequest) String() string
- type UninstallReleaseResponse
- func (*UninstallReleaseResponse) Descriptor() ([]byte, []int)
- func (m *UninstallReleaseResponse) GetInfo() string
- func (m *UninstallReleaseResponse) GetRelease() *hapi_release5.Release
- func (*UninstallReleaseResponse) ProtoMessage()
- func (m *UninstallReleaseResponse) Reset()
- func (m *UninstallReleaseResponse) String() string
- type UpdateReleaseRequest
- func (*UpdateReleaseRequest) Descriptor() ([]byte, []int)
- func (m *UpdateReleaseRequest) GetAnnotations() map[string]string
- func (m *UpdateReleaseRequest) GetChart() *hapi_chart3.Chart
- func (m *UpdateReleaseRequest) GetDisableHooks() bool
- func (m *UpdateReleaseRequest) GetDryRun() bool
- func (m *UpdateReleaseRequest) GetForce() bool
- func (m *UpdateReleaseRequest) GetName() string
- func (m *UpdateReleaseRequest) GetRecreate() bool
- func (m *UpdateReleaseRequest) GetResetValues() bool
- func (m *UpdateReleaseRequest) GetReuseValues() bool
- func (m *UpdateReleaseRequest) GetTimeout() int64
- func (m *UpdateReleaseRequest) GetValues() *hapi_chart.Config
- func (m *UpdateReleaseRequest) GetWait() bool
- func (*UpdateReleaseRequest) ProtoMessage()
- func (m *UpdateReleaseRequest) Reset()
- func (m *UpdateReleaseRequest) String() string
- type UpdateReleaseResponse
Constants ¶
This section is empty.
Variables ¶
var ListSort_SortBy_name = map[int32]string{
0: "UNKNOWN",
1: "NAME",
2: "LAST_RELEASED",
}
var ListSort_SortBy_value = map[string]int32{
"UNKNOWN": 0,
"NAME": 1,
"LAST_RELEASED": 2,
}
var ListSort_SortOrder_name = map[int32]string{
0: "ASC",
1: "DESC",
}
var ListSort_SortOrder_value = map[string]int32{
"ASC": 0,
"DESC": 1,
}
Functions ¶
func RegisterReleaseServiceServer ¶
func RegisterReleaseServiceServer(s *grpc.Server, srv ReleaseServiceServer)
Types ¶
type GetHistoryRequest ¶
type GetHistoryRequest struct { // The name of the release. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The maximum number of releases to include. Max int32 `protobuf:"varint,2,opt,name=max" json:"max,omitempty"` }
GetHistoryRequest requests a release's history.
func (*GetHistoryRequest) Descriptor ¶
func (*GetHistoryRequest) Descriptor() ([]byte, []int)
func (*GetHistoryRequest) GetMax ¶
func (m *GetHistoryRequest) GetMax() int32
func (*GetHistoryRequest) GetName ¶
func (m *GetHistoryRequest) GetName() string
func (*GetHistoryRequest) ProtoMessage ¶
func (*GetHistoryRequest) ProtoMessage()
func (*GetHistoryRequest) Reset ¶
func (m *GetHistoryRequest) Reset()
func (*GetHistoryRequest) String ¶
func (m *GetHistoryRequest) String() string
type GetHistoryResponse ¶
type GetHistoryResponse struct {
Releases []*hapi_release5.Release `protobuf:"bytes,1,rep,name=releases" json:"releases,omitempty"`
}
GetHistoryResponse is received in response to a GetHistory rpc.
func (*GetHistoryResponse) Descriptor ¶
func (*GetHistoryResponse) Descriptor() ([]byte, []int)
func (*GetHistoryResponse) GetReleases ¶
func (m *GetHistoryResponse) GetReleases() []*hapi_release5.Release
func (*GetHistoryResponse) ProtoMessage ¶
func (*GetHistoryResponse) ProtoMessage()
func (*GetHistoryResponse) Reset ¶
func (m *GetHistoryResponse) Reset()
func (*GetHistoryResponse) String ¶
func (m *GetHistoryResponse) String() string
type GetReleaseContentRequest ¶
type GetReleaseContentRequest struct { // The name of the release Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Version is the version of the release Version int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"` }
GetReleaseContentRequest is a request to get the contents of a release.
func (*GetReleaseContentRequest) Descriptor ¶
func (*GetReleaseContentRequest) Descriptor() ([]byte, []int)
func (*GetReleaseContentRequest) GetName ¶
func (m *GetReleaseContentRequest) GetName() string
func (*GetReleaseContentRequest) GetVersion ¶
func (m *GetReleaseContentRequest) GetVersion() int32
func (*GetReleaseContentRequest) ProtoMessage ¶
func (*GetReleaseContentRequest) ProtoMessage()
func (*GetReleaseContentRequest) Reset ¶
func (m *GetReleaseContentRequest) Reset()
func (*GetReleaseContentRequest) String ¶
func (m *GetReleaseContentRequest) String() string
type GetReleaseContentResponse ¶
type GetReleaseContentResponse struct { // The release content Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"` }
GetReleaseContentResponse is a response containing the contents of a release.
func (*GetReleaseContentResponse) Descriptor ¶
func (*GetReleaseContentResponse) Descriptor() ([]byte, []int)
func (*GetReleaseContentResponse) GetRelease ¶
func (m *GetReleaseContentResponse) GetRelease() *hapi_release5.Release
func (*GetReleaseContentResponse) ProtoMessage ¶
func (*GetReleaseContentResponse) ProtoMessage()
func (*GetReleaseContentResponse) Reset ¶
func (m *GetReleaseContentResponse) Reset()
func (*GetReleaseContentResponse) String ¶
func (m *GetReleaseContentResponse) String() string
type GetReleaseStatusRequest ¶
type GetReleaseStatusRequest struct { // Name is the name of the release Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Version is the version of the release Version int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"` }
GetReleaseStatusRequest is a request to get the status of a release.
func (*GetReleaseStatusRequest) Descriptor ¶
func (*GetReleaseStatusRequest) Descriptor() ([]byte, []int)
func (*GetReleaseStatusRequest) GetName ¶
func (m *GetReleaseStatusRequest) GetName() string
func (*GetReleaseStatusRequest) GetVersion ¶
func (m *GetReleaseStatusRequest) GetVersion() int32
func (*GetReleaseStatusRequest) ProtoMessage ¶
func (*GetReleaseStatusRequest) ProtoMessage()
func (*GetReleaseStatusRequest) Reset ¶
func (m *GetReleaseStatusRequest) Reset()
func (*GetReleaseStatusRequest) String ¶
func (m *GetReleaseStatusRequest) String() string
type GetReleaseStatusResponse ¶
type GetReleaseStatusResponse struct { // Name is the name of the release. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Info contains information about the release. Info *hapi_release4.Info `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"` // Namesapce the release was released into Namespace string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"` }
GetReleaseStatusResponse is the response indicating the status of the named release.
func (*GetReleaseStatusResponse) Descriptor ¶
func (*GetReleaseStatusResponse) Descriptor() ([]byte, []int)
func (*GetReleaseStatusResponse) GetInfo ¶
func (m *GetReleaseStatusResponse) GetInfo() *hapi_release4.Info
func (*GetReleaseStatusResponse) GetName ¶
func (m *GetReleaseStatusResponse) GetName() string
func (*GetReleaseStatusResponse) GetNamespace ¶
func (m *GetReleaseStatusResponse) GetNamespace() string
func (*GetReleaseStatusResponse) ProtoMessage ¶
func (*GetReleaseStatusResponse) ProtoMessage()
func (*GetReleaseStatusResponse) Reset ¶
func (m *GetReleaseStatusResponse) Reset()
func (*GetReleaseStatusResponse) String ¶
func (m *GetReleaseStatusResponse) String() string
type GetVersionRequest ¶
type GetVersionRequest struct { }
GetVersionRequest requests for version information.
func (*GetVersionRequest) Descriptor ¶
func (*GetVersionRequest) Descriptor() ([]byte, []int)
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) Reset ¶
func (m *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (m *GetVersionRequest) String() string
type GetVersionResponse ¶
type GetVersionResponse struct {
Version *hapi_version.Version `protobuf:"bytes,1,opt,name=Version" json:"Version,omitempty"`
}
func (*GetVersionResponse) Descriptor ¶
func (*GetVersionResponse) Descriptor() ([]byte, []int)
func (*GetVersionResponse) GetVersion ¶
func (m *GetVersionResponse) GetVersion() *hapi_version.Version
func (*GetVersionResponse) ProtoMessage ¶
func (*GetVersionResponse) ProtoMessage()
func (*GetVersionResponse) Reset ¶
func (m *GetVersionResponse) Reset()
func (*GetVersionResponse) String ¶
func (m *GetVersionResponse) String() string
type InstallReleaseRequest ¶
type InstallReleaseRequest struct { // Chart is the protobuf representation of a chart. Chart *hapi_chart3.Chart `protobuf:"bytes,1,opt,name=chart" json:"chart,omitempty"` // Values is a string containing (unparsed) YAML values. Values *hapi_chart.Config `protobuf:"bytes,2,opt,name=values" json:"values,omitempty"` // DryRun, if true, will run through the release logic, but neither create // a release object nor deploy to Kubernetes. The release object returned // in the response will be fake. DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"` // Name is the candidate release name. This must be unique to the // namespace, otherwise the server will return an error. If it is not // supplied, the server will autogenerate one. Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` // DisableHooks causes the server to skip running any hooks for the install. DisableHooks bool `protobuf:"varint,5,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"` // Namepace is the kubernetes namespace of the release. Namespace string `protobuf:"bytes,6,opt,name=namespace" json:"namespace,omitempty"` // ReuseName requests that Tiller re-uses a name, instead of erroring out. ReuseName bool `protobuf:"varint,7,opt,name=reuse_name,json=reuseName" json:"reuse_name,omitempty"` // timeout specifies the max amount of time any kubernetes client command can run. Timeout int64 `protobuf:"varint,8,opt,name=timeout" json:"timeout,omitempty"` // wait, if true, will wait until all Pods, PVCs, and Services are in a ready state // before marking the release as successful. It will wait for as long as timeout Wait bool `protobuf:"varint,9,opt,name=wait" json:"wait,omitempty"` // Annotations is an unstructured key value map stored with a release that // may be set by external tools to store and retrieve arbitrary metadata. Annotations map[string]string `` /* 143-byte string literal not displayed */ }
InstallReleaseRequest is the request for an installation of a chart.
func (*InstallReleaseRequest) Descriptor ¶
func (*InstallReleaseRequest) Descriptor() ([]byte, []int)
func (*InstallReleaseRequest) GetAnnotations ¶
func (m *InstallReleaseRequest) GetAnnotations() map[string]string
func (*InstallReleaseRequest) GetChart ¶
func (m *InstallReleaseRequest) GetChart() *hapi_chart3.Chart
func (*InstallReleaseRequest) GetDisableHooks ¶
func (m *InstallReleaseRequest) GetDisableHooks() bool
func (*InstallReleaseRequest) GetDryRun ¶
func (m *InstallReleaseRequest) GetDryRun() bool
func (*InstallReleaseRequest) GetName ¶
func (m *InstallReleaseRequest) GetName() string
func (*InstallReleaseRequest) GetNamespace ¶
func (m *InstallReleaseRequest) GetNamespace() string
func (*InstallReleaseRequest) GetReuseName ¶
func (m *InstallReleaseRequest) GetReuseName() bool
func (*InstallReleaseRequest) GetTimeout ¶
func (m *InstallReleaseRequest) GetTimeout() int64
func (*InstallReleaseRequest) GetValues ¶
func (m *InstallReleaseRequest) GetValues() *hapi_chart.Config
func (*InstallReleaseRequest) GetWait ¶
func (m *InstallReleaseRequest) GetWait() bool
func (*InstallReleaseRequest) ProtoMessage ¶
func (*InstallReleaseRequest) ProtoMessage()
func (*InstallReleaseRequest) Reset ¶
func (m *InstallReleaseRequest) Reset()
func (*InstallReleaseRequest) String ¶
func (m *InstallReleaseRequest) String() string
type InstallReleaseResponse ¶
type InstallReleaseResponse struct {
Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
}
InstallReleaseResponse is the response from a release installation.
func (*InstallReleaseResponse) Descriptor ¶
func (*InstallReleaseResponse) Descriptor() ([]byte, []int)
func (*InstallReleaseResponse) GetRelease ¶
func (m *InstallReleaseResponse) GetRelease() *hapi_release5.Release
func (*InstallReleaseResponse) ProtoMessage ¶
func (*InstallReleaseResponse) ProtoMessage()
func (*InstallReleaseResponse) Reset ¶
func (m *InstallReleaseResponse) Reset()
func (*InstallReleaseResponse) String ¶
func (m *InstallReleaseResponse) String() string
type ListReleasesRequest ¶
type ListReleasesRequest struct { // Limit is the maximum number of releases to be returned. Limit int64 `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"` // Offset is the last release name that was seen. The next listing // operation will start with the name after this one. // Example: If list one returns albert, bernie, carl, and sets 'next: dennis'. // dennis is the offset. Supplying 'dennis' for the next request should // cause the next batch to return a set of results starting with 'dennis'. Offset string `protobuf:"bytes,2,opt,name=offset" json:"offset,omitempty"` // SortBy is the sort field that the ListReleases server should sort data before returning. SortBy ListSort_SortBy `protobuf:"varint,3,opt,name=sort_by,json=sortBy,enum=hapi.services.tiller.ListSort_SortBy" json:"sort_by,omitempty"` // Filter is a regular expression used to filter which releases should be listed. // // Anything that matches the regexp will be included in the results. Filter string `protobuf:"bytes,4,opt,name=filter" json:"filter,omitempty"` // SortOrder is the ordering directive used for sorting. SortOrder ListSort_SortOrder `` /* 127-byte string literal not displayed */ StatusCodes []hapi_release3.Status_Code `protobuf:"varint,6,rep,packed,name=status_codes,json=statusCodes,enum=hapi.release.Status_Code" json:"status_codes,omitempty"` // Namespace is the filter to select releases only from a specific namespace. Namespace string `protobuf:"bytes,7,opt,name=namespace" json:"namespace,omitempty"` }
ListReleasesRequest requests a list of releases.
Releases can be retrieved in chunks by setting limit and offset.
Releases can be sorted according to a few pre-determined sort stategies.
func (*ListReleasesRequest) Descriptor ¶
func (*ListReleasesRequest) Descriptor() ([]byte, []int)
func (*ListReleasesRequest) GetFilter ¶
func (m *ListReleasesRequest) GetFilter() string
func (*ListReleasesRequest) GetLimit ¶
func (m *ListReleasesRequest) GetLimit() int64
func (*ListReleasesRequest) GetNamespace ¶
func (m *ListReleasesRequest) GetNamespace() string
func (*ListReleasesRequest) GetOffset ¶
func (m *ListReleasesRequest) GetOffset() string
func (*ListReleasesRequest) GetSortBy ¶
func (m *ListReleasesRequest) GetSortBy() ListSort_SortBy
func (*ListReleasesRequest) GetSortOrder ¶
func (m *ListReleasesRequest) GetSortOrder() ListSort_SortOrder
func (*ListReleasesRequest) GetStatusCodes ¶
func (m *ListReleasesRequest) GetStatusCodes() []hapi_release3.Status_Code
func (*ListReleasesRequest) ProtoMessage ¶
func (*ListReleasesRequest) ProtoMessage()
func (*ListReleasesRequest) Reset ¶
func (m *ListReleasesRequest) Reset()
func (*ListReleasesRequest) String ¶
func (m *ListReleasesRequest) String() string
type ListReleasesResponse ¶
type ListReleasesResponse struct { // Count is the expected total number of releases to be returned. Count int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"` // Next is the name of the next release. If this is other than an empty // string, it means there are more results. Next string `protobuf:"bytes,2,opt,name=next" json:"next,omitempty"` // Total is the total number of queryable releases. Total int64 `protobuf:"varint,3,opt,name=total" json:"total,omitempty"` // Releases is the list of found release objects. Releases []*hapi_release5.Release `protobuf:"bytes,4,rep,name=releases" json:"releases,omitempty"` }
ListReleasesResponse is a list of releases.
func (*ListReleasesResponse) Descriptor ¶
func (*ListReleasesResponse) Descriptor() ([]byte, []int)
func (*ListReleasesResponse) GetCount ¶
func (m *ListReleasesResponse) GetCount() int64
func (*ListReleasesResponse) GetNext ¶
func (m *ListReleasesResponse) GetNext() string
func (*ListReleasesResponse) GetReleases ¶
func (m *ListReleasesResponse) GetReleases() []*hapi_release5.Release
func (*ListReleasesResponse) GetTotal ¶
func (m *ListReleasesResponse) GetTotal() int64
func (*ListReleasesResponse) ProtoMessage ¶
func (*ListReleasesResponse) ProtoMessage()
func (*ListReleasesResponse) Reset ¶
func (m *ListReleasesResponse) Reset()
func (*ListReleasesResponse) String ¶
func (m *ListReleasesResponse) String() string
type ListSort ¶
type ListSort struct { }
ListSort defines sorting fields on a release list.
func (*ListSort) Descriptor ¶
func (*ListSort) ProtoMessage ¶
func (*ListSort) ProtoMessage()
type ListSort_SortBy ¶
type ListSort_SortBy int32
SortBy defines sort operations.
const ( ListSort_UNKNOWN ListSort_SortBy = 0 ListSort_NAME ListSort_SortBy = 1 ListSort_LAST_RELEASED ListSort_SortBy = 2 )
func (ListSort_SortBy) EnumDescriptor ¶
func (ListSort_SortBy) EnumDescriptor() ([]byte, []int)
func (ListSort_SortBy) String ¶
func (x ListSort_SortBy) String() string
type ListSort_SortOrder ¶
type ListSort_SortOrder int32
SortOrder defines sort orders to augment sorting operations.
const ( ListSort_ASC ListSort_SortOrder = 0 ListSort_DESC ListSort_SortOrder = 1 )
func (ListSort_SortOrder) EnumDescriptor ¶
func (ListSort_SortOrder) EnumDescriptor() ([]byte, []int)
func (ListSort_SortOrder) String ¶
func (x ListSort_SortOrder) String() string
type ReleaseServiceClient ¶
type ReleaseServiceClient interface { // ListReleases retrieves release history. // TODO: Allow filtering the set of releases by // release status. By default, ListAllReleases returns the releases who // current status is "Active". ListReleases(ctx context.Context, in *ListReleasesRequest, opts ...grpc.CallOption) (ReleaseService_ListReleasesClient, error) // GetReleasesStatus retrieves status information for the specified release. GetReleaseStatus(ctx context.Context, in *GetReleaseStatusRequest, opts ...grpc.CallOption) (*GetReleaseStatusResponse, error) // GetReleaseContent retrieves the release content (chart + value) for the specified release. GetReleaseContent(ctx context.Context, in *GetReleaseContentRequest, opts ...grpc.CallOption) (*GetReleaseContentResponse, error) // UpdateRelease updates release content. UpdateRelease(ctx context.Context, in *UpdateReleaseRequest, opts ...grpc.CallOption) (*UpdateReleaseResponse, error) // InstallRelease requests installation of a chart as a new release. InstallRelease(ctx context.Context, in *InstallReleaseRequest, opts ...grpc.CallOption) (*InstallReleaseResponse, error) // UninstallRelease requests deletion of a named release. UninstallRelease(ctx context.Context, in *UninstallReleaseRequest, opts ...grpc.CallOption) (*UninstallReleaseResponse, error) // GetVersion returns the current version of the server. GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error) // RollbackRelease rolls back a release to a previous version. RollbackRelease(ctx context.Context, in *RollbackReleaseRequest, opts ...grpc.CallOption) (*RollbackReleaseResponse, error) // ReleaseHistory retrieves a releasse's history. GetHistory(ctx context.Context, in *GetHistoryRequest, opts ...grpc.CallOption) (*GetHistoryResponse, error) // RunReleaseTest executes the tests defined of a named release RunReleaseTest(ctx context.Context, in *TestReleaseRequest, opts ...grpc.CallOption) (ReleaseService_RunReleaseTestClient, error) }
func NewReleaseServiceClient ¶
func NewReleaseServiceClient(cc *grpc.ClientConn) ReleaseServiceClient
type ReleaseServiceServer ¶
type ReleaseServiceServer interface { // ListReleases retrieves release history. // TODO: Allow filtering the set of releases by // release status. By default, ListAllReleases returns the releases who // current status is "Active". ListReleases(*ListReleasesRequest, ReleaseService_ListReleasesServer) error // GetReleasesStatus retrieves status information for the specified release. GetReleaseStatus(context.Context, *GetReleaseStatusRequest) (*GetReleaseStatusResponse, error) // GetReleaseContent retrieves the release content (chart + value) for the specified release. GetReleaseContent(context.Context, *GetReleaseContentRequest) (*GetReleaseContentResponse, error) // UpdateRelease updates release content. UpdateRelease(context.Context, *UpdateReleaseRequest) (*UpdateReleaseResponse, error) // InstallRelease requests installation of a chart as a new release. InstallRelease(context.Context, *InstallReleaseRequest) (*InstallReleaseResponse, error) // UninstallRelease requests deletion of a named release. UninstallRelease(context.Context, *UninstallReleaseRequest) (*UninstallReleaseResponse, error) // GetVersion returns the current version of the server. GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error) // RollbackRelease rolls back a release to a previous version. RollbackRelease(context.Context, *RollbackReleaseRequest) (*RollbackReleaseResponse, error) // ReleaseHistory retrieves a releasse's history. GetHistory(context.Context, *GetHistoryRequest) (*GetHistoryResponse, error) // RunReleaseTest executes the tests defined of a named release RunReleaseTest(*TestReleaseRequest, ReleaseService_RunReleaseTestServer) error }
type ReleaseService_ListReleasesClient ¶
type ReleaseService_ListReleasesClient interface { Recv() (*ListReleasesResponse, error) grpc.ClientStream }
type ReleaseService_ListReleasesServer ¶
type ReleaseService_ListReleasesServer interface { Send(*ListReleasesResponse) error grpc.ServerStream }
type ReleaseService_RunReleaseTestClient ¶
type ReleaseService_RunReleaseTestClient interface { Recv() (*TestReleaseResponse, error) grpc.ClientStream }
type ReleaseService_RunReleaseTestServer ¶
type ReleaseService_RunReleaseTestServer interface { Send(*TestReleaseResponse) error grpc.ServerStream }
type RollbackReleaseRequest ¶
type RollbackReleaseRequest struct { // The name of the release Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // dry_run, if true, will run through the release logic but no create DryRun bool `protobuf:"varint,2,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"` // DisableHooks causes the server to skip running any hooks for the rollback DisableHooks bool `protobuf:"varint,3,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"` // Version is the version of the release to deploy. Version int32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"` // Performs pods restart for resources if applicable Recreate bool `protobuf:"varint,5,opt,name=recreate" json:"recreate,omitempty"` // timeout specifies the max amount of time any kubernetes client command can run. Timeout int64 `protobuf:"varint,6,opt,name=timeout" json:"timeout,omitempty"` // wait, if true, will wait until all Pods, PVCs, and Services are in a ready state // before marking the release as successful. It will wait for as long as timeout Wait bool `protobuf:"varint,7,opt,name=wait" json:"wait,omitempty"` // Force resource update through delete/recreate if needed. Force bool `protobuf:"varint,8,opt,name=force" json:"force,omitempty"` }
func (*RollbackReleaseRequest) Descriptor ¶
func (*RollbackReleaseRequest) Descriptor() ([]byte, []int)
func (*RollbackReleaseRequest) GetDisableHooks ¶
func (m *RollbackReleaseRequest) GetDisableHooks() bool
func (*RollbackReleaseRequest) GetDryRun ¶
func (m *RollbackReleaseRequest) GetDryRun() bool
func (*RollbackReleaseRequest) GetForce ¶
func (m *RollbackReleaseRequest) GetForce() bool
func (*RollbackReleaseRequest) GetName ¶
func (m *RollbackReleaseRequest) GetName() string
func (*RollbackReleaseRequest) GetRecreate ¶
func (m *RollbackReleaseRequest) GetRecreate() bool
func (*RollbackReleaseRequest) GetTimeout ¶
func (m *RollbackReleaseRequest) GetTimeout() int64
func (*RollbackReleaseRequest) GetVersion ¶
func (m *RollbackReleaseRequest) GetVersion() int32
func (*RollbackReleaseRequest) GetWait ¶
func (m *RollbackReleaseRequest) GetWait() bool
func (*RollbackReleaseRequest) ProtoMessage ¶
func (*RollbackReleaseRequest) ProtoMessage()
func (*RollbackReleaseRequest) Reset ¶
func (m *RollbackReleaseRequest) Reset()
func (*RollbackReleaseRequest) String ¶
func (m *RollbackReleaseRequest) String() string
type RollbackReleaseResponse ¶
type RollbackReleaseResponse struct {
Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
}
RollbackReleaseResponse is the response to an update request.
func (*RollbackReleaseResponse) Descriptor ¶
func (*RollbackReleaseResponse) Descriptor() ([]byte, []int)
func (*RollbackReleaseResponse) GetRelease ¶
func (m *RollbackReleaseResponse) GetRelease() *hapi_release5.Release
func (*RollbackReleaseResponse) ProtoMessage ¶
func (*RollbackReleaseResponse) ProtoMessage()
func (*RollbackReleaseResponse) Reset ¶
func (m *RollbackReleaseResponse) Reset()
func (*RollbackReleaseResponse) String ¶
func (m *RollbackReleaseResponse) String() string
type TestReleaseRequest ¶
type TestReleaseRequest struct { // Name is the name of the release Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // timeout specifies the max amount of time any kubernetes client command can run. Timeout int64 `protobuf:"varint,2,opt,name=timeout" json:"timeout,omitempty"` // cleanup specifies whether or not to attempt pod deletion after test completes Cleanup bool `protobuf:"varint,3,opt,name=cleanup" json:"cleanup,omitempty"` }
TestReleaseRequest is a request to get the status of a release.
func (*TestReleaseRequest) Descriptor ¶
func (*TestReleaseRequest) Descriptor() ([]byte, []int)
func (*TestReleaseRequest) GetCleanup ¶
func (m *TestReleaseRequest) GetCleanup() bool
func (*TestReleaseRequest) GetName ¶
func (m *TestReleaseRequest) GetName() string
func (*TestReleaseRequest) GetTimeout ¶
func (m *TestReleaseRequest) GetTimeout() int64
func (*TestReleaseRequest) ProtoMessage ¶
func (*TestReleaseRequest) ProtoMessage()
func (*TestReleaseRequest) Reset ¶
func (m *TestReleaseRequest) Reset()
func (*TestReleaseRequest) String ¶
func (m *TestReleaseRequest) String() string
type TestReleaseResponse ¶
type TestReleaseResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"` Status hapi_release1.TestRun_Status `protobuf:"varint,2,opt,name=status,enum=hapi.release.TestRun_Status" json:"status,omitempty"` }
TestReleaseResponse represents a message from executing a test
func (*TestReleaseResponse) Descriptor ¶
func (*TestReleaseResponse) Descriptor() ([]byte, []int)
func (*TestReleaseResponse) GetMsg ¶
func (m *TestReleaseResponse) GetMsg() string
func (*TestReleaseResponse) GetStatus ¶
func (m *TestReleaseResponse) GetStatus() hapi_release1.TestRun_Status
func (*TestReleaseResponse) ProtoMessage ¶
func (*TestReleaseResponse) ProtoMessage()
func (*TestReleaseResponse) Reset ¶
func (m *TestReleaseResponse) Reset()
func (*TestReleaseResponse) String ¶
func (m *TestReleaseResponse) String() string
type UninstallReleaseRequest ¶
type UninstallReleaseRequest struct { // Name is the name of the release to delete. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // DisableHooks causes the server to skip running any hooks for the uninstall. DisableHooks bool `protobuf:"varint,2,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"` // Purge removes the release from the store and make its name free for later use. Purge bool `protobuf:"varint,3,opt,name=purge" json:"purge,omitempty"` // timeout specifies the max amount of time any kubernetes client command can run. Timeout int64 `protobuf:"varint,4,opt,name=timeout" json:"timeout,omitempty"` }
UninstallReleaseRequest represents a request to uninstall a named release.
func (*UninstallReleaseRequest) Descriptor ¶
func (*UninstallReleaseRequest) Descriptor() ([]byte, []int)
func (*UninstallReleaseRequest) GetDisableHooks ¶
func (m *UninstallReleaseRequest) GetDisableHooks() bool
func (*UninstallReleaseRequest) GetName ¶
func (m *UninstallReleaseRequest) GetName() string
func (*UninstallReleaseRequest) GetPurge ¶
func (m *UninstallReleaseRequest) GetPurge() bool
func (*UninstallReleaseRequest) GetTimeout ¶
func (m *UninstallReleaseRequest) GetTimeout() int64
func (*UninstallReleaseRequest) ProtoMessage ¶
func (*UninstallReleaseRequest) ProtoMessage()
func (*UninstallReleaseRequest) Reset ¶
func (m *UninstallReleaseRequest) Reset()
func (*UninstallReleaseRequest) String ¶
func (m *UninstallReleaseRequest) String() string
type UninstallReleaseResponse ¶
type UninstallReleaseResponse struct { // Release is the release that was marked deleted. Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"` // Info is an uninstall message Info string `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"` }
UninstallReleaseResponse represents a successful response to an uninstall request.
func (*UninstallReleaseResponse) Descriptor ¶
func (*UninstallReleaseResponse) Descriptor() ([]byte, []int)
func (*UninstallReleaseResponse) GetInfo ¶
func (m *UninstallReleaseResponse) GetInfo() string
func (*UninstallReleaseResponse) GetRelease ¶
func (m *UninstallReleaseResponse) GetRelease() *hapi_release5.Release
func (*UninstallReleaseResponse) ProtoMessage ¶
func (*UninstallReleaseResponse) ProtoMessage()
func (*UninstallReleaseResponse) Reset ¶
func (m *UninstallReleaseResponse) Reset()
func (*UninstallReleaseResponse) String ¶
func (m *UninstallReleaseResponse) String() string
type UpdateReleaseRequest ¶
type UpdateReleaseRequest struct { // The name of the release Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Chart is the protobuf representation of a chart. Chart *hapi_chart3.Chart `protobuf:"bytes,2,opt,name=chart" json:"chart,omitempty"` // Values is a string containing (unparsed) YAML values. Values *hapi_chart.Config `protobuf:"bytes,3,opt,name=values" json:"values,omitempty"` // dry_run, if true, will run through the release logic, but neither create DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"` // DisableHooks causes the server to skip running any hooks for the upgrade. DisableHooks bool `protobuf:"varint,5,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"` // Performs pods restart for resources if applicable Recreate bool `protobuf:"varint,6,opt,name=recreate" json:"recreate,omitempty"` // timeout specifies the max amount of time any kubernetes client command can run. Timeout int64 `protobuf:"varint,7,opt,name=timeout" json:"timeout,omitempty"` // ResetValues will cause Tiller to ignore stored values, resetting to default values. ResetValues bool `protobuf:"varint,8,opt,name=reset_values,json=resetValues" json:"reset_values,omitempty"` // wait, if true, will wait until all Pods, PVCs, and Services are in a ready state // before marking the release as successful. It will wait for as long as timeout Wait bool `protobuf:"varint,9,opt,name=wait" json:"wait,omitempty"` // ReuseValues will cause Tiller to reuse the values from the last release. // This is ignored if reset_values is set. ReuseValues bool `protobuf:"varint,10,opt,name=reuse_values,json=reuseValues" json:"reuse_values,omitempty"` // Force resource update through delete/recreate if needed. Force bool `protobuf:"varint,11,opt,name=force" json:"force,omitempty"` // Annotations is an unstructured key value map stored with a release that // may be set by external tools to store and retrieve arbitrary metadata. Annotations map[string]string `` /* 143-byte string literal not displayed */ }
UpdateReleaseRequest updates a release.
func (*UpdateReleaseRequest) Descriptor ¶
func (*UpdateReleaseRequest) Descriptor() ([]byte, []int)
func (*UpdateReleaseRequest) GetAnnotations ¶
func (m *UpdateReleaseRequest) GetAnnotations() map[string]string
func (*UpdateReleaseRequest) GetChart ¶
func (m *UpdateReleaseRequest) GetChart() *hapi_chart3.Chart
func (*UpdateReleaseRequest) GetDisableHooks ¶
func (m *UpdateReleaseRequest) GetDisableHooks() bool
func (*UpdateReleaseRequest) GetDryRun ¶
func (m *UpdateReleaseRequest) GetDryRun() bool
func (*UpdateReleaseRequest) GetForce ¶
func (m *UpdateReleaseRequest) GetForce() bool
func (*UpdateReleaseRequest) GetName ¶
func (m *UpdateReleaseRequest) GetName() string
func (*UpdateReleaseRequest) GetRecreate ¶
func (m *UpdateReleaseRequest) GetRecreate() bool
func (*UpdateReleaseRequest) GetResetValues ¶
func (m *UpdateReleaseRequest) GetResetValues() bool
func (*UpdateReleaseRequest) GetReuseValues ¶
func (m *UpdateReleaseRequest) GetReuseValues() bool
func (*UpdateReleaseRequest) GetTimeout ¶
func (m *UpdateReleaseRequest) GetTimeout() int64
func (*UpdateReleaseRequest) GetValues ¶
func (m *UpdateReleaseRequest) GetValues() *hapi_chart.Config
func (*UpdateReleaseRequest) GetWait ¶
func (m *UpdateReleaseRequest) GetWait() bool
func (*UpdateReleaseRequest) ProtoMessage ¶
func (*UpdateReleaseRequest) ProtoMessage()
func (*UpdateReleaseRequest) Reset ¶
func (m *UpdateReleaseRequest) Reset()
func (*UpdateReleaseRequest) String ¶
func (m *UpdateReleaseRequest) String() string
type UpdateReleaseResponse ¶
type UpdateReleaseResponse struct {
Release *hapi_release5.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
}
UpdateReleaseResponse is the response to an update request.
func (*UpdateReleaseResponse) Descriptor ¶
func (*UpdateReleaseResponse) Descriptor() ([]byte, []int)
func (*UpdateReleaseResponse) GetRelease ¶
func (m *UpdateReleaseResponse) GetRelease() *hapi_release5.Release
func (*UpdateReleaseResponse) ProtoMessage ¶
func (*UpdateReleaseResponse) ProtoMessage()
func (*UpdateReleaseResponse) Reset ¶
func (m *UpdateReleaseResponse) Reset()
func (*UpdateReleaseResponse) String ¶
func (m *UpdateReleaseResponse) String() string