helmapi

package
v0.0.0-...-887dc56 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package helmapi is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_helm_api_proto protoreflect.FileDescriptor

Functions

func RegisterHelmApiServiceHandler

func RegisterHelmApiServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterHelmApiServiceHandler registers the http handlers for service HelmApiService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterHelmApiServiceHandlerClient

func RegisterHelmApiServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HelmApiServiceClient) error

RegisterHelmApiServiceHandlerClient registers the http handlers for service HelmApiService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HelmApiServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HelmApiServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HelmApiServiceClient" to call the correct interceptors.

func RegisterHelmApiServiceHandlerFromEndpoint

func RegisterHelmApiServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterHelmApiServiceHandlerFromEndpoint is same as RegisterHelmApiServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterHelmApiServiceHandlerServer

func RegisterHelmApiServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HelmApiServiceServer) error

RegisterHelmApiServiceHandlerServer registers the http handlers for service HelmApiService to "mux". UnaryRPC :call HelmApiServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterHelmApiServiceHandlerFromEndpoint instead.

func RegisterHelmApiServiceServer

func RegisterHelmApiServiceServer(s *grpc.Server, srv HelmApiServiceServer)

Types

type Chart

type Chart struct {

	// Metadata is the contents of the Chartfile.
	Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Templates for this chart.
	Templates []*File `protobuf:"bytes,2,rep,name=templates,proto3" json:"templates,omitempty"`
	// Values are default config for this chart.
	Values string `protobuf:"bytes,3,opt,name=values,proto3" json:"values,omitempty"`
	// Schema is an optional JSON schema for imposing structure on Values
	Schema string `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
	// Files are miscellaneous files in a chart archive,
	// e.g. README, LICENSE, etc.
	Files []*File `protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

Chart is a helm package that contains metadata, a default config, zero or more optionally parameterizable templates, and zero or more charts (dependencies).

func (*Chart) Descriptor deprecated

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

Deprecated: Use Chart.ProtoReflect.Descriptor instead.

func (*Chart) GetFiles

func (x *Chart) GetFiles() []*File

func (*Chart) GetMetadata

func (x *Chart) GetMetadata() *Metadata

func (*Chart) GetSchema

func (x *Chart) GetSchema() string

func (*Chart) GetTemplates

func (x *Chart) GetTemplates() []*File

func (*Chart) GetValues

func (x *Chart) GetValues() string

func (*Chart) ProtoMessage

func (*Chart) ProtoMessage()

func (*Chart) ProtoReflect

func (x *Chart) ProtoReflect() protoreflect.Message

func (*Chart) Reset

func (x *Chart) Reset()

func (*Chart) String

func (x *Chart) String() string

type ChartInfo

type ChartInfo struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	RepoName     string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	ChartVersion string `protobuf:"bytes,3,opt,name=chart_version,json=chartVersion,proto3" json:"chart_version,omitempty"`
	AppVersion   string `protobuf:"bytes,4,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	Description  string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Icon         string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*ChartInfo) Descriptor deprecated

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

Deprecated: Use ChartInfo.ProtoReflect.Descriptor instead.

func (*ChartInfo) GetAppVersion

func (x *ChartInfo) GetAppVersion() string

func (*ChartInfo) GetChartVersion

func (x *ChartInfo) GetChartVersion() string

func (*ChartInfo) GetDescription

func (x *ChartInfo) GetDescription() string

func (*ChartInfo) GetIcon

func (x *ChartInfo) GetIcon() string

func (*ChartInfo) GetName

func (x *ChartInfo) GetName() string

func (*ChartInfo) GetRepoName

func (x *ChartInfo) GetRepoName() string

func (*ChartInfo) ProtoMessage

func (*ChartInfo) ProtoMessage()

func (*ChartInfo) ProtoReflect

func (x *ChartInfo) ProtoReflect() protoreflect.Message

func (*ChartInfo) Reset

func (x *ChartInfo) Reset()

func (*ChartInfo) String

func (x *ChartInfo) String() string

type DeleteHelmContextReq

type DeleteHelmContextReq struct {

	// name 唯一的context 标识。
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteHelmContextReq

func (*DeleteHelmContextReq) Descriptor deprecated

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

Deprecated: Use DeleteHelmContextReq.ProtoReflect.Descriptor instead.

func (*DeleteHelmContextReq) GetName

func (x *DeleteHelmContextReq) GetName() string

func (*DeleteHelmContextReq) ProtoMessage

func (*DeleteHelmContextReq) ProtoMessage()

func (*DeleteHelmContextReq) ProtoReflect

func (x *DeleteHelmContextReq) ProtoReflect() protoreflect.Message

func (*DeleteHelmContextReq) Reset

func (x *DeleteHelmContextReq) Reset()

func (*DeleteHelmContextReq) String

func (x *DeleteHelmContextReq) String() string

type Dependency

type Dependency struct {

	// Name is the name of the dependency.
	//
	// This must mach the name in the dependency's Chart.yaml.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Version is the version (range) of this chart.
	//
	// A lock file will always produce a single version, while a dependency
	// may contain a semantic version range.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The URL to the repository.
	//
	// Appending `index.yaml` to this string should result in a URL that can be
	// used to fetch the repository index.
	Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	// A yaml path that resolves to a boolean, used for enabling/disabling charts (e.g. subchart1.enabled )
	Condition string `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
	// Tags can be used to group charts for enabling/disabling together
	Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	// Enabled bool determines if chart should be loaded
	Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// ImportValues holds the mapping of source values to parent key to be imported. Each item can be a
	// string or pair of child/parent sublist items.
	ImportValues string `protobuf:"bytes,7,opt,name=import_values,json=importValues,proto3" json:"import_values,omitempty"`
	// Alias usable alias to be used for the chart
	Alias string `protobuf:"bytes,8,opt,name=alias,proto3" json:"alias,omitempty"`
	// contains filtered or unexported fields
}

Dependency describes a chart upon which another chart depends.

Dependencies can be used to express developer intent, or to capture the state of a chart.

func (*Dependency) Descriptor deprecated

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

Deprecated: Use Dependency.ProtoReflect.Descriptor instead.

func (*Dependency) GetAlias

func (x *Dependency) GetAlias() string

func (*Dependency) GetCondition

func (x *Dependency) GetCondition() string

func (*Dependency) GetEnabled

func (x *Dependency) GetEnabled() bool

func (*Dependency) GetImportValues

func (x *Dependency) GetImportValues() string

func (*Dependency) GetName

func (x *Dependency) GetName() string

func (*Dependency) GetRepository

func (x *Dependency) GetRepository() string

func (*Dependency) GetTags

func (x *Dependency) GetTags() []string

func (*Dependency) GetVersion

func (x *Dependency) GetVersion() string

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) ProtoReflect

func (x *Dependency) ProtoReflect() protoreflect.Message

func (*Dependency) Reset

func (x *Dependency) Reset()

func (*Dependency) String

func (x *Dependency) String() string

type Entry

type Entry struct {
	Name                  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url                   string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Username              string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Password              string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	CertFile              string `protobuf:"bytes,5,opt,name=certFile,proto3" json:"certFile,omitempty"`
	KeyFile               string `protobuf:"bytes,6,opt,name=keyFile,proto3" json:"keyFile,omitempty"`
	CaFile                string `protobuf:"bytes,7,opt,name=caFile,proto3" json:"caFile,omitempty"`
	InsecureSkipTlsVerify bool   `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Entry 提供 chart repository 信息

func (*Entry) Descriptor deprecated

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetCaFile

func (x *Entry) GetCaFile() string

func (*Entry) GetCertFile

func (x *Entry) GetCertFile() string

func (*Entry) GetInsecureSkipTlsVerify

func (x *Entry) GetInsecureSkipTlsVerify() bool

func (*Entry) GetKeyFile

func (x *Entry) GetKeyFile() string

func (*Entry) GetName

func (x *Entry) GetName() string

func (*Entry) GetPassword

func (x *Entry) GetPassword() string

func (*Entry) GetUrl

func (x *Entry) GetUrl() string

func (*Entry) GetUsername

func (x *Entry) GetUsername() string

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

func (x *Entry) ProtoReflect() protoreflect.Message

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type File

type File struct {

	// Name is the path-like name of the template.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Data is the template as byte data.
	Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*File) Descriptor deprecated

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

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetData

func (x *File) GetData() string

func (*File) GetName

func (x *File) GetName() string

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

type GetChartReq

type GetChartReq struct {

	// contextName 唯一的context 标识。(可选)
	ContextName  string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Repo         string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	ChartName    string `protobuf:"bytes,3,opt,name=chartName,proto3" json:"chartName,omitempty"`
	ChartVersion string `protobuf:"bytes,4,opt,name=chartVersion,proto3" json:"chartVersion,omitempty"`
	// RepoInfo 如果没有contextName,但是有RepoInfo会创建一个临时的context。
	Repoinfo *RepoInfo `protobuf:"bytes,11,opt,name=repoinfo,proto3" json:"repoinfo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChartReq) Descriptor deprecated

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

Deprecated: Use GetChartReq.ProtoReflect.Descriptor instead.

func (*GetChartReq) GetChartName

func (x *GetChartReq) GetChartName() string

func (*GetChartReq) GetChartVersion

func (x *GetChartReq) GetChartVersion() string

func (*GetChartReq) GetContextName

func (x *GetChartReq) GetContextName() string

func (*GetChartReq) GetRepo

func (x *GetChartReq) GetRepo() string

func (*GetChartReq) GetRepoinfo

func (x *GetChartReq) GetRepoinfo() *RepoInfo

func (*GetChartReq) ProtoMessage

func (*GetChartReq) ProtoMessage()

func (*GetChartReq) ProtoReflect

func (x *GetChartReq) ProtoReflect() protoreflect.Message

func (*GetChartReq) Reset

func (x *GetChartReq) Reset()

func (*GetChartReq) String

func (x *GetChartReq) String() string

type HelmApiServiceClient

type HelmApiServiceClient interface {
	// CreateContext 创建context
	CreateContext(ctx context.Context, in *HelmContextReq, opts ...grpc.CallOption) (*HelmContextRes, error)
	// DeleteContext 删除context
	DeleteContext(ctx context.Context, in *DeleteHelmContextReq, opts ...grpc.CallOption) (*empty.Empty, error)
	// UpdateRepo 更新context 内repo 信息
	UpdateRepo(ctx context.Context, in *UpdateRepoReq, opts ...grpc.CallOption) (*empty.Empty, error)
	// InstallRelease 安装charts
	InstallRelease(ctx context.Context, in *InstallReq, opts ...grpc.CallOption) (*Release, error)
	// UpgradeRelease 更新release
	UpgradeRelease(ctx context.Context, in *UpgradeReq, opts ...grpc.CallOption) (*Release, error)
	// UninstallRelease 删除release
	UninstallRelease(ctx context.Context, in *ReleaseReq, opts ...grpc.CallOption) (*empty.Empty, error)
	// GetChart 获取 chart 信息
	GetChart(ctx context.Context, in *GetChartReq, opts ...grpc.CallOption) (*Chart, error)
	// GetRelease 获取某个release实例信息
	GetRelease(ctx context.Context, in *ReleaseReq, opts ...grpc.CallOption) (*Release, error)
	// GetReleaseValues 某个release实例values信息
	GetReleaseValues(ctx context.Context, in *ReleaseReq, opts ...grpc.CallOption) (*Values, error)
	// ListRelease 列出某个context下全部release.
	ListRelease(ctx context.Context, in *ListReleaseReq, opts ...grpc.CallOption) (*ListReleaseRes, error)
	// RollbackRelease 回滚某个release
	RollbackRelease(ctx context.Context, in *ReleaseRollbackReq, opts ...grpc.CallOption) (*empty.Empty, error)
	// GetReleaseHistory 列出release 历史
	GetReleaseHistory(ctx context.Context, in *ReleaseReq, opts ...grpc.CallOption) (*ListReleaseRes, error)
	// Search 查找某个repo的chart
	Search(ctx context.Context, in *SearchReq, opts ...grpc.CallOption) (*SearchRes, error)
	// All 列出某个context所有的chart
	All(ctx context.Context, in *ListChartReq, opts ...grpc.CallOption) (*SearchRes, error)
}

HelmApiServiceClient is the client API for HelmApiService service.

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

type HelmApiServiceServer

type HelmApiServiceServer interface {
	// CreateContext 创建context
	CreateContext(context.Context, *HelmContextReq) (*HelmContextRes, error)
	// DeleteContext 删除context
	DeleteContext(context.Context, *DeleteHelmContextReq) (*empty.Empty, error)
	// UpdateRepo 更新context 内repo 信息
	UpdateRepo(context.Context, *UpdateRepoReq) (*empty.Empty, error)
	// InstallRelease 安装charts
	InstallRelease(context.Context, *InstallReq) (*Release, error)
	// UpgradeRelease 更新release
	UpgradeRelease(context.Context, *UpgradeReq) (*Release, error)
	// UninstallRelease 删除release
	UninstallRelease(context.Context, *ReleaseReq) (*empty.Empty, error)
	// GetChart 获取 chart 信息
	GetChart(context.Context, *GetChartReq) (*Chart, error)
	// GetRelease 获取某个release实例信息
	GetRelease(context.Context, *ReleaseReq) (*Release, error)
	// GetReleaseValues 某个release实例values信息
	GetReleaseValues(context.Context, *ReleaseReq) (*Values, error)
	// ListRelease 列出某个context下全部release.
	ListRelease(context.Context, *ListReleaseReq) (*ListReleaseRes, error)
	// RollbackRelease 回滚某个release
	RollbackRelease(context.Context, *ReleaseRollbackReq) (*empty.Empty, error)
	// GetReleaseHistory 列出release 历史
	GetReleaseHistory(context.Context, *ReleaseReq) (*ListReleaseRes, error)
	// Search 查找某个repo的chart
	Search(context.Context, *SearchReq) (*SearchRes, error)
	// All 列出某个context所有的chart
	All(context.Context, *ListChartReq) (*SearchRes, error)
}

HelmApiServiceServer is the server API for HelmApiService service.

type HelmContextReq

type HelmContextReq struct {

	// name 唯一的context 标识。冲突则会覆盖。
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// KubeInfo 提供。
	Kubeinfo *KubeInfo `protobuf:"bytes,2,opt,name=kubeinfo,proto3" json:"kubeinfo,omitempty"`
	// RepoInfo 提供 chart repository 相关信息。
	Repoinfo *RepoInfo `protobuf:"bytes,3,opt,name=repoinfo,proto3" json:"repoinfo,omitempty"`
	// incluster 为true 时,会用sa 为helm-api 提供k8s的访问权限。
	Incluster bool `protobuf:"varint,6,opt,name=incluster,proto3" json:"incluster,omitempty"`
	// expiry 是超时的时间戳,超过此值,context会被回收。
	Expiry int64 `protobuf:"varint,7,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// contains filtered or unexported fields
}

HelmContextReq

func (*HelmContextReq) Descriptor deprecated

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

Deprecated: Use HelmContextReq.ProtoReflect.Descriptor instead.

func (*HelmContextReq) GetExpiry

func (x *HelmContextReq) GetExpiry() int64

func (*HelmContextReq) GetIncluster

func (x *HelmContextReq) GetIncluster() bool

func (*HelmContextReq) GetKubeinfo

func (x *HelmContextReq) GetKubeinfo() *KubeInfo

func (*HelmContextReq) GetName

func (x *HelmContextReq) GetName() string

func (*HelmContextReq) GetRepoinfo

func (x *HelmContextReq) GetRepoinfo() *RepoInfo

func (*HelmContextReq) ProtoMessage

func (*HelmContextReq) ProtoMessage()

func (*HelmContextReq) ProtoReflect

func (x *HelmContextReq) ProtoReflect() protoreflect.Message

func (*HelmContextReq) Reset

func (x *HelmContextReq) Reset()

func (*HelmContextReq) String

func (x *HelmContextReq) String() string

type HelmContextRes

type HelmContextRes struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

HelmContextRes

func (*HelmContextRes) Descriptor deprecated

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

Deprecated: Use HelmContextRes.ProtoReflect.Descriptor instead.

func (*HelmContextRes) GetName

func (x *HelmContextRes) GetName() string

func (*HelmContextRes) ProtoMessage

func (*HelmContextRes) ProtoMessage()

func (*HelmContextRes) ProtoReflect

func (x *HelmContextRes) ProtoReflect() protoreflect.Message

func (*HelmContextRes) Reset

func (x *HelmContextRes) Reset()

func (*HelmContextRes) String

func (x *HelmContextRes) String() string

type Hook

type Hook struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Kind is the Kubernetes kind.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Path is the chart-relative path to the template.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// Manifest is the manifest contents.
	Manifest string `protobuf:"bytes,4,opt,name=manifest,proto3" json:"manifest,omitempty"`
	// Events are the events that this hook fires on.
	Events []string `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"`
	// LastRun indicates the date/time this was last run.
	LastRun *HookExecution `protobuf:"bytes,6,opt,name=last_run,json=lastRun,proto3" json:"last_run,omitempty"`
	// Weight indicates the sort order for execution among similar Hook type
	Weight int64 `protobuf:"varint,7,opt,name=weight,proto3" json:"weight,omitempty"`
	// DeletePolicies are the policies that indicate when to delete the hook
	DeletePolicies []string `protobuf:"bytes,8,rep,name=delete_policies,json=deletePolicies,proto3" json:"delete_policies,omitempty"`
	// contains filtered or unexported fields
}

Hook defines a hook object.

func (*Hook) Descriptor deprecated

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

Deprecated: Use Hook.ProtoReflect.Descriptor instead.

func (*Hook) GetDeletePolicies

func (x *Hook) GetDeletePolicies() []string

func (*Hook) GetEvents

func (x *Hook) GetEvents() []string

func (*Hook) GetKind

func (x *Hook) GetKind() string

func (*Hook) GetLastRun

func (x *Hook) GetLastRun() *HookExecution

func (*Hook) GetManifest

func (x *Hook) GetManifest() string

func (*Hook) GetName

func (x *Hook) GetName() string

func (*Hook) GetPath

func (x *Hook) GetPath() string

func (*Hook) GetWeight

func (x *Hook) GetWeight() int64

func (*Hook) ProtoMessage

func (*Hook) ProtoMessage()

func (*Hook) ProtoReflect

func (x *Hook) ProtoReflect() protoreflect.Message

func (*Hook) Reset

func (x *Hook) Reset()

func (*Hook) String

func (x *Hook) String() string

type HookExecution

type HookExecution struct {

	// StartedAt indicates the date/time this hook was started
	StartedAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// CompletedAt indicates the date/time this hook was completed.
	CompletedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// Phase indicates whether the hook completed successfully
	Phase string `protobuf:"bytes,3,opt,name=phase,proto3" json:"phase,omitempty"`
	// contains filtered or unexported fields
}

A HookExecution records the result for the last execution of a hook for a given release.

func (*HookExecution) Descriptor deprecated

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

Deprecated: Use HookExecution.ProtoReflect.Descriptor instead.

func (*HookExecution) GetCompletedAt

func (x *HookExecution) GetCompletedAt() *timestamp.Timestamp

func (*HookExecution) GetPhase

func (x *HookExecution) GetPhase() string

func (*HookExecution) GetStartedAt

func (x *HookExecution) GetStartedAt() *timestamp.Timestamp

func (*HookExecution) ProtoMessage

func (*HookExecution) ProtoMessage()

func (*HookExecution) ProtoReflect

func (x *HookExecution) ProtoReflect() protoreflect.Message

func (*HookExecution) Reset

func (x *HookExecution) Reset()

func (*HookExecution) String

func (x *HookExecution) String() string

type Info

type Info struct {

	// FirstDeployed is when the release was first deployed.
	FirstDeployed *timestamp.Timestamp `protobuf:"bytes,1,opt,name=first_deployed,json=firstDeployed,proto3" json:"first_deployed,omitempty"`
	// LastDeployed is when the release was last deployed.
	LastDeployed *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_deployed,json=lastDeployed,proto3" json:"last_deployed,omitempty"`
	// Deleted tracks when this object was deleted.
	Deleted *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// Description is human-friendly "log entry" about this release.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Status is the current state of the release
	Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// Contains the rendered templates/NOTES.txt if available
	Notes string `protobuf:"bytes,6,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

Info describes release information.

func (*Info) Descriptor deprecated

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

Deprecated: Use Info.ProtoReflect.Descriptor instead.

func (*Info) GetDeleted

func (x *Info) GetDeleted() *timestamp.Timestamp

func (*Info) GetDescription

func (x *Info) GetDescription() string

func (*Info) GetFirstDeployed

func (x *Info) GetFirstDeployed() *timestamp.Timestamp

func (*Info) GetLastDeployed

func (x *Info) GetLastDeployed() *timestamp.Timestamp

func (*Info) GetNotes

func (x *Info) GetNotes() string

func (*Info) GetStatus

func (x *Info) GetStatus() string

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) ProtoReflect

func (x *Info) ProtoReflect() protoreflect.Message

func (*Info) Reset

func (x *Info) Reset()

func (*Info) String

func (x *Info) String() string

type InstallReq

type InstallReq struct {

	// contextName 唯一的context 标识。(可选)
	ContextName   string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	RepoChartName string `protobuf:"bytes,2,opt,name=repoChartName,proto3" json:"repoChartName,omitempty"`
	// chartVersion 为空会使用最新版本(可选)
	ChartVersion string `protobuf:"bytes,3,opt,name=chartVersion,proto3" json:"chartVersion,omitempty"`
	// namespace 为空会使用context 默认的空间 (可选)
	Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// values 是yaml格式的value文件的内容。(可选)
	Values      string `protobuf:"bytes,6,opt,name=values,proto3" json:"values,omitempty"`
	ReleaseName string `protobuf:"bytes,7,opt,name=releaseName,proto3" json:"releaseName,omitempty"`
	// dry_run 为true 不会真实的部署release。
	DryRun bool `protobuf:"varint,9,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// KubeInfo 如果没有contextName,但是有KubeInfo和RepoInfo会创建一个临时的context。
	Kubeinfo *KubeInfo `protobuf:"bytes,12,opt,name=kubeinfo,proto3" json:"kubeinfo,omitempty"`
	// RepoInfo 如果没有contextName,但是有KubeInfo和RepoInfo会创建一个临时的context。
	Repoinfo *RepoInfo `protobuf:"bytes,13,opt,name=repoinfo,proto3" json:"repoinfo,omitempty"`
	// contains filtered or unexported fields
}

InstallReq 安装chart的请求

func (*InstallReq) Descriptor deprecated

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

Deprecated: Use InstallReq.ProtoReflect.Descriptor instead.

func (*InstallReq) GetChartVersion

func (x *InstallReq) GetChartVersion() string

func (*InstallReq) GetContextName

func (x *InstallReq) GetContextName() string

func (*InstallReq) GetDryRun

func (x *InstallReq) GetDryRun() bool

func (*InstallReq) GetKubeinfo

func (x *InstallReq) GetKubeinfo() *KubeInfo

func (*InstallReq) GetNamespace

func (x *InstallReq) GetNamespace() string

func (*InstallReq) GetReleaseName

func (x *InstallReq) GetReleaseName() string

func (*InstallReq) GetRepoChartName

func (x *InstallReq) GetRepoChartName() string

func (*InstallReq) GetRepoinfo

func (x *InstallReq) GetRepoinfo() *RepoInfo

func (*InstallReq) GetValues

func (x *InstallReq) GetValues() string

func (*InstallReq) ProtoMessage

func (*InstallReq) ProtoMessage()

func (*InstallReq) ProtoReflect

func (x *InstallReq) ProtoReflect() protoreflect.Message

func (*InstallReq) Reset

func (x *InstallReq) Reset()

func (*InstallReq) String

func (x *InstallReq) String() string

type KubeInfo

type KubeInfo struct {

	// kubeconfig kubeconfig 的内容,你可以在~/.kube.config下找到它。
	Kubeconfig string `protobuf:"bytes,3,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"`
	// context 指定kubeconfig中哪个context被使用。
	Context string `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// namespace 指定使用的工作空间。
	Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*KubeInfo) Descriptor deprecated

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

Deprecated: Use KubeInfo.ProtoReflect.Descriptor instead.

func (*KubeInfo) GetContext

func (x *KubeInfo) GetContext() string

func (*KubeInfo) GetKubeconfig

func (x *KubeInfo) GetKubeconfig() string

func (*KubeInfo) GetNamespace

func (x *KubeInfo) GetNamespace() string

func (*KubeInfo) ProtoMessage

func (*KubeInfo) ProtoMessage()

func (*KubeInfo) ProtoReflect

func (x *KubeInfo) ProtoReflect() protoreflect.Message

func (*KubeInfo) Reset

func (x *KubeInfo) Reset()

func (*KubeInfo) String

func (x *KubeInfo) String() string

type ListChartReq

type ListChartReq struct {

	// contextName is name of CreateHelmContext return
	ContextName string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	// RepoInfo or contextName
	Repoinfo *RepoInfo `protobuf:"bytes,11,opt,name=repoinfo,proto3" json:"repoinfo,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChartReq) Descriptor deprecated

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

Deprecated: Use ListChartReq.ProtoReflect.Descriptor instead.

func (*ListChartReq) GetContextName

func (x *ListChartReq) GetContextName() string

func (*ListChartReq) GetRepoinfo

func (x *ListChartReq) GetRepoinfo() *RepoInfo

func (*ListChartReq) ProtoMessage

func (*ListChartReq) ProtoMessage()

func (*ListChartReq) ProtoReflect

func (x *ListChartReq) ProtoReflect() protoreflect.Message

func (*ListChartReq) Reset

func (x *ListChartReq) Reset()

func (*ListChartReq) String

func (x *ListChartReq) String() string

type ListReleaseReq

type ListReleaseReq struct {

	// contextName 唯一的context 标识。(可选)
	ContextName string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	// namespace 为空会使用context 默认的空间 (可选)
	Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// KubeInfo 如果没有contextName,但是有KubeInfo会创建一个临时的context。
	Kubeinfo *KubeInfo `protobuf:"bytes,10,opt,name=kubeinfo,proto3" json:"kubeinfo,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReleaseReq) Descriptor deprecated

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

Deprecated: Use ListReleaseReq.ProtoReflect.Descriptor instead.

func (*ListReleaseReq) GetContextName

func (x *ListReleaseReq) GetContextName() string

func (*ListReleaseReq) GetKubeinfo

func (x *ListReleaseReq) GetKubeinfo() *KubeInfo

func (*ListReleaseReq) GetNamespace

func (x *ListReleaseReq) GetNamespace() string

func (*ListReleaseReq) ProtoMessage

func (*ListReleaseReq) ProtoMessage()

func (*ListReleaseReq) ProtoReflect

func (x *ListReleaseReq) ProtoReflect() protoreflect.Message

func (*ListReleaseReq) Reset

func (x *ListReleaseReq) Reset()

func (*ListReleaseReq) String

func (x *ListReleaseReq) String() string

type ListReleaseRes

type ListReleaseRes struct {
	Releases []*Release `protobuf:"bytes,1,rep,name=releases,proto3" json:"releases,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReleaseRes) Descriptor deprecated

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

Deprecated: Use ListReleaseRes.ProtoReflect.Descriptor instead.

func (*ListReleaseRes) GetReleases

func (x *ListReleaseRes) GetReleases() []*Release

func (*ListReleaseRes) ProtoMessage

func (*ListReleaseRes) ProtoMessage()

func (*ListReleaseRes) ProtoReflect

func (x *ListReleaseRes) ProtoReflect() protoreflect.Message

func (*ListReleaseRes) Reset

func (x *ListReleaseRes) Reset()

func (*ListReleaseRes) String

func (x *ListReleaseRes) String() string

type Maintainer

type Maintainer struct {

	// Name is a user name or organization name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Email is an optional email address to contact the named maintainer
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// URL is an optional URL to an address for the named maintainer
	Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

Maintainer describes a Chart maintainer.

func (*Maintainer) Descriptor deprecated

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

Deprecated: Use Maintainer.ProtoReflect.Descriptor instead.

func (*Maintainer) GetEmail

func (x *Maintainer) GetEmail() string

func (*Maintainer) GetName

func (x *Maintainer) GetName() string

func (*Maintainer) GetUrl

func (x *Maintainer) GetUrl() string

func (*Maintainer) ProtoMessage

func (*Maintainer) ProtoMessage()

func (*Maintainer) ProtoReflect

func (x *Maintainer) ProtoReflect() protoreflect.Message

func (*Maintainer) Reset

func (x *Maintainer) Reset()

func (*Maintainer) String

func (x *Maintainer) String() string

type Metadata

type Metadata struct {

	// The name of the chart
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The URL to a relevant project page, git repo, or contact person
	Home string `protobuf:"bytes,2,opt,name=home,proto3" json:"home,omitempty"`
	// Source is the URL to the source code of this chart
	Sources []string `protobuf:"bytes,3,rep,name=sources,proto3" json:"sources,omitempty"`
	// A SemVer 2 conformant version string of the chart
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// A one-sentence description of the chart
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// A list of string keywords
	Keywords []string `protobuf:"bytes,6,rep,name=keywords,proto3" json:"keywords,omitempty"`
	// A list of name and URL/email address combinations for the maintainer(s)
	Maintainers []*Maintainer `protobuf:"bytes,7,rep,name=maintainers,proto3" json:"maintainers,omitempty"`
	// The URL to an icon file.
	Icon string `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"`
	// The API Version of this chart.
	ApiVersion string `protobuf:"bytes,9,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// The condition to check to enable chart
	Condition string `protobuf:"bytes,10,opt,name=condition,proto3" json:"condition,omitempty"`
	// The tags to check to enable chart
	Tags string `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"`
	// The version of the application enclosed inside of this chart.
	AppVersion string `protobuf:"bytes,12,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	// Whether or not this chart is deprecated
	Deprecated bool `protobuf:"varint,13,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	// Annotations are additional mappings uninterpreted by Helm,
	// made available for inspection by other applications.
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
	KubeVersion string `protobuf:"bytes,15,opt,name=kubeVersion,proto3" json:"kubeVersion,omitempty"`
	// Dependencies are a list of dependencies for a chart.
	Dependencies []*Dependency `protobuf:"bytes,16,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// Specifies the chart type: application or library
	Type string `protobuf:"bytes,17,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Metadata for a Chart file. This models the structure of a Chart.yaml file.

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAnnotations

func (x *Metadata) GetAnnotations() map[string]string

func (*Metadata) GetApiVersion

func (x *Metadata) GetApiVersion() string

func (*Metadata) GetAppVersion

func (x *Metadata) GetAppVersion() string

func (*Metadata) GetCondition

func (x *Metadata) GetCondition() string

func (*Metadata) GetDependencies

func (x *Metadata) GetDependencies() []*Dependency

func (*Metadata) GetDeprecated

func (x *Metadata) GetDeprecated() bool

func (*Metadata) GetDescription

func (x *Metadata) GetDescription() string

func (*Metadata) GetHome

func (x *Metadata) GetHome() string

func (*Metadata) GetIcon

func (x *Metadata) GetIcon() string

func (*Metadata) GetKeywords

func (x *Metadata) GetKeywords() []string

func (*Metadata) GetKubeVersion

func (x *Metadata) GetKubeVersion() string

func (*Metadata) GetMaintainers

func (x *Metadata) GetMaintainers() []*Maintainer

func (*Metadata) GetName

func (x *Metadata) GetName() string

func (*Metadata) GetSources

func (x *Metadata) GetSources() []string

func (*Metadata) GetTags

func (x *Metadata) GetTags() string

func (*Metadata) GetType

func (x *Metadata) GetType() string

func (*Metadata) GetVersion

func (x *Metadata) GetVersion() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Release

type Release struct {

	// Name is the name of the release
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Info provides information about a release
	Info *Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// Chart is the chart that was released.
	Chart *Chart `protobuf:"bytes,3,opt,name=chart,proto3" json:"chart,omitempty"`
	// Config is the set of extra Values added to the chart.
	// These values override the default values inside of the chart.
	Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	// Manifest is the string representation of the rendered template.
	Manifest string `protobuf:"bytes,5,opt,name=manifest,proto3" json:"manifest,omitempty"`
	// Hooks are all of the hooks declared for this release.
	Hooks []*Hook `protobuf:"bytes,6,rep,name=hooks,proto3" json:"hooks,omitempty"`
	// Version is an int which represents the version of the release.
	Version int64 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
	// Namespace is the kubernetes namespace of the release.
	Namespace string `protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

Release describes a deployment of a chart, together with the chart and the variables used to deploy that chart.

func (*Release) Descriptor deprecated

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

Deprecated: Use Release.ProtoReflect.Descriptor instead.

func (*Release) GetChart

func (x *Release) GetChart() *Chart

func (*Release) GetConfig

func (x *Release) GetConfig() string

func (*Release) GetHooks

func (x *Release) GetHooks() []*Hook

func (*Release) GetInfo

func (x *Release) GetInfo() *Info

func (*Release) GetManifest

func (x *Release) GetManifest() string

func (*Release) GetName

func (x *Release) GetName() string

func (*Release) GetNamespace

func (x *Release) GetNamespace() string

func (*Release) GetVersion

func (x *Release) GetVersion() int64

func (*Release) ProtoMessage

func (*Release) ProtoMessage()

func (*Release) ProtoReflect

func (x *Release) ProtoReflect() protoreflect.Message

func (*Release) Reset

func (x *Release) Reset()

func (*Release) String

func (x *Release) String() string

type ReleaseReq

type ReleaseReq struct {

	// contextName 唯一的context 标识。(可选)
	ContextName string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	ReleaseName string `protobuf:"bytes,2,opt,name=releaseName,proto3" json:"releaseName,omitempty"`
	// namespace 为空会使用context 默认的空间 (可选)
	Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// KubeInfo 如果没有contextName,但是有KubeInfo会创建一个临时的context。
	Kubeinfo *KubeInfo `protobuf:"bytes,10,opt,name=kubeinfo,proto3" json:"kubeinfo,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseReq) Descriptor deprecated

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

Deprecated: Use ReleaseReq.ProtoReflect.Descriptor instead.

func (*ReleaseReq) GetContextName

func (x *ReleaseReq) GetContextName() string

func (*ReleaseReq) GetKubeinfo

func (x *ReleaseReq) GetKubeinfo() *KubeInfo

func (*ReleaseReq) GetNamespace

func (x *ReleaseReq) GetNamespace() string

func (*ReleaseReq) GetReleaseName

func (x *ReleaseReq) GetReleaseName() string

func (*ReleaseReq) ProtoMessage

func (*ReleaseReq) ProtoMessage()

func (*ReleaseReq) ProtoReflect

func (x *ReleaseReq) ProtoReflect() protoreflect.Message

func (*ReleaseReq) Reset

func (x *ReleaseReq) Reset()

func (*ReleaseReq) String

func (x *ReleaseReq) String() string

type ReleaseRollbackReq

type ReleaseRollbackReq struct {

	// contextName 唯一的context 标识。(可选)
	ContextName string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	ReleaseName string `protobuf:"bytes,2,opt,name=releaseName,proto3" json:"releaseName,omitempty"`
	Reversion   int32  `protobuf:"varint,3,opt,name=reversion,proto3" json:"reversion,omitempty"`
	// namespace 为空会使用context 默认的空间 (可选)
	Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// KubeInfo 如果没有contextName,但是有KubeInfo和RepoInfo会创建一个临时的context。
	Kubeinfo *KubeInfo `protobuf:"bytes,10,opt,name=kubeinfo,proto3" json:"kubeinfo,omitempty"`
	// RepoInfo 如果没有contextName,但是有KubeInfo和RepoInfo会创建一个临时的context。
	Repoinfo *RepoInfo `protobuf:"bytes,11,opt,name=repoinfo,proto3" json:"repoinfo,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseRollbackReq) Descriptor deprecated

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

Deprecated: Use ReleaseRollbackReq.ProtoReflect.Descriptor instead.

func (*ReleaseRollbackReq) GetContextName

func (x *ReleaseRollbackReq) GetContextName() string

func (*ReleaseRollbackReq) GetKubeinfo

func (x *ReleaseRollbackReq) GetKubeinfo() *KubeInfo

func (*ReleaseRollbackReq) GetNamespace

func (x *ReleaseRollbackReq) GetNamespace() string

func (*ReleaseRollbackReq) GetReleaseName

func (x *ReleaseRollbackReq) GetReleaseName() string

func (*ReleaseRollbackReq) GetRepoinfo

func (x *ReleaseRollbackReq) GetRepoinfo() *RepoInfo

func (*ReleaseRollbackReq) GetReversion

func (x *ReleaseRollbackReq) GetReversion() int32

func (*ReleaseRollbackReq) ProtoMessage

func (*ReleaseRollbackReq) ProtoMessage()

func (*ReleaseRollbackReq) ProtoReflect

func (x *ReleaseRollbackReq) ProtoReflect() protoreflect.Message

func (*ReleaseRollbackReq) Reset

func (x *ReleaseRollbackReq) Reset()

func (*ReleaseRollbackReq) String

func (x *ReleaseRollbackReq) String() string

type RepoInfo

type RepoInfo struct {

	// entrys 提供 一组 chart repository 信息
	Entrys []*Entry `protobuf:"bytes,2,rep,name=entrys,proto3" json:"entrys,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoInfo) Descriptor deprecated

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

Deprecated: Use RepoInfo.ProtoReflect.Descriptor instead.

func (*RepoInfo) GetEntrys

func (x *RepoInfo) GetEntrys() []*Entry

func (*RepoInfo) ProtoMessage

func (*RepoInfo) ProtoMessage()

func (*RepoInfo) ProtoReflect

func (x *RepoInfo) ProtoReflect() protoreflect.Message

func (*RepoInfo) Reset

func (x *RepoInfo) Reset()

func (*RepoInfo) String

func (x *RepoInfo) String() string

type SearchReq

type SearchReq struct {
	Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// use regular expressions for searching repositories you have added
	Regexp bool `protobuf:"varint,3,opt,name=regexp,proto3" json:"regexp,omitempty"`
	// contextName is name of CreateHelmContext return
	ContextName string `protobuf:"bytes,5,opt,name=contextName,proto3" json:"contextName,omitempty"`
	// RepoInfo or contextName
	Repoinfo *RepoInfo `protobuf:"bytes,11,opt,name=repoinfo,proto3" json:"repoinfo,omitempty"`
	// contains filtered or unexported fields
}

SearchReq

func (*SearchReq) Descriptor deprecated

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

Deprecated: Use SearchReq.ProtoReflect.Descriptor instead.

func (*SearchReq) GetContextName

func (x *SearchReq) GetContextName() string

func (*SearchReq) GetKeyword

func (x *SearchReq) GetKeyword() string

func (*SearchReq) GetRegexp

func (x *SearchReq) GetRegexp() bool

func (*SearchReq) GetRepoinfo

func (x *SearchReq) GetRepoinfo() *RepoInfo

func (*SearchReq) ProtoMessage

func (*SearchReq) ProtoMessage()

func (*SearchReq) ProtoReflect

func (x *SearchReq) ProtoReflect() protoreflect.Message

func (*SearchReq) Reset

func (x *SearchReq) Reset()

func (*SearchReq) String

func (x *SearchReq) String() string

type SearchRes

type SearchRes struct {
	Charts []*ChartInfo `protobuf:"bytes,1,rep,name=charts,proto3" json:"charts,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRes) Descriptor deprecated

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

Deprecated: Use SearchRes.ProtoReflect.Descriptor instead.

func (*SearchRes) GetCharts

func (x *SearchRes) GetCharts() []*ChartInfo

func (*SearchRes) ProtoMessage

func (*SearchRes) ProtoMessage()

func (*SearchRes) ProtoReflect

func (x *SearchRes) ProtoReflect() protoreflect.Message

func (*SearchRes) Reset

func (x *SearchRes) Reset()

func (*SearchRes) String

func (x *SearchRes) String() string

type UnimplementedHelmApiServiceServer

type UnimplementedHelmApiServiceServer struct {
}

UnimplementedHelmApiServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHelmApiServiceServer) All

func (*UnimplementedHelmApiServiceServer) CreateContext

func (*UnimplementedHelmApiServiceServer) DeleteContext

func (*UnimplementedHelmApiServiceServer) GetChart

func (*UnimplementedHelmApiServiceServer) GetRelease

func (*UnimplementedHelmApiServiceServer) GetReleaseHistory

func (*UnimplementedHelmApiServiceServer) GetReleaseValues

func (*UnimplementedHelmApiServiceServer) InstallRelease

func (*UnimplementedHelmApiServiceServer) ListRelease

func (*UnimplementedHelmApiServiceServer) RollbackRelease

func (*UnimplementedHelmApiServiceServer) Search

func (*UnimplementedHelmApiServiceServer) UninstallRelease

func (*UnimplementedHelmApiServiceServer) UpdateRepo

func (*UnimplementedHelmApiServiceServer) UpgradeRelease

type UpdateRepoReq

type UpdateRepoReq struct {

	// contextName 唯一的context 标识。
	ContextName string    `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	Repoinfo    *RepoInfo `protobuf:"bytes,2,opt,name=repoinfo,proto3" json:"repoinfo,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRepoReq) Descriptor deprecated

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

Deprecated: Use UpdateRepoReq.ProtoReflect.Descriptor instead.

func (*UpdateRepoReq) GetContextName

func (x *UpdateRepoReq) GetContextName() string

func (*UpdateRepoReq) GetRepoinfo

func (x *UpdateRepoReq) GetRepoinfo() *RepoInfo

func (*UpdateRepoReq) ProtoMessage

func (*UpdateRepoReq) ProtoMessage()

func (*UpdateRepoReq) ProtoReflect

func (x *UpdateRepoReq) ProtoReflect() protoreflect.Message

func (*UpdateRepoReq) Reset

func (x *UpdateRepoReq) Reset()

func (*UpdateRepoReq) String

func (x *UpdateRepoReq) String() string

type UpgradeReq

type UpgradeReq struct {

	// contextName 唯一的context 标识。(可选)
	ContextName   string `protobuf:"bytes,1,opt,name=contextName,proto3" json:"contextName,omitempty"`
	RepoChartName string `protobuf:"bytes,2,opt,name=repoChartName,proto3" json:"repoChartName,omitempty"`
	ChartVersion  string `protobuf:"bytes,3,opt,name=chartVersion,proto3" json:"chartVersion,omitempty"`
	// namespace 为空会使用context 默认的空间 (可选)
	Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// values 是yaml格式的value文件的内容。(可选)
	Values      string `protobuf:"bytes,6,opt,name=values,proto3" json:"values,omitempty"`
	ReleaseName string `protobuf:"bytes,7,opt,name=releaseName,proto3" json:"releaseName,omitempty"`
	// dry_run 为true 不会真实的部署release。
	DryRun      bool  `protobuf:"varint,9,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	HistoryMax  int32 `protobuf:"varint,10,opt,name=history_max,json=historyMax,proto3" json:"history_max,omitempty"`
	ResetValues bool  `protobuf:"varint,11,opt,name=reset_values,json=resetValues,proto3" json:"reset_values,omitempty"`
	// KubeInfo 如果没有contextName,但是有KubeInfo和RepoInfo会创建一个临时的context。
	Kubeinfo *KubeInfo `protobuf:"bytes,12,opt,name=kubeinfo,proto3" json:"kubeinfo,omitempty"`
	// RepoInfo 如果没有contextName,但是有KubeInfo和RepoInfo会创建一个临时的context。
	Repoinfo *RepoInfo `protobuf:"bytes,13,opt,name=repoinfo,proto3" json:"repoinfo,omitempty"`
	// contains filtered or unexported fields
}

UpgradeReq 升级release的请求。

func (*UpgradeReq) Descriptor deprecated

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

Deprecated: Use UpgradeReq.ProtoReflect.Descriptor instead.

func (*UpgradeReq) GetChartVersion

func (x *UpgradeReq) GetChartVersion() string

func (*UpgradeReq) GetContextName

func (x *UpgradeReq) GetContextName() string

func (*UpgradeReq) GetDryRun

func (x *UpgradeReq) GetDryRun() bool

func (*UpgradeReq) GetHistoryMax

func (x *UpgradeReq) GetHistoryMax() int32

func (*UpgradeReq) GetKubeinfo

func (x *UpgradeReq) GetKubeinfo() *KubeInfo

func (*UpgradeReq) GetNamespace

func (x *UpgradeReq) GetNamespace() string

func (*UpgradeReq) GetReleaseName

func (x *UpgradeReq) GetReleaseName() string

func (*UpgradeReq) GetRepoChartName

func (x *UpgradeReq) GetRepoChartName() string

func (*UpgradeReq) GetRepoinfo

func (x *UpgradeReq) GetRepoinfo() *RepoInfo

func (*UpgradeReq) GetResetValues

func (x *UpgradeReq) GetResetValues() bool

func (*UpgradeReq) GetValues

func (x *UpgradeReq) GetValues() string

func (*UpgradeReq) ProtoMessage

func (*UpgradeReq) ProtoMessage()

func (*UpgradeReq) ProtoReflect

func (x *UpgradeReq) ProtoReflect() protoreflect.Message

func (*UpgradeReq) Reset

func (x *UpgradeReq) Reset()

func (*UpgradeReq) String

func (x *UpgradeReq) String() string

type Values

type Values struct {
	Yaml string `protobuf:"bytes,1,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*Values) Descriptor deprecated

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

Deprecated: Use Values.ProtoReflect.Descriptor instead.

func (*Values) GetYaml

func (x *Values) GetYaml() string

func (*Values) ProtoMessage

func (*Values) ProtoMessage()

func (*Values) ProtoReflect

func (x *Values) ProtoReflect() protoreflect.Message

func (*Values) Reset

func (x *Values) Reset()

func (*Values) String

func (x *Values) String() string

Jump to

Keyboard shortcuts

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