services

package
v2.0.0-alpha.2....-120256e Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2016 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
InstallReleaseRequest
InstallReleaseResponse
UninstallReleaseRequest
UninstallReleaseResponse

Index

Constants

This section is empty.

Variables

View Source
var ListSort_SortBy_name = map[int32]string{
	0: "UNKNOWN",
	1: "NAME",
	2: "LAST_RELEASED",
}
View Source
var ListSort_SortBy_value = map[string]int32{
	"UNKNOWN":       0,
	"NAME":          1,
	"LAST_RELEASED": 2,
}
View Source
var ListSort_SortOrder_name = map[int32]string{
	0: "ASC",
	1: "DESC",
}
View Source
var ListSort_SortOrder_value = map[string]int32{
	"ASC":  0,
	"DESC": 1,
}

Functions

func RegisterReleaseServiceServer

func RegisterReleaseServiceServer(s *grpc.Server, srv ReleaseServiceServer)

Types

type GetReleaseContentRequest

type GetReleaseContentRequest struct {
	// The name of the release
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

GetReleaseContentRequest is a request to get the contents of a release.

func (*GetReleaseContentRequest) Descriptor

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

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_release3.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 (*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"`
}

GetReleaseStatusRequest is a request to get the status of a release.

func (*GetReleaseStatusRequest) Descriptor

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

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_release2.Info `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
}

GetReleaseStatusResponse is the response indicating the status of the named release.

func (*GetReleaseStatusResponse) Descriptor

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

func (*GetReleaseStatusResponse) GetInfo

func (*GetReleaseStatusResponse) ProtoMessage

func (*GetReleaseStatusResponse) ProtoMessage()

func (*GetReleaseStatusResponse) Reset

func (m *GetReleaseStatusResponse) Reset()

func (*GetReleaseStatusResponse) String

func (m *GetReleaseStatusResponse) 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"`
}

InstallReleaseRequest is the request for an installation of a chart.

func (*InstallReleaseRequest) Descriptor

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

func (*InstallReleaseRequest) GetChart

func (m *InstallReleaseRequest) GetChart() *hapi_chart3.Chart

func (*InstallReleaseRequest) GetValues

func (m *InstallReleaseRequest) GetValues() *hapi_chart.Config

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_release3.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_release3.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 ListSort_SortOrder `` /* 127-byte string literal not displayed */
}

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) 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_release3.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) GetReleases

func (m *ListReleasesResponse) GetReleases() []*hapi_release3.Release

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) Descriptor() ([]byte, []int)

func (*ListSort) ProtoMessage

func (*ListSort) ProtoMessage()

func (*ListSort) Reset

func (m *ListSort) Reset()

func (*ListSort) String

func (m *ListSort) String() string

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 specifed 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)
}

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 specifed 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)
}

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 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"`
}

UninstallReleaseRequest represents a request to uninstall a named release.

func (*UninstallReleaseRequest) Descriptor

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

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_release3.Release `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
}

UninstallReleaseResponse represents a successful response to an uninstall request.

func (*UninstallReleaseResponse) Descriptor

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

func (*UninstallReleaseResponse) GetRelease

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"`
}

UpdateReleaseRequest updates a release.

func (*UpdateReleaseRequest) Descriptor

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

func (*UpdateReleaseRequest) GetChart

func (m *UpdateReleaseRequest) GetChart() *hapi_chart3.Chart

func (*UpdateReleaseRequest) GetValues

func (m *UpdateReleaseRequest) GetValues() *hapi_chart.Config

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_release3.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_release3.Release

func (*UpdateReleaseResponse) ProtoMessage

func (*UpdateReleaseResponse) ProtoMessage()

func (*UpdateReleaseResponse) Reset

func (m *UpdateReleaseResponse) Reset()

func (*UpdateReleaseResponse) String

func (m *UpdateReleaseResponse) String() string

Jump to

Keyboard shortcuts

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