services

package
v2.15.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 8 Imported by: 1,135

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ListSort_SortBy_name = map[int32]string{
	0: "UNKNOWN",
	1: "NAME",
	2: "LAST_RELEASED",
	3: "CHART_NAME",
}
View Source
var ListSort_SortBy_value = map[string]int32{
	"UNKNOWN":       0,
	"NAME":          1,
	"LAST_RELEASED": 2,
	"CHART_NAME":    3,
}
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 GetHistoryRequest

type GetHistoryRequest struct {
	// The name of the release.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The maximum number of releases to include.
	Max                  int32    `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetHistoryRequest) XXX_DiscardUnknown

func (m *GetHistoryRequest) XXX_DiscardUnknown()

func (*GetHistoryRequest) XXX_Marshal

func (m *GetHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetHistoryRequest) XXX_Merge

func (dst *GetHistoryRequest) XXX_Merge(src proto.Message)

func (*GetHistoryRequest) XXX_Size

func (m *GetHistoryRequest) XXX_Size() int

func (*GetHistoryRequest) XXX_Unmarshal

func (m *GetHistoryRequest) XXX_Unmarshal(b []byte) error

type GetHistoryResponse

type GetHistoryResponse struct {
	Releases             []*release.Release `protobuf:"bytes,1,rep,name=releases,proto3" json:"releases,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

GetHistoryResponse is received in response to a GetHistory rpc.

func (*GetHistoryResponse) Descriptor

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

func (*GetHistoryResponse) GetReleases

func (m *GetHistoryResponse) GetReleases() []*release.Release

func (*GetHistoryResponse) ProtoMessage

func (*GetHistoryResponse) ProtoMessage()

func (*GetHistoryResponse) Reset

func (m *GetHistoryResponse) Reset()

func (*GetHistoryResponse) String

func (m *GetHistoryResponse) String() string

func (*GetHistoryResponse) XXX_DiscardUnknown

func (m *GetHistoryResponse) XXX_DiscardUnknown()

func (*GetHistoryResponse) XXX_Marshal

func (m *GetHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetHistoryResponse) XXX_Merge

func (dst *GetHistoryResponse) XXX_Merge(src proto.Message)

func (*GetHistoryResponse) XXX_Size

func (m *GetHistoryResponse) XXX_Size() int

func (*GetHistoryResponse) XXX_Unmarshal

func (m *GetHistoryResponse) XXX_Unmarshal(b []byte) error

type GetReleaseContentRequest

type GetReleaseContentRequest struct {
	// The name of the release
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Version is the version of the release
	Version              int32    `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetReleaseContentRequest) XXX_DiscardUnknown

func (m *GetReleaseContentRequest) XXX_DiscardUnknown()

func (*GetReleaseContentRequest) XXX_Marshal

func (m *GetReleaseContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetReleaseContentRequest) XXX_Merge

func (dst *GetReleaseContentRequest) XXX_Merge(src proto.Message)

func (*GetReleaseContentRequest) XXX_Size

func (m *GetReleaseContentRequest) XXX_Size() int

func (*GetReleaseContentRequest) XXX_Unmarshal

func (m *GetReleaseContentRequest) XXX_Unmarshal(b []byte) error

type GetReleaseContentResponse

type GetReleaseContentResponse struct {
	// The release content
	Release              *release.Release `protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

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() *release.Release

func (*GetReleaseContentResponse) ProtoMessage

func (*GetReleaseContentResponse) ProtoMessage()

func (*GetReleaseContentResponse) Reset

func (m *GetReleaseContentResponse) Reset()

func (*GetReleaseContentResponse) String

func (m *GetReleaseContentResponse) String() string

func (*GetReleaseContentResponse) XXX_DiscardUnknown

func (m *GetReleaseContentResponse) XXX_DiscardUnknown()

func (*GetReleaseContentResponse) XXX_Marshal

func (m *GetReleaseContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetReleaseContentResponse) XXX_Merge

func (dst *GetReleaseContentResponse) XXX_Merge(src proto.Message)

func (*GetReleaseContentResponse) XXX_Size

func (m *GetReleaseContentResponse) XXX_Size() int

func (*GetReleaseContentResponse) XXX_Unmarshal

func (m *GetReleaseContentResponse) XXX_Unmarshal(b []byte) error

type GetReleaseStatusRequest

type GetReleaseStatusRequest struct {
	// Name is the name of the release
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Version is the version of the release
	Version              int32    `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetReleaseStatusRequest) XXX_DiscardUnknown

func (m *GetReleaseStatusRequest) XXX_DiscardUnknown()

func (*GetReleaseStatusRequest) XXX_Marshal

func (m *GetReleaseStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetReleaseStatusRequest) XXX_Merge

func (dst *GetReleaseStatusRequest) XXX_Merge(src proto.Message)

func (*GetReleaseStatusRequest) XXX_Size

func (m *GetReleaseStatusRequest) XXX_Size() int

func (*GetReleaseStatusRequest) XXX_Unmarshal

func (m *GetReleaseStatusRequest) XXX_Unmarshal(b []byte) error

type GetReleaseStatusResponse

type GetReleaseStatusResponse struct {
	// Name is the name of the release.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Info contains information about the release.
	Info *release.Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// Namespace the release was released into
	Namespace            string   `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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() *release.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

func (*GetReleaseStatusResponse) XXX_DiscardUnknown

func (m *GetReleaseStatusResponse) XXX_DiscardUnknown()

func (*GetReleaseStatusResponse) XXX_Marshal

func (m *GetReleaseStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetReleaseStatusResponse) XXX_Merge

func (dst *GetReleaseStatusResponse) XXX_Merge(src proto.Message)

func (*GetReleaseStatusResponse) XXX_Size

func (m *GetReleaseStatusResponse) XXX_Size() int

func (*GetReleaseStatusResponse) XXX_Unmarshal

func (m *GetReleaseStatusResponse) XXX_Unmarshal(b []byte) error

type GetVersionRequest

type GetVersionRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetVersionRequest) XXX_DiscardUnknown

func (m *GetVersionRequest) XXX_DiscardUnknown()

func (*GetVersionRequest) XXX_Marshal

func (m *GetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVersionRequest) XXX_Merge

func (dst *GetVersionRequest) XXX_Merge(src proto.Message)

func (*GetVersionRequest) XXX_Size

func (m *GetVersionRequest) XXX_Size() int

func (*GetVersionRequest) XXX_Unmarshal

func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error

type GetVersionResponse

type GetVersionResponse struct {
	Version              *version.Version `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*GetVersionResponse) Descriptor

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

func (*GetVersionResponse) GetVersion

func (m *GetVersionResponse) GetVersion() *version.Version

func (*GetVersionResponse) ProtoMessage

func (*GetVersionResponse) ProtoMessage()

func (*GetVersionResponse) Reset

func (m *GetVersionResponse) Reset()

func (*GetVersionResponse) String

func (m *GetVersionResponse) String() string

func (*GetVersionResponse) XXX_DiscardUnknown

func (m *GetVersionResponse) XXX_DiscardUnknown()

func (*GetVersionResponse) XXX_Marshal

func (m *GetVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVersionResponse) XXX_Merge

func (dst *GetVersionResponse) XXX_Merge(src proto.Message)

func (*GetVersionResponse) XXX_Size

func (m *GetVersionResponse) XXX_Size() int

func (*GetVersionResponse) XXX_Unmarshal

func (m *GetVersionResponse) XXX_Unmarshal(b []byte) error

type InstallReleaseRequest

type InstallReleaseRequest struct {
	// Chart is the protobuf representation of a chart.
	Chart *chart.Chart `protobuf:"bytes,1,opt,name=chart,proto3" json:"chart,omitempty"`
	// Values is a string containing (unparsed) YAML values.
	Values *chart.Config `protobuf:"bytes,2,opt,name=values,proto3" 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,proto3" 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,proto3" 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,proto3" json:"disable_hooks,omitempty"`
	// Namespace is the kubernetes namespace of the release.
	Namespace string `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Reuse_name requests that Tiller re-uses a name, instead of erroring out.
	ReuseName bool `protobuf:"varint,7,opt,name=reuse_name,json=reuseName,proto3" 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,proto3" 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,proto3" json:"wait,omitempty"`
	DisableCrdHook bool `protobuf:"varint,10,opt,name=disable_crd_hook,json=disableCrdHook,proto3" json:"disable_crd_hook,omitempty"`
	// Description, if set, will set the description for the installed release
	Description          string   `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
	SubNotes             bool     `protobuf:"varint,12,opt,name=subNotes,proto3" json:"subNotes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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() *chart.Chart

func (*InstallReleaseRequest) GetDescription

func (m *InstallReleaseRequest) GetDescription() string

func (*InstallReleaseRequest) GetDisableCrdHook

func (m *InstallReleaseRequest) GetDisableCrdHook() bool

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) GetSubNotes

func (m *InstallReleaseRequest) GetSubNotes() bool

func (*InstallReleaseRequest) GetTimeout

func (m *InstallReleaseRequest) GetTimeout() int64

func (*InstallReleaseRequest) GetValues

func (m *InstallReleaseRequest) GetValues() *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

func (*InstallReleaseRequest) XXX_DiscardUnknown

func (m *InstallReleaseRequest) XXX_DiscardUnknown()

func (*InstallReleaseRequest) XXX_Marshal

func (m *InstallReleaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstallReleaseRequest) XXX_Merge

func (dst *InstallReleaseRequest) XXX_Merge(src proto.Message)

func (*InstallReleaseRequest) XXX_Size

func (m *InstallReleaseRequest) XXX_Size() int

func (*InstallReleaseRequest) XXX_Unmarshal

func (m *InstallReleaseRequest) XXX_Unmarshal(b []byte) error

type InstallReleaseResponse

type InstallReleaseResponse struct {
	Release              *release.Release `protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

InstallReleaseResponse is the response from a release installation.

func (*InstallReleaseResponse) Descriptor

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

func (*InstallReleaseResponse) GetRelease

func (m *InstallReleaseResponse) GetRelease() *release.Release

func (*InstallReleaseResponse) ProtoMessage

func (*InstallReleaseResponse) ProtoMessage()

func (*InstallReleaseResponse) Reset

func (m *InstallReleaseResponse) Reset()

func (*InstallReleaseResponse) String

func (m *InstallReleaseResponse) String() string

func (*InstallReleaseResponse) XXX_DiscardUnknown

func (m *InstallReleaseResponse) XXX_DiscardUnknown()

func (*InstallReleaseResponse) XXX_Marshal

func (m *InstallReleaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstallReleaseResponse) XXX_Merge

func (dst *InstallReleaseResponse) XXX_Merge(src proto.Message)

func (*InstallReleaseResponse) XXX_Size

func (m *InstallReleaseResponse) XXX_Size() int

func (*InstallReleaseResponse) XXX_Unmarshal

func (m *InstallReleaseResponse) XXX_Unmarshal(b []byte) error

type ListReleasesRequest

type ListReleasesRequest struct {
	// Limit is the maximum number of releases to be returned.
	Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" 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,proto3" 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,proto3,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,proto3" json:"filter,omitempty"`
	// SortOrder is the ordering directive used for sorting.
	SortOrder   ListSort_SortOrder    `` /* 134-byte string literal not displayed */
	StatusCodes []release.Status_Code `` /* 132-byte string literal not displayed */
	// Namespace is the filter to select releases only from a specific namespace.
	Namespace            string   `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 strategies.

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() []release.Status_Code

func (*ListReleasesRequest) ProtoMessage

func (*ListReleasesRequest) ProtoMessage()

func (*ListReleasesRequest) Reset

func (m *ListReleasesRequest) Reset()

func (*ListReleasesRequest) String

func (m *ListReleasesRequest) String() string

func (*ListReleasesRequest) XXX_DiscardUnknown

func (m *ListReleasesRequest) XXX_DiscardUnknown()

func (*ListReleasesRequest) XXX_Marshal

func (m *ListReleasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListReleasesRequest) XXX_Merge

func (dst *ListReleasesRequest) XXX_Merge(src proto.Message)

func (*ListReleasesRequest) XXX_Size

func (m *ListReleasesRequest) XXX_Size() int

func (*ListReleasesRequest) XXX_Unmarshal

func (m *ListReleasesRequest) XXX_Unmarshal(b []byte) error

type ListReleasesResponse

type ListReleasesResponse struct {
	// Count is the expected total number of releases to be returned.
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" 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,proto3" json:"next,omitempty"`
	// Total is the total number of queryable releases.
	Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	// Releases is the list of found release objects.
	Releases             []*release.Release `protobuf:"bytes,4,rep,name=releases,proto3" json:"releases,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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() []*release.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

func (*ListReleasesResponse) XXX_DiscardUnknown

func (m *ListReleasesResponse) XXX_DiscardUnknown()

func (*ListReleasesResponse) XXX_Marshal

func (m *ListReleasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListReleasesResponse) XXX_Merge

func (dst *ListReleasesResponse) XXX_Merge(src proto.Message)

func (*ListReleasesResponse) XXX_Size

func (m *ListReleasesResponse) XXX_Size() int

func (*ListReleasesResponse) XXX_Unmarshal

func (m *ListReleasesResponse) XXX_Unmarshal(b []byte) error

type ListSort

type ListSort struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ListSort) XXX_DiscardUnknown

func (m *ListSort) XXX_DiscardUnknown()

func (*ListSort) XXX_Marshal

func (m *ListSort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSort) XXX_Merge

func (dst *ListSort) XXX_Merge(src proto.Message)

func (*ListSort) XXX_Size

func (m *ListSort) XXX_Size() int

func (*ListSort) XXX_Unmarshal

func (m *ListSort) XXX_Unmarshal(b []byte) error

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
	ListSort_CHART_NAME    ListSort_SortBy = 3
)

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 release'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)
}

ReleaseServiceClient is the client API for ReleaseService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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 release's history.
	GetHistory(context.Context, *GetHistoryRequest) (*GetHistoryResponse, error)
	// RunReleaseTest executes the tests defined of a named release
	RunReleaseTest(*TestReleaseRequest, ReleaseService_RunReleaseTestServer) error
}

ReleaseServiceServer is the server API for ReleaseService service.

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,proto3" 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,proto3" 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,proto3" json:"disable_hooks,omitempty"`
	// Version is the version of the release to deploy.
	Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// Performs pods restart for resources if applicable
	Recreate bool `protobuf:"varint,5,opt,name=recreate,proto3" json:"recreate,omitempty"`
	// timeout specifies the max amount of time any kubernetes client command can run.
	Timeout int64 `protobuf:"varint,6,opt,name=timeout,proto3" 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,proto3" json:"wait,omitempty"`
	// Force resource update through delete/recreate if needed.
	Force bool `protobuf:"varint,8,opt,name=force,proto3" json:"force,omitempty"`
	// Description, if set, will set the description for the rollback
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// Allow deletion of new resources created in this rollback when rollback failed
	CleanupOnFail        bool     `protobuf:"varint,10,opt,name=cleanup_on_fail,json=cleanupOnFail,proto3" json:"cleanup_on_fail,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RollbackReleaseRequest) Descriptor

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

func (*RollbackReleaseRequest) GetCleanupOnFail

func (m *RollbackReleaseRequest) GetCleanupOnFail() bool

func (*RollbackReleaseRequest) GetDescription

func (m *RollbackReleaseRequest) GetDescription() string

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

func (*RollbackReleaseRequest) XXX_DiscardUnknown

func (m *RollbackReleaseRequest) XXX_DiscardUnknown()

func (*RollbackReleaseRequest) XXX_Marshal

func (m *RollbackReleaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RollbackReleaseRequest) XXX_Merge

func (dst *RollbackReleaseRequest) XXX_Merge(src proto.Message)

func (*RollbackReleaseRequest) XXX_Size

func (m *RollbackReleaseRequest) XXX_Size() int

func (*RollbackReleaseRequest) XXX_Unmarshal

func (m *RollbackReleaseRequest) XXX_Unmarshal(b []byte) error

type RollbackReleaseResponse

type RollbackReleaseResponse struct {
	Release              *release.Release `protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

RollbackReleaseResponse is the response to an update request.

func (*RollbackReleaseResponse) Descriptor

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

func (*RollbackReleaseResponse) GetRelease

func (m *RollbackReleaseResponse) GetRelease() *release.Release

func (*RollbackReleaseResponse) ProtoMessage

func (*RollbackReleaseResponse) ProtoMessage()

func (*RollbackReleaseResponse) Reset

func (m *RollbackReleaseResponse) Reset()

func (*RollbackReleaseResponse) String

func (m *RollbackReleaseResponse) String() string

func (*RollbackReleaseResponse) XXX_DiscardUnknown

func (m *RollbackReleaseResponse) XXX_DiscardUnknown()

func (*RollbackReleaseResponse) XXX_Marshal

func (m *RollbackReleaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RollbackReleaseResponse) XXX_Merge

func (dst *RollbackReleaseResponse) XXX_Merge(src proto.Message)

func (*RollbackReleaseResponse) XXX_Size

func (m *RollbackReleaseResponse) XXX_Size() int

func (*RollbackReleaseResponse) XXX_Unmarshal

func (m *RollbackReleaseResponse) XXX_Unmarshal(b []byte) error

type TestReleaseRequest

type TestReleaseRequest struct {
	// Name is the name of the release
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// timeout specifies the max amount of time any kubernetes client command can run.
	Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// cleanup specifies whether or not to attempt pod deletion after test completes
	Cleanup bool `protobuf:"varint,3,opt,name=cleanup,proto3" json:"cleanup,omitempty"`
	// parallel specifies whether or not to run test pods in parallel
	Parallel bool `protobuf:"varint,4,opt,name=parallel,proto3" json:"parallel,omitempty"`
	// maximum number of test pods to run in parallel
	MaxParallel uint32 `protobuf:"varint,5,opt,name=max_parallel,json=maxParallel,proto3" json:"max_parallel,omitempty"`
	// logs specifies whether or not to dump the logs from the test pods
	Logs                 bool     `protobuf:"varint,6,opt,name=logs,proto3" json:"logs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) GetLogs

func (m *TestReleaseRequest) GetLogs() bool

func (*TestReleaseRequest) GetMaxParallel

func (m *TestReleaseRequest) GetMaxParallel() uint32

func (*TestReleaseRequest) GetName

func (m *TestReleaseRequest) GetName() string

func (*TestReleaseRequest) GetParallel

func (m *TestReleaseRequest) GetParallel() bool

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

func (*TestReleaseRequest) XXX_DiscardUnknown

func (m *TestReleaseRequest) XXX_DiscardUnknown()

func (*TestReleaseRequest) XXX_Marshal

func (m *TestReleaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestReleaseRequest) XXX_Merge

func (dst *TestReleaseRequest) XXX_Merge(src proto.Message)

func (*TestReleaseRequest) XXX_Size

func (m *TestReleaseRequest) XXX_Size() int

func (*TestReleaseRequest) XXX_Unmarshal

func (m *TestReleaseRequest) XXX_Unmarshal(b []byte) error

type TestReleaseResponse

type TestReleaseResponse struct {
	Msg                  string                 `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Status               release.TestRun_Status `protobuf:"varint,2,opt,name=status,proto3,enum=hapi.release.TestRun_Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

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 (*TestReleaseResponse) ProtoMessage

func (*TestReleaseResponse) ProtoMessage()

func (*TestReleaseResponse) Reset

func (m *TestReleaseResponse) Reset()

func (*TestReleaseResponse) String

func (m *TestReleaseResponse) String() string

func (*TestReleaseResponse) XXX_DiscardUnknown

func (m *TestReleaseResponse) XXX_DiscardUnknown()

func (*TestReleaseResponse) XXX_Marshal

func (m *TestReleaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestReleaseResponse) XXX_Merge

func (dst *TestReleaseResponse) XXX_Merge(src proto.Message)

func (*TestReleaseResponse) XXX_Size

func (m *TestReleaseResponse) XXX_Size() int

func (*TestReleaseResponse) XXX_Unmarshal

func (m *TestReleaseResponse) XXX_Unmarshal(b []byte) error

type UninstallReleaseRequest

type UninstallReleaseRequest struct {
	// Name is the name of the release to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" 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,proto3" 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,proto3" json:"purge,omitempty"`
	// timeout specifies the max amount of time any kubernetes client command can run.
	Timeout int64 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Description, if set, will set the description for the uninstalled release
	Description          string   `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UninstallReleaseRequest represents a request to uninstall a named release.

func (*UninstallReleaseRequest) Descriptor

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

func (*UninstallReleaseRequest) GetDescription

func (m *UninstallReleaseRequest) GetDescription() string

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

func (*UninstallReleaseRequest) XXX_DiscardUnknown

func (m *UninstallReleaseRequest) XXX_DiscardUnknown()

func (*UninstallReleaseRequest) XXX_Marshal

func (m *UninstallReleaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UninstallReleaseRequest) XXX_Merge

func (dst *UninstallReleaseRequest) XXX_Merge(src proto.Message)

func (*UninstallReleaseRequest) XXX_Size

func (m *UninstallReleaseRequest) XXX_Size() int

func (*UninstallReleaseRequest) XXX_Unmarshal

func (m *UninstallReleaseRequest) XXX_Unmarshal(b []byte) error

type UninstallReleaseResponse

type UninstallReleaseResponse struct {
	// Release is the release that was marked deleted.
	Release *release.Release `protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
	// Info is an uninstall message
	Info                 string   `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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() *release.Release

func (*UninstallReleaseResponse) ProtoMessage

func (*UninstallReleaseResponse) ProtoMessage()

func (*UninstallReleaseResponse) Reset

func (m *UninstallReleaseResponse) Reset()

func (*UninstallReleaseResponse) String

func (m *UninstallReleaseResponse) String() string

func (*UninstallReleaseResponse) XXX_DiscardUnknown

func (m *UninstallReleaseResponse) XXX_DiscardUnknown()

func (*UninstallReleaseResponse) XXX_Marshal

func (m *UninstallReleaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UninstallReleaseResponse) XXX_Merge

func (dst *UninstallReleaseResponse) XXX_Merge(src proto.Message)

func (*UninstallReleaseResponse) XXX_Size

func (m *UninstallReleaseResponse) XXX_Size() int

func (*UninstallReleaseResponse) XXX_Unmarshal

func (m *UninstallReleaseResponse) XXX_Unmarshal(b []byte) error

type UpdateReleaseRequest

type UpdateReleaseRequest struct {
	// The name of the release
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Chart is the protobuf representation of a chart.
	Chart *chart.Chart `protobuf:"bytes,2,opt,name=chart,proto3" json:"chart,omitempty"`
	// Values is a string containing (unparsed) YAML values.
	Values *chart.Config `protobuf:"bytes,3,opt,name=values,proto3" 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,proto3" 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,proto3" json:"disable_hooks,omitempty"`
	// Performs pods restart for resources if applicable
	Recreate bool `protobuf:"varint,6,opt,name=recreate,proto3" json:"recreate,omitempty"`
	// timeout specifies the max amount of time any kubernetes client command can run.
	Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" 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,proto3" 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,proto3" 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,proto3" json:"reuse_values,omitempty"`
	// Force resource update through delete/recreate if needed.
	Force bool `protobuf:"varint,11,opt,name=force,proto3" json:"force,omitempty"`
	// Description, if set, will set the description for the updated release
	Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
	// Render subchart notes if enabled
	SubNotes bool `protobuf:"varint,13,opt,name=subNotes,proto3" json:"subNotes,omitempty"`
	// Allow deletion of new resources created in this update when update failed
	CleanupOnFail        bool     `protobuf:"varint,14,opt,name=cleanup_on_fail,json=cleanupOnFail,proto3" json:"cleanup_on_fail,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UpdateReleaseRequest updates a release.

func (*UpdateReleaseRequest) Descriptor

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

func (*UpdateReleaseRequest) GetChart

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

func (*UpdateReleaseRequest) GetCleanupOnFail

func (m *UpdateReleaseRequest) GetCleanupOnFail() bool

func (*UpdateReleaseRequest) GetDescription

func (m *UpdateReleaseRequest) GetDescription() string

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) GetSubNotes

func (m *UpdateReleaseRequest) GetSubNotes() bool

func (*UpdateReleaseRequest) GetTimeout

func (m *UpdateReleaseRequest) GetTimeout() int64

func (*UpdateReleaseRequest) GetValues

func (m *UpdateReleaseRequest) GetValues() *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

func (*UpdateReleaseRequest) XXX_DiscardUnknown

func (m *UpdateReleaseRequest) XXX_DiscardUnknown()

func (*UpdateReleaseRequest) XXX_Marshal

func (m *UpdateReleaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateReleaseRequest) XXX_Merge

func (dst *UpdateReleaseRequest) XXX_Merge(src proto.Message)

func (*UpdateReleaseRequest) XXX_Size

func (m *UpdateReleaseRequest) XXX_Size() int

func (*UpdateReleaseRequest) XXX_Unmarshal

func (m *UpdateReleaseRequest) XXX_Unmarshal(b []byte) error

type UpdateReleaseResponse

type UpdateReleaseResponse struct {
	Release              *release.Release `protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

UpdateReleaseResponse is the response to an update request.

func (*UpdateReleaseResponse) Descriptor

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

func (*UpdateReleaseResponse) GetRelease

func (m *UpdateReleaseResponse) GetRelease() *release.Release

func (*UpdateReleaseResponse) ProtoMessage

func (*UpdateReleaseResponse) ProtoMessage()

func (*UpdateReleaseResponse) Reset

func (m *UpdateReleaseResponse) Reset()

func (*UpdateReleaseResponse) String

func (m *UpdateReleaseResponse) String() string

func (*UpdateReleaseResponse) XXX_DiscardUnknown

func (m *UpdateReleaseResponse) XXX_DiscardUnknown()

func (*UpdateReleaseResponse) XXX_Marshal

func (m *UpdateReleaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateReleaseResponse) XXX_Merge

func (dst *UpdateReleaseResponse) XXX_Merge(src proto.Message)

func (*UpdateReleaseResponse) XXX_Size

func (m *UpdateReleaseResponse) XXX_Size() int

func (*UpdateReleaseResponse) XXX_Unmarshal

func (m *UpdateReleaseResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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