client

package
v0.6.15 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_CLUSTER = "default_cluster"
View Source
const DEFAULT_CLUSTER_ID = 1
View Source
const HELM_APP_ACCESS_COUNTER = "HelmAppAccessCounter"
View Source
const HELM_APP_UPDATE_COUNTER = "HelmAppUpdateCounter"

Variables

View Source
var ApplicationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ApplicationService",
	HandlerType: (*ApplicationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAppDetail",
			Handler:    _ApplicationService_GetAppDetail_Handler,
		},
		{
			MethodName: "GetAppStatus",
			Handler:    _ApplicationService_GetAppStatus_Handler,
		},
		{
			MethodName: "Hibernate",
			Handler:    _ApplicationService_Hibernate_Handler,
		},
		{
			MethodName: "UnHibernate",
			Handler:    _ApplicationService_UnHibernate_Handler,
		},
		{
			MethodName: "GetDeploymentHistory",
			Handler:    _ApplicationService_GetDeploymentHistory_Handler,
		},
		{
			MethodName: "GetValuesYaml",
			Handler:    _ApplicationService_GetValuesYaml_Handler,
		},
		{
			MethodName: "GetDesiredManifest",
			Handler:    _ApplicationService_GetDesiredManifest_Handler,
		},
		{
			MethodName: "UninstallRelease",
			Handler:    _ApplicationService_UninstallRelease_Handler,
		},
		{
			MethodName: "UpgradeRelease",
			Handler:    _ApplicationService_UpgradeRelease_Handler,
		},
		{
			MethodName: "GetDeploymentDetail",
			Handler:    _ApplicationService_GetDeploymentDetail_Handler,
		},
		{
			MethodName: "InstallRelease",
			Handler:    _ApplicationService_InstallRelease_Handler,
		},
		{
			MethodName: "UpgradeReleaseWithChartInfo",
			Handler:    _ApplicationService_UpgradeReleaseWithChartInfo_Handler,
		},
		{
			MethodName: "IsReleaseInstalled",
			Handler:    _ApplicationService_IsReleaseInstalled_Handler,
		},
		{
			MethodName: "RollbackRelease",
			Handler:    _ApplicationService_RollbackRelease_Handler,
		},
		{
			MethodName: "TemplateChart",
			Handler:    _ApplicationService_TemplateChart_Handler,
		},
		{
			MethodName: "InstallReleaseWithCustomChart",
			Handler:    _ApplicationService_InstallReleaseWithCustomChart_Handler,
		},
		{
			MethodName: "GetNotes",
			Handler:    _ApplicationService_GetNotes_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListApplications",
			Handler:       _ApplicationService_ListApplications_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/helm-app/applist.proto",
}

ApplicationService_ServiceDesc is the grpc.ServiceDesc for ApplicationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_helm_app_applist_proto protoreflect.FileDescriptor

Functions

func RegisterApplicationServiceServer

func RegisterApplicationServiceServer(s grpc.ServiceRegistrar, srv ApplicationServiceServer)

Types

type AppDetail

type AppDetail struct {
	ApplicationStatus    string                `protobuf:"bytes,1,opt,name=applicationStatus,proto3" json:"applicationStatus,omitempty"`
	ReleaseStatus        *ReleaseStatus        `protobuf:"bytes,2,opt,name=releaseStatus,proto3" json:"releaseStatus,omitempty"`
	LastDeployed         *timestamp.Timestamp  `protobuf:"bytes,6,opt,name=lastDeployed,proto3" json:"lastDeployed,omitempty"`
	ChartMetadata        *ChartMetadata        `protobuf:"bytes,7,opt,name=chartMetadata,proto3" json:"chartMetadata,omitempty"`
	ResourceTreeResponse *ResourceTreeResponse `protobuf:"bytes,8,opt,name=resourceTreeResponse,proto3" json:"resourceTreeResponse,omitempty"`
	EnvironmentDetails   *EnvironmentDetails   `protobuf:"bytes,9,opt,name=environmentDetails,proto3" json:"environmentDetails,omitempty"`
	// contains filtered or unexported fields
}

func (*AppDetail) Descriptor deprecated

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

Deprecated: Use AppDetail.ProtoReflect.Descriptor instead.

func (*AppDetail) GetApplicationStatus

func (x *AppDetail) GetApplicationStatus() string

func (*AppDetail) GetChartMetadata

func (x *AppDetail) GetChartMetadata() *ChartMetadata

func (*AppDetail) GetEnvironmentDetails

func (x *AppDetail) GetEnvironmentDetails() *EnvironmentDetails

func (*AppDetail) GetLastDeployed

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

func (*AppDetail) GetReleaseStatus

func (x *AppDetail) GetReleaseStatus() *ReleaseStatus

func (*AppDetail) GetResourceTreeResponse

func (x *AppDetail) GetResourceTreeResponse() *ResourceTreeResponse

func (*AppDetail) ProtoMessage

func (*AppDetail) ProtoMessage()

func (*AppDetail) ProtoReflect

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

func (*AppDetail) Reset

func (x *AppDetail) Reset()

func (*AppDetail) String

func (x *AppDetail) String() string

type AppDetailAndInstalledAppInfo added in v0.3.17

type AppDetailAndInstalledAppInfo struct {
	InstalledAppInfo *InstalledAppInfo `json:"installedAppInfo"`
	AppDetail        *AppDetail        `json:"appDetail"`
}

type AppDetailRequest

type AppDetailRequest struct {
	ClusterConfig *ClusterConfig `protobuf:"bytes,1,opt,name=clusterConfig,proto3" json:"clusterConfig,omitempty"`
	Namespace     string         `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ReleaseName   string         `protobuf:"bytes,3,opt,name=ReleaseName,proto3" json:"ReleaseName,omitempty"`
	// Map key cannot be float, double, bytes, message, or enum types (map<Gvk, Labels> could be a better option)
	ResourceTreeFilter *ResourceTreeFilter `protobuf:"bytes,4,opt,name=resourceTreeFilter,proto3" json:"resourceTreeFilter,omitempty"`
	// contains filtered or unexported fields
}

func (*AppDetailRequest) Descriptor deprecated

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

Deprecated: Use AppDetailRequest.ProtoReflect.Descriptor instead.

func (*AppDetailRequest) GetClusterConfig

func (x *AppDetailRequest) GetClusterConfig() *ClusterConfig

func (*AppDetailRequest) GetNamespace

func (x *AppDetailRequest) GetNamespace() string

func (*AppDetailRequest) GetReleaseName

func (x *AppDetailRequest) GetReleaseName() string

func (*AppDetailRequest) GetResourceTreeFilter added in v0.6.10

func (x *AppDetailRequest) GetResourceTreeFilter() *ResourceTreeFilter

func (*AppDetailRequest) ProtoMessage

func (*AppDetailRequest) ProtoMessage()

func (*AppDetailRequest) ProtoReflect

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

func (*AppDetailRequest) Reset

func (x *AppDetailRequest) Reset()

func (*AppDetailRequest) String

func (x *AppDetailRequest) String() string

type AppIdentifier

type AppIdentifier struct {
	ClusterId   int    `json:"clusterId"`
	Namespace   string `json:"namespace"`
	ReleaseName string `json:"releaseName"`
}

type AppListRequest

type AppListRequest struct {
	Clusters []*ClusterConfig `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// contains filtered or unexported fields
}

func (*AppListRequest) Descriptor deprecated

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

Deprecated: Use AppListRequest.ProtoReflect.Descriptor instead.

func (*AppListRequest) GetClusters

func (x *AppListRequest) GetClusters() []*ClusterConfig

func (*AppListRequest) ProtoMessage

func (*AppListRequest) ProtoMessage()

func (*AppListRequest) ProtoReflect

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

func (*AppListRequest) Reset

func (x *AppListRequest) Reset()

func (*AppListRequest) String

func (x *AppListRequest) String() string

type AppStatus added in v0.6.12

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

func (*AppStatus) Descriptor deprecated added in v0.6.12

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

Deprecated: Use AppStatus.ProtoReflect.Descriptor instead.

func (*AppStatus) GetApplicationStatus added in v0.6.12

func (x *AppStatus) GetApplicationStatus() string

func (*AppStatus) ProtoMessage added in v0.6.12

func (*AppStatus) ProtoMessage()

func (*AppStatus) ProtoReflect added in v0.6.12

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

func (*AppStatus) Reset added in v0.6.12

func (x *AppStatus) Reset()

func (*AppStatus) String added in v0.6.12

func (x *AppStatus) String() string

type ApplicationServiceClient

type ApplicationServiceClient interface {
	ListApplications(ctx context.Context, in *AppListRequest, opts ...grpc.CallOption) (ApplicationService_ListApplicationsClient, error)
	GetAppDetail(ctx context.Context, in *AppDetailRequest, opts ...grpc.CallOption) (*AppDetail, error)
	GetAppStatus(ctx context.Context, in *AppDetailRequest, opts ...grpc.CallOption) (*AppStatus, error)
	Hibernate(ctx context.Context, in *HibernateRequest, opts ...grpc.CallOption) (*HibernateResponse, error)
	UnHibernate(ctx context.Context, in *HibernateRequest, opts ...grpc.CallOption) (*HibernateResponse, error)
	GetDeploymentHistory(ctx context.Context, in *AppDetailRequest, opts ...grpc.CallOption) (*HelmAppDeploymentHistory, error)
	GetValuesYaml(ctx context.Context, in *AppDetailRequest, opts ...grpc.CallOption) (*ReleaseInfo, error)
	GetDesiredManifest(ctx context.Context, in *ObjectRequest, opts ...grpc.CallOption) (*DesiredManifestResponse, error)
	UninstallRelease(ctx context.Context, in *ReleaseIdentifier, opts ...grpc.CallOption) (*UninstallReleaseResponse, error)
	UpgradeRelease(ctx context.Context, in *UpgradeReleaseRequest, opts ...grpc.CallOption) (*UpgradeReleaseResponse, error)
	GetDeploymentDetail(ctx context.Context, in *DeploymentDetailRequest, opts ...grpc.CallOption) (*DeploymentDetailResponse, error)
	InstallRelease(ctx context.Context, in *InstallReleaseRequest, opts ...grpc.CallOption) (*InstallReleaseResponse, error)
	UpgradeReleaseWithChartInfo(ctx context.Context, in *InstallReleaseRequest, opts ...grpc.CallOption) (*UpgradeReleaseResponse, error)
	IsReleaseInstalled(ctx context.Context, in *ReleaseIdentifier, opts ...grpc.CallOption) (*BooleanResponse, error)
	RollbackRelease(ctx context.Context, in *RollbackReleaseRequest, opts ...grpc.CallOption) (*BooleanResponse, error)
	TemplateChart(ctx context.Context, in *InstallReleaseRequest, opts ...grpc.CallOption) (*TemplateChartResponse, error)
	InstallReleaseWithCustomChart(ctx context.Context, in *HelmInstallCustomRequest, opts ...grpc.CallOption) (*HelmInstallCustomResponse, error)
	GetNotes(ctx context.Context, in *InstallReleaseRequest, opts ...grpc.CallOption) (*ChartNotesResponse, error)
}

ApplicationServiceClient is the client API for ApplicationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ApplicationServiceServer

type ApplicationServiceServer interface {
	ListApplications(*AppListRequest, ApplicationService_ListApplicationsServer) error
	GetAppDetail(context.Context, *AppDetailRequest) (*AppDetail, error)
	GetAppStatus(context.Context, *AppDetailRequest) (*AppStatus, error)
	Hibernate(context.Context, *HibernateRequest) (*HibernateResponse, error)
	UnHibernate(context.Context, *HibernateRequest) (*HibernateResponse, error)
	GetDeploymentHistory(context.Context, *AppDetailRequest) (*HelmAppDeploymentHistory, error)
	GetValuesYaml(context.Context, *AppDetailRequest) (*ReleaseInfo, error)
	GetDesiredManifest(context.Context, *ObjectRequest) (*DesiredManifestResponse, error)
	UninstallRelease(context.Context, *ReleaseIdentifier) (*UninstallReleaseResponse, error)
	UpgradeRelease(context.Context, *UpgradeReleaseRequest) (*UpgradeReleaseResponse, error)
	GetDeploymentDetail(context.Context, *DeploymentDetailRequest) (*DeploymentDetailResponse, error)
	InstallRelease(context.Context, *InstallReleaseRequest) (*InstallReleaseResponse, error)
	UpgradeReleaseWithChartInfo(context.Context, *InstallReleaseRequest) (*UpgradeReleaseResponse, error)
	IsReleaseInstalled(context.Context, *ReleaseIdentifier) (*BooleanResponse, error)
	RollbackRelease(context.Context, *RollbackReleaseRequest) (*BooleanResponse, error)
	TemplateChart(context.Context, *InstallReleaseRequest) (*TemplateChartResponse, error)
	InstallReleaseWithCustomChart(context.Context, *HelmInstallCustomRequest) (*HelmInstallCustomResponse, error)
	GetNotes(context.Context, *InstallReleaseRequest) (*ChartNotesResponse, error)
	// contains filtered or unexported methods
}

ApplicationServiceServer is the server API for ApplicationService service. All implementations must embed UnimplementedApplicationServiceServer for forward compatibility

type ApplicationService_ListApplicationsClient

type ApplicationService_ListApplicationsClient interface {
	Recv() (*DeployedAppList, error)
	grpc.ClientStream
}

type ApplicationService_ListApplicationsServer

type ApplicationService_ListApplicationsServer interface {
	Send(*DeployedAppList) error
	grpc.ServerStream
}

type BooleanResponse added in v0.3.20

type BooleanResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*BooleanResponse) Descriptor deprecated added in v0.3.20

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

Deprecated: Use BooleanResponse.ProtoReflect.Descriptor instead.

func (*BooleanResponse) GetResult added in v0.3.20

func (x *BooleanResponse) GetResult() bool

func (*BooleanResponse) ProtoMessage added in v0.3.20

func (*BooleanResponse) ProtoMessage()

func (*BooleanResponse) ProtoReflect added in v0.3.20

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

func (*BooleanResponse) Reset added in v0.3.20

func (x *BooleanResponse) Reset()

func (*BooleanResponse) String added in v0.3.20

func (x *BooleanResponse) String() string

type ChartContent added in v0.4.14

type ChartContent struct {
	Content []byte `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"`
	// contains filtered or unexported fields
}

func (*ChartContent) Descriptor deprecated added in v0.4.14

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

Deprecated: Use ChartContent.ProtoReflect.Descriptor instead.

func (*ChartContent) GetContent added in v0.4.14

func (x *ChartContent) GetContent() []byte

func (*ChartContent) ProtoMessage added in v0.4.14

func (*ChartContent) ProtoMessage()

func (*ChartContent) ProtoReflect added in v0.4.14

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

func (*ChartContent) Reset added in v0.4.14

func (x *ChartContent) Reset()

func (*ChartContent) String added in v0.4.14

func (x *ChartContent) String() string

type ChartMetadata

type ChartMetadata struct {
	ChartName    string   `protobuf:"bytes,1,opt,name=chartName,proto3" json:"chartName,omitempty"`
	ChartVersion string   `protobuf:"bytes,2,opt,name=chartVersion,proto3" json:"chartVersion,omitempty"`
	Home         string   `protobuf:"bytes,3,opt,name=home,proto3" json:"home,omitempty"`
	Sources      []string `protobuf:"bytes,4,rep,name=sources,proto3" json:"sources,omitempty"`
	Description  string   `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Contains the rendered templates/NOTES.txt
	Notes string `protobuf:"bytes,6,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

func (*ChartMetadata) Descriptor deprecated

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

Deprecated: Use ChartMetadata.ProtoReflect.Descriptor instead.

func (*ChartMetadata) GetChartName

func (x *ChartMetadata) GetChartName() string

func (*ChartMetadata) GetChartVersion

func (x *ChartMetadata) GetChartVersion() string

func (*ChartMetadata) GetDescription

func (x *ChartMetadata) GetDescription() string

func (*ChartMetadata) GetHome

func (x *ChartMetadata) GetHome() string

func (*ChartMetadata) GetNotes added in v0.3.25

func (x *ChartMetadata) GetNotes() string

func (*ChartMetadata) GetSources

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

func (*ChartMetadata) ProtoMessage

func (*ChartMetadata) ProtoMessage()

func (*ChartMetadata) ProtoReflect

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

func (*ChartMetadata) Reset

func (x *ChartMetadata) Reset()

func (*ChartMetadata) String

func (x *ChartMetadata) String() string

type ChartNotesResponse added in v0.6.15

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

func (*ChartNotesResponse) Descriptor deprecated added in v0.6.15

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

Deprecated: Use ChartNotesResponse.ProtoReflect.Descriptor instead.

func (*ChartNotesResponse) GetNotes added in v0.6.15

func (x *ChartNotesResponse) GetNotes() string

func (*ChartNotesResponse) ProtoMessage added in v0.6.15

func (*ChartNotesResponse) ProtoMessage()

func (*ChartNotesResponse) ProtoReflect added in v0.6.15

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

func (*ChartNotesResponse) Reset added in v0.6.15

func (x *ChartNotesResponse) Reset()

func (*ChartNotesResponse) String added in v0.6.15

func (x *ChartNotesResponse) String() string

type ChartRepository added in v0.3.17

type ChartRepository 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"`
	// contains filtered or unexported fields
}

func (*ChartRepository) Descriptor deprecated added in v0.3.17

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

Deprecated: Use ChartRepository.ProtoReflect.Descriptor instead.

func (*ChartRepository) GetName added in v0.3.17

func (x *ChartRepository) GetName() string

func (*ChartRepository) GetPassword added in v0.3.17

func (x *ChartRepository) GetPassword() string

func (*ChartRepository) GetUrl added in v0.3.17

func (x *ChartRepository) GetUrl() string

func (*ChartRepository) GetUsername added in v0.3.17

func (x *ChartRepository) GetUsername() string

func (*ChartRepository) ProtoMessage added in v0.3.17

func (*ChartRepository) ProtoMessage()

func (*ChartRepository) ProtoReflect added in v0.3.17

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

func (*ChartRepository) Reset added in v0.3.17

func (x *ChartRepository) Reset()

func (*ChartRepository) String added in v0.3.17

func (x *ChartRepository) String() string

type ClusterConfig

type ClusterConfig struct {
	ApiServerUrl string `protobuf:"bytes,1,opt,name=apiServerUrl,proto3" json:"apiServerUrl,omitempty"`
	Token        string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	ClusterId    int32  `protobuf:"varint,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	ClusterName  string `protobuf:"bytes,4,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterConfig) Descriptor deprecated

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

Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.

func (*ClusterConfig) GetApiServerUrl

func (x *ClusterConfig) GetApiServerUrl() string

func (*ClusterConfig) GetClusterId

func (x *ClusterConfig) GetClusterId() int32

func (*ClusterConfig) GetClusterName

func (x *ClusterConfig) GetClusterName() string

func (*ClusterConfig) GetToken

func (x *ClusterConfig) GetToken() string

func (*ClusterConfig) ProtoMessage

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) ProtoReflect

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

func (*ClusterConfig) Reset

func (x *ClusterConfig) Reset()

func (*ClusterConfig) String

func (x *ClusterConfig) String() string

type DeployedAppDetail

type DeployedAppDetail struct {
	AppId             string               `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
	AppName           string               `protobuf:"bytes,2,opt,name=appName,proto3" json:"appName,omitempty"`
	ChartName         string               `protobuf:"bytes,3,opt,name=chartName,proto3" json:"chartName,omitempty"`
	ChartAvatar       string               `protobuf:"bytes,4,opt,name=chartAvatar,proto3" json:"chartAvatar,omitempty"`
	EnvironmentDetail *EnvironmentDetails  `protobuf:"bytes,5,opt,name=environmentDetail,proto3" json:"environmentDetail,omitempty"`
	LastDeployed      *timestamp.Timestamp `protobuf:"bytes,6,opt,name=LastDeployed,proto3" json:"LastDeployed,omitempty"`
	ChartVersion      string               `protobuf:"bytes,7,opt,name=chartVersion,proto3" json:"chartVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*DeployedAppDetail) Descriptor deprecated

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

Deprecated: Use DeployedAppDetail.ProtoReflect.Descriptor instead.

func (*DeployedAppDetail) GetAppId

func (x *DeployedAppDetail) GetAppId() string

func (*DeployedAppDetail) GetAppName

func (x *DeployedAppDetail) GetAppName() string

func (*DeployedAppDetail) GetChartAvatar

func (x *DeployedAppDetail) GetChartAvatar() string

func (*DeployedAppDetail) GetChartName

func (x *DeployedAppDetail) GetChartName() string

func (*DeployedAppDetail) GetChartVersion

func (x *DeployedAppDetail) GetChartVersion() string

func (*DeployedAppDetail) GetEnvironmentDetail

func (x *DeployedAppDetail) GetEnvironmentDetail() *EnvironmentDetails

func (*DeployedAppDetail) GetLastDeployed

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

func (*DeployedAppDetail) ProtoMessage

func (*DeployedAppDetail) ProtoMessage()

func (*DeployedAppDetail) ProtoReflect

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

func (*DeployedAppDetail) Reset

func (x *DeployedAppDetail) Reset()

func (*DeployedAppDetail) String

func (x *DeployedAppDetail) String() string

type DeployedAppList

type DeployedAppList struct {
	DeployedAppDetail []*DeployedAppDetail `protobuf:"bytes,1,rep,name=DeployedAppDetail,proto3" json:"DeployedAppDetail,omitempty"`
	ClusterId         int32                `protobuf:"varint,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	ErrorMsg          string               `protobuf:"bytes,3,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"`
	Errored           bool                 `protobuf:"varint,4,opt,name=errored,proto3" json:"errored,omitempty"`
	// contains filtered or unexported fields
}

func (*DeployedAppList) Descriptor deprecated

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

Deprecated: Use DeployedAppList.ProtoReflect.Descriptor instead.

func (*DeployedAppList) GetClusterId

func (x *DeployedAppList) GetClusterId() int32

func (*DeployedAppList) GetDeployedAppDetail

func (x *DeployedAppList) GetDeployedAppDetail() []*DeployedAppDetail

func (*DeployedAppList) GetErrorMsg

func (x *DeployedAppList) GetErrorMsg() string

func (*DeployedAppList) GetErrored

func (x *DeployedAppList) GetErrored() bool

func (*DeployedAppList) ProtoMessage

func (*DeployedAppList) ProtoMessage()

func (*DeployedAppList) ProtoReflect

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

func (*DeployedAppList) Reset

func (x *DeployedAppList) Reset()

func (*DeployedAppList) String

func (x *DeployedAppList) String() string

type DeploymentDetailRequest added in v0.3.15

type DeploymentDetailRequest struct {
	ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,1,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"`
	DeploymentVersion int32              `protobuf:"varint,2,opt,name=deploymentVersion,proto3" json:"deploymentVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentDetailRequest) Descriptor deprecated added in v0.3.15

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

Deprecated: Use DeploymentDetailRequest.ProtoReflect.Descriptor instead.

func (*DeploymentDetailRequest) GetDeploymentVersion added in v0.3.15

func (x *DeploymentDetailRequest) GetDeploymentVersion() int32

func (*DeploymentDetailRequest) GetReleaseIdentifier added in v0.3.15

func (x *DeploymentDetailRequest) GetReleaseIdentifier() *ReleaseIdentifier

func (*DeploymentDetailRequest) ProtoMessage added in v0.3.15

func (*DeploymentDetailRequest) ProtoMessage()

func (*DeploymentDetailRequest) ProtoReflect added in v0.3.15

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

func (*DeploymentDetailRequest) Reset added in v0.3.15

func (x *DeploymentDetailRequest) Reset()

func (*DeploymentDetailRequest) String added in v0.3.15

func (x *DeploymentDetailRequest) String() string

type DeploymentDetailResponse added in v0.3.15

type DeploymentDetailResponse struct {
	Manifest   string `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"`
	ValuesYaml string `protobuf:"bytes,2,opt,name=valuesYaml,proto3" json:"valuesYaml,omitempty"`
	// contains filtered or unexported fields
}

func (*DeploymentDetailResponse) Descriptor deprecated added in v0.3.15

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

Deprecated: Use DeploymentDetailResponse.ProtoReflect.Descriptor instead.

func (*DeploymentDetailResponse) GetManifest added in v0.3.15

func (x *DeploymentDetailResponse) GetManifest() string

func (*DeploymentDetailResponse) GetValuesYaml added in v0.3.15

func (x *DeploymentDetailResponse) GetValuesYaml() string

func (*DeploymentDetailResponse) ProtoMessage added in v0.3.15

func (*DeploymentDetailResponse) ProtoMessage()

func (*DeploymentDetailResponse) ProtoReflect added in v0.3.15

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

func (*DeploymentDetailResponse) Reset added in v0.3.15

func (x *DeploymentDetailResponse) Reset()

func (*DeploymentDetailResponse) String added in v0.3.15

func (x *DeploymentDetailResponse) String() string

type DeploymentHistoryAndInstalledAppInfo added in v0.3.21

type DeploymentHistoryAndInstalledAppInfo struct {
	InstalledAppInfo  *InstalledAppInfo          `json:"installedAppInfo"`
	DeploymentHistory []*HelmAppDeploymentDetail `json:"deploymentHistory"`
}

type DesiredManifestResponse

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

func (*DesiredManifestResponse) Descriptor deprecated

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

Deprecated: Use DesiredManifestResponse.ProtoReflect.Descriptor instead.

func (*DesiredManifestResponse) GetManifest

func (x *DesiredManifestResponse) GetManifest() string

func (*DesiredManifestResponse) ProtoMessage

func (*DesiredManifestResponse) ProtoMessage()

func (*DesiredManifestResponse) ProtoReflect

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

func (*DesiredManifestResponse) Reset

func (x *DesiredManifestResponse) Reset()

func (*DesiredManifestResponse) String

func (x *DesiredManifestResponse) String() string

type EnvironmentDetails

type EnvironmentDetails struct {
	ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
	ClusterId   int32  `protobuf:"varint,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	Namespace   string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvironmentDetails) Descriptor deprecated

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

Deprecated: Use EnvironmentDetails.ProtoReflect.Descriptor instead.

func (*EnvironmentDetails) GetClusterId

func (x *EnvironmentDetails) GetClusterId() int32

func (*EnvironmentDetails) GetClusterName

func (x *EnvironmentDetails) GetClusterName() string

func (*EnvironmentDetails) GetNamespace

func (x *EnvironmentDetails) GetNamespace() string

func (*EnvironmentDetails) ProtoMessage

func (*EnvironmentDetails) ProtoMessage()

func (*EnvironmentDetails) ProtoReflect

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

func (*EnvironmentDetails) Reset

func (x *EnvironmentDetails) Reset()

func (*EnvironmentDetails) String

func (x *EnvironmentDetails) String() string

type Gvk added in v0.6.10

type Gvk struct {
	Group   string `protobuf:"bytes,1,opt,name=Group,proto3" json:"Group,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Kind    string `protobuf:"bytes,3,opt,name=Kind,proto3" json:"Kind,omitempty"`
	// contains filtered or unexported fields
}

func (*Gvk) Descriptor deprecated added in v0.6.10

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

Deprecated: Use Gvk.ProtoReflect.Descriptor instead.

func (*Gvk) GetGroup added in v0.6.10

func (x *Gvk) GetGroup() string

func (*Gvk) GetKind added in v0.6.10

func (x *Gvk) GetKind() string

func (*Gvk) GetVersion added in v0.6.10

func (x *Gvk) GetVersion() string

func (*Gvk) ProtoMessage added in v0.6.10

func (*Gvk) ProtoMessage()

func (*Gvk) ProtoReflect added in v0.6.10

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

func (*Gvk) Reset added in v0.6.10

func (x *Gvk) Reset()

func (*Gvk) String added in v0.6.10

func (x *Gvk) String() string

type HealthStatus

type HealthStatus struct {
	Status  string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthStatus) Descriptor deprecated

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

Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.

func (*HealthStatus) GetMessage

func (x *HealthStatus) GetMessage() string

func (*HealthStatus) GetStatus

func (x *HealthStatus) GetStatus() string

func (*HealthStatus) ProtoMessage

func (*HealthStatus) ProtoMessage()

func (*HealthStatus) ProtoReflect

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

func (*HealthStatus) Reset

func (x *HealthStatus) Reset()

func (*HealthStatus) String

func (x *HealthStatus) String() string

type HelmAppClient

type HelmAppClient interface {
	ListApplication(ctx context.Context, req *AppListRequest) (ApplicationService_ListApplicationsClient, error)
	GetAppDetail(ctx context.Context, in *AppDetailRequest) (*AppDetail, error)
	GetAppStatus(ctx context.Context, in *AppDetailRequest) (*AppStatus, error)
	Hibernate(ctx context.Context, in *HibernateRequest) (*HibernateResponse, error)
	UnHibernate(ctx context.Context, in *HibernateRequest) (*HibernateResponse, error)
	GetDeploymentHistory(ctx context.Context, in *AppDetailRequest) (*HelmAppDeploymentHistory, error)
	GetValuesYaml(ctx context.Context, in *AppDetailRequest) (*ReleaseInfo, error)
	GetDesiredManifest(ctx context.Context, in *ObjectRequest) (*DesiredManifestResponse, error)
	DeleteApplication(ctx context.Context, in *ReleaseIdentifier) (*UninstallReleaseResponse, error)
	UpdateApplication(ctx context.Context, in *UpgradeReleaseRequest) (*UpgradeReleaseResponse, error)
	GetDeploymentDetail(ctx context.Context, in *DeploymentDetailRequest) (*DeploymentDetailResponse, error)
	InstallRelease(ctx context.Context, in *InstallReleaseRequest) (*InstallReleaseResponse, error)
	UpdateApplicationWithChartInfo(ctx context.Context, in *InstallReleaseRequest) (*UpgradeReleaseResponse, error)
	IsReleaseInstalled(ctx context.Context, in *ReleaseIdentifier) (*BooleanResponse, error)
	RollbackRelease(ctx context.Context, in *RollbackReleaseRequest) (*BooleanResponse, error)
	TemplateChart(ctx context.Context, in *InstallReleaseRequest) (*TemplateChartResponse, error)
	InstallReleaseWithCustomChart(ctx context.Context, in *HelmInstallCustomRequest) (*HelmInstallCustomResponse, error)
	GetNotes(ctx context.Context, request *InstallReleaseRequest) (*ChartNotesResponse, error)
}

type HelmAppClientImpl

type HelmAppClientImpl struct {
	// contains filtered or unexported fields
}

func NewHelmAppClientImpl

func NewHelmAppClientImpl(logger *zap.SugaredLogger, helmClientConfig *HelmClientConfig) *HelmAppClientImpl

func (*HelmAppClientImpl) DeleteApplication

func (impl *HelmAppClientImpl) DeleteApplication(ctx context.Context, in *ReleaseIdentifier) (*UninstallReleaseResponse, error)

func (*HelmAppClientImpl) GetAppDetail

func (impl *HelmAppClientImpl) GetAppDetail(ctx context.Context, in *AppDetailRequest) (*AppDetail, error)

func (*HelmAppClientImpl) GetAppStatus added in v0.6.12

func (impl *HelmAppClientImpl) GetAppStatus(ctx context.Context, in *AppDetailRequest) (*AppStatus, error)

func (*HelmAppClientImpl) GetDeploymentDetail added in v0.3.15

func (*HelmAppClientImpl) GetDeploymentHistory

func (impl *HelmAppClientImpl) GetDeploymentHistory(ctx context.Context, in *AppDetailRequest) (*HelmAppDeploymentHistory, error)

func (*HelmAppClientImpl) GetDesiredManifest

func (impl *HelmAppClientImpl) GetDesiredManifest(ctx context.Context, in *ObjectRequest) (*DesiredManifestResponse, error)

func (*HelmAppClientImpl) GetNotes added in v0.6.15

func (*HelmAppClientImpl) GetValuesYaml

func (impl *HelmAppClientImpl) GetValuesYaml(ctx context.Context, in *AppDetailRequest) (*ReleaseInfo, error)

func (*HelmAppClientImpl) Hibernate

func (*HelmAppClientImpl) InstallRelease added in v0.3.17

func (*HelmAppClientImpl) InstallReleaseWithCustomChart added in v0.4.14

func (impl *HelmAppClientImpl) InstallReleaseWithCustomChart(ctx context.Context, in *HelmInstallCustomRequest) (*HelmInstallCustomResponse, error)

func (*HelmAppClientImpl) IsReleaseInstalled added in v0.3.20

func (impl *HelmAppClientImpl) IsReleaseInstalled(ctx context.Context, in *ReleaseIdentifier) (*BooleanResponse, error)

func (*HelmAppClientImpl) ListApplication

func (*HelmAppClientImpl) RollbackRelease added in v0.3.21

func (impl *HelmAppClientImpl) RollbackRelease(ctx context.Context, in *RollbackReleaseRequest) (*BooleanResponse, error)

func (*HelmAppClientImpl) TemplateChart added in v0.4.4

func (*HelmAppClientImpl) UnHibernate

func (impl *HelmAppClientImpl) UnHibernate(ctx context.Context, in *HibernateRequest) (*HibernateResponse, error)

func (*HelmAppClientImpl) UpdateApplication

func (*HelmAppClientImpl) UpdateApplicationWithChartInfo added in v0.3.17

func (impl *HelmAppClientImpl) UpdateApplicationWithChartInfo(ctx context.Context, in *InstallReleaseRequest) (*UpgradeReleaseResponse, error)

type HelmAppDeploymentDetail

type HelmAppDeploymentDetail struct {
	ChartMetadata *ChartMetadata       `protobuf:"bytes,1,opt,name=chartMetadata,proto3" json:"chartMetadata,omitempty"`
	DockerImages  []string             `protobuf:"bytes,2,rep,name=dockerImages,proto3" json:"dockerImages,omitempty"`
	Version       int32                `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	DeployedAt    *timestamp.Timestamp `protobuf:"bytes,4,opt,name=deployedAt,proto3" json:"deployedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*HelmAppDeploymentDetail) Descriptor deprecated

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

Deprecated: Use HelmAppDeploymentDetail.ProtoReflect.Descriptor instead.

func (*HelmAppDeploymentDetail) GetChartMetadata

func (x *HelmAppDeploymentDetail) GetChartMetadata() *ChartMetadata

func (*HelmAppDeploymentDetail) GetDeployedAt

func (x *HelmAppDeploymentDetail) GetDeployedAt() *timestamp.Timestamp

func (*HelmAppDeploymentDetail) GetDockerImages

func (x *HelmAppDeploymentDetail) GetDockerImages() []string

func (*HelmAppDeploymentDetail) GetVersion

func (x *HelmAppDeploymentDetail) GetVersion() int32

func (*HelmAppDeploymentDetail) ProtoMessage

func (*HelmAppDeploymentDetail) ProtoMessage()

func (*HelmAppDeploymentDetail) ProtoReflect

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

func (*HelmAppDeploymentDetail) Reset

func (x *HelmAppDeploymentDetail) Reset()

func (*HelmAppDeploymentDetail) String

func (x *HelmAppDeploymentDetail) String() string

type HelmAppDeploymentHistory

type HelmAppDeploymentHistory struct {
	DeploymentHistory []*HelmAppDeploymentDetail `protobuf:"bytes,1,rep,name=deploymentHistory,proto3" json:"deploymentHistory,omitempty"`
	// contains filtered or unexported fields
}

func (*HelmAppDeploymentHistory) Descriptor deprecated

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

Deprecated: Use HelmAppDeploymentHistory.ProtoReflect.Descriptor instead.

func (*HelmAppDeploymentHistory) GetDeploymentHistory

func (x *HelmAppDeploymentHistory) GetDeploymentHistory() []*HelmAppDeploymentDetail

func (*HelmAppDeploymentHistory) ProtoMessage

func (*HelmAppDeploymentHistory) ProtoMessage()

func (*HelmAppDeploymentHistory) ProtoReflect

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

func (*HelmAppDeploymentHistory) Reset

func (x *HelmAppDeploymentHistory) Reset()

func (*HelmAppDeploymentHistory) String

func (x *HelmAppDeploymentHistory) String() string

type HelmAppRestHandler

type HelmAppRestHandler interface {
	ListApplications(w http.ResponseWriter, r *http.Request)
	GetApplicationDetail(w http.ResponseWriter, r *http.Request)
	Hibernate(w http.ResponseWriter, r *http.Request)
	UnHibernate(w http.ResponseWriter, r *http.Request)
	GetReleaseInfo(w http.ResponseWriter, r *http.Request)
	GetDesiredManifest(w http.ResponseWriter, r *http.Request)
	DeleteApplication(w http.ResponseWriter, r *http.Request)
	UpdateApplication(w http.ResponseWriter, r *http.Request)
	TemplateChart(w http.ResponseWriter, r *http.Request)
	SaveHelmAppDetailsViewedTelemetryData(w http.ResponseWriter, r *http.Request)
}

type HelmAppRestHandlerImpl

type HelmAppRestHandlerImpl struct {
	// contains filtered or unexported fields
}

func NewHelmAppRestHandlerImpl

func NewHelmAppRestHandlerImpl(logger *zap.SugaredLogger,
	helmAppService HelmAppService, enforcer casbin.Enforcer,
	clusterService cluster.ClusterService, enforcerUtil rbac.EnforcerUtilHelm, appStoreDeploymentCommonService appStoreDeploymentCommon.AppStoreDeploymentCommonService,
	userAuthService user.UserService, attributesService attributes.AttributesService, serverEnvConfig *serverEnvConfig.ServerEnvConfig) *HelmAppRestHandlerImpl

func (*HelmAppRestHandlerImpl) DeleteApplication

func (handler *HelmAppRestHandlerImpl) DeleteApplication(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) GetApplicationDetail

func (handler *HelmAppRestHandlerImpl) GetApplicationDetail(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) GetDesiredManifest

func (handler *HelmAppRestHandlerImpl) GetDesiredManifest(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) GetReleaseInfo added in v0.3.20

func (handler *HelmAppRestHandlerImpl) GetReleaseInfo(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) Hibernate

func (handler *HelmAppRestHandlerImpl) Hibernate(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) ListApplications

func (handler *HelmAppRestHandlerImpl) ListApplications(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) SaveHelmAppDetailsViewedTelemetryData added in v0.6.7

func (handler *HelmAppRestHandlerImpl) SaveHelmAppDetailsViewedTelemetryData(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) TemplateChart added in v0.4.4

func (handler *HelmAppRestHandlerImpl) TemplateChart(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) UnHibernate

func (handler *HelmAppRestHandlerImpl) UnHibernate(w http.ResponseWriter, r *http.Request)

func (*HelmAppRestHandlerImpl) UpdateApplication

func (handler *HelmAppRestHandlerImpl) UpdateApplication(w http.ResponseWriter, r *http.Request)

type HelmAppRouter

type HelmAppRouter interface {
	InitAppListRouter(helmRouter *mux.Router)
}

type HelmAppRouterImpl

type HelmAppRouterImpl struct {
	// contains filtered or unexported fields
}

func NewHelmAppRouterImpl

func NewHelmAppRouterImpl(helmAppRestHandler HelmAppRestHandler) *HelmAppRouterImpl

func (*HelmAppRouterImpl) InitAppListRouter

func (impl *HelmAppRouterImpl) InitAppListRouter(helmRouter *mux.Router)

type HelmAppService

type HelmAppService interface {
	ListHelmApplications(ctx context.Context, clusterIds []int, w http.ResponseWriter, token string, helmAuth func(token string, object string) bool)
	GetApplicationDetail(ctx context.Context, app *AppIdentifier) (*AppDetail, error)
	GetApplicationStatus(ctx context.Context, app *AppIdentifier) (string, error)
	GetApplicationDetailWithFilter(ctx context.Context, app *AppIdentifier, resourceTreeFilter *ResourceTreeFilter) (*AppDetail, error)
	HibernateApplication(ctx context.Context, app *AppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)
	UnHibernateApplication(ctx context.Context, app *AppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)
	DecodeAppId(appId string) (*AppIdentifier, error)
	EncodeAppId(appIdentifier *AppIdentifier) string
	GetDeploymentHistory(ctx context.Context, app *AppIdentifier) (*HelmAppDeploymentHistory, error)
	GetValuesYaml(ctx context.Context, app *AppIdentifier) (*ReleaseInfo, error)
	GetDesiredManifest(ctx context.Context, app *AppIdentifier, resource *openapi.ResourceIdentifier) (*openapi.DesiredManifestResponse, error)
	DeleteApplication(ctx context.Context, app *AppIdentifier) (*openapi.UninstallReleaseResponse, error)
	UpdateApplication(ctx context.Context, app *AppIdentifier, request *openapi.UpdateReleaseRequest) (*openapi.UpdateReleaseResponse, error)
	GetDeploymentDetail(ctx context.Context, app *AppIdentifier, version int32) (*openapi.HelmAppDeploymentManifestDetail, error)
	InstallRelease(ctx context.Context, clusterId int, installReleaseRequest *InstallReleaseRequest) (*InstallReleaseResponse, error)
	UpdateApplicationWithChartInfo(ctx context.Context, clusterId int, updateReleaseRequest *InstallReleaseRequest) (*openapi.UpdateReleaseResponse, error)
	IsReleaseInstalled(ctx context.Context, app *AppIdentifier) (bool, error)
	RollbackRelease(ctx context.Context, app *AppIdentifier, version int32) (bool, error)
	GetClusterConf(clusterId int) (*ClusterConfig, error)
	GetDevtronHelmAppIdentifier() *AppIdentifier
	UpdateApplicationWithChartInfoWithExtraValues(ctx context.Context, appIdentifier *AppIdentifier, chartRepository *ChartRepository, extraValues map[string]interface{}, extraValuesYamlUrl string, useLatestChartVersion bool) (*openapi.UpdateReleaseResponse, error)
	TemplateChart(ctx context.Context, templateChartRequest *openapi2.TemplateChartRequest) (*openapi2.TemplateChartResponse, error)
	GetNotes(ctx context.Context, request *InstallReleaseRequest) (string, error)
}

type HelmAppServiceImpl

type HelmAppServiceImpl struct {
	K8sUtil *util.K8sUtil
	// contains filtered or unexported fields
}

func NewHelmAppServiceImpl

func NewHelmAppServiceImpl(Logger *zap.SugaredLogger,
	clusterService cluster.ClusterService,
	helmAppClient HelmAppClient,
	pump connector.Pump, enforcerUtil rbac.EnforcerUtilHelm, serverDataStore *serverDataStore.ServerDataStore,
	serverEnvConfig *serverEnvConfig.ServerEnvConfig, appStoreApplicationVersionRepository appStoreDiscoverRepository.AppStoreApplicationVersionRepository,
	environmentService cluster.EnvironmentService, pipelineRepository pipelineConfig.PipelineRepository, installedAppRepository repository.InstalledAppRepository, appRepository app.AppRepository, clusterRepository clusterRepository.ClusterRepository, K8sUtil *util.K8sUtil) *HelmAppServiceImpl

func (*HelmAppServiceImpl) DecodeAppId

func (impl *HelmAppServiceImpl) DecodeAppId(appId string) (*AppIdentifier, error)

func (*HelmAppServiceImpl) DeleteApplication

func (impl *HelmAppServiceImpl) DeleteApplication(ctx context.Context, app *AppIdentifier) (*openapi.UninstallReleaseResponse, error)

func (*HelmAppServiceImpl) EncodeAppId added in v0.4.24

func (impl *HelmAppServiceImpl) EncodeAppId(appIdentifier *AppIdentifier) string

func (*HelmAppServiceImpl) GetApplicationDetail

func (impl *HelmAppServiceImpl) GetApplicationDetail(ctx context.Context, app *AppIdentifier) (*AppDetail, error)

func (*HelmAppServiceImpl) GetApplicationDetailWithFilter added in v0.6.10

func (impl *HelmAppServiceImpl) GetApplicationDetailWithFilter(ctx context.Context, app *AppIdentifier, resourceTreeFilter *ResourceTreeFilter) (*AppDetail, error)

func (*HelmAppServiceImpl) GetApplicationStatus added in v0.6.12

func (impl *HelmAppServiceImpl) GetApplicationStatus(ctx context.Context, app *AppIdentifier) (string, error)

func (*HelmAppServiceImpl) GetClusterConf added in v0.3.24

func (impl *HelmAppServiceImpl) GetClusterConf(clusterId int) (*ClusterConfig, error)

func (*HelmAppServiceImpl) GetDeploymentDetail added in v0.3.15

func (impl *HelmAppServiceImpl) GetDeploymentDetail(ctx context.Context, app *AppIdentifier, version int32) (*openapi.HelmAppDeploymentManifestDetail, error)

func (*HelmAppServiceImpl) GetDeploymentHistory

func (impl *HelmAppServiceImpl) GetDeploymentHistory(ctx context.Context, app *AppIdentifier) (*HelmAppDeploymentHistory, error)

func (*HelmAppServiceImpl) GetDesiredManifest

func (*HelmAppServiceImpl) GetDevtronHelmAppIdentifier added in v0.4.1

func (impl *HelmAppServiceImpl) GetDevtronHelmAppIdentifier() *AppIdentifier

func (*HelmAppServiceImpl) GetNotes added in v0.6.15

func (impl *HelmAppServiceImpl) GetNotes(ctx context.Context, request *InstallReleaseRequest) (string, error)

func (*HelmAppServiceImpl) GetValuesYaml

func (impl *HelmAppServiceImpl) GetValuesYaml(ctx context.Context, app *AppIdentifier) (*ReleaseInfo, error)

func (*HelmAppServiceImpl) HibernateApplication

func (impl *HelmAppServiceImpl) HibernateApplication(ctx context.Context, app *AppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)

func (*HelmAppServiceImpl) InstallRelease added in v0.3.17

func (impl *HelmAppServiceImpl) InstallRelease(ctx context.Context, clusterId int, installReleaseRequest *InstallReleaseRequest) (*InstallReleaseResponse, error)

func (*HelmAppServiceImpl) IsReleaseInstalled added in v0.3.20

func (impl *HelmAppServiceImpl) IsReleaseInstalled(ctx context.Context, app *AppIdentifier) (bool, error)

func (*HelmAppServiceImpl) ListHelmApplications

func (impl *HelmAppServiceImpl) ListHelmApplications(ctx context.Context, clusterIds []int, w http.ResponseWriter, token string, helmAuth func(token string, object string) bool)

func (*HelmAppServiceImpl) RollbackRelease added in v0.3.21

func (impl *HelmAppServiceImpl) RollbackRelease(ctx context.Context, app *AppIdentifier, version int32) (bool, error)

func (*HelmAppServiceImpl) TemplateChart added in v0.4.4

func (impl *HelmAppServiceImpl) TemplateChart(ctx context.Context, templateChartRequest *openapi2.TemplateChartRequest) (*openapi2.TemplateChartResponse, error)

func (*HelmAppServiceImpl) UnHibernateApplication

func (impl *HelmAppServiceImpl) UnHibernateApplication(ctx context.Context, app *AppIdentifier, hibernateRequest *openapi.HibernateRequest) ([]*openapi.HibernateStatus, error)

func (*HelmAppServiceImpl) UpdateApplication

func (*HelmAppServiceImpl) UpdateApplicationWithChartInfo added in v0.3.17

func (impl *HelmAppServiceImpl) UpdateApplicationWithChartInfo(ctx context.Context, clusterId int, updateReleaseRequest *InstallReleaseRequest) (*openapi.UpdateReleaseResponse, error)

func (*HelmAppServiceImpl) UpdateApplicationWithChartInfoWithExtraValues added in v0.4.1

func (impl *HelmAppServiceImpl) UpdateApplicationWithChartInfoWithExtraValues(ctx context.Context, appIdentifier *AppIdentifier,
	chartRepository *ChartRepository, extraValues map[string]interface{}, extraValuesYamlUrl string, useLatestChartVersion bool) (*openapi.UpdateReleaseResponse, error)

type HelmClientConfig

type HelmClientConfig struct {
	Url string `env:"HELM_CLIENT_URL" envDefault:"127.0.0.1:50051"`
}

func GetConfig

func GetConfig() (*HelmClientConfig, error)

type HelmInstallCustomRequest added in v0.4.14

type HelmInstallCustomRequest struct {
	ValuesYaml        string             `protobuf:"bytes,1,opt,name=valuesYaml,proto3" json:"valuesYaml,omitempty"`
	ChartContent      *ChartContent      `protobuf:"bytes,2,opt,name=chartContent,proto3" json:"chartContent,omitempty"`
	ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,3,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*HelmInstallCustomRequest) Descriptor deprecated added in v0.4.14

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

Deprecated: Use HelmInstallCustomRequest.ProtoReflect.Descriptor instead.

func (*HelmInstallCustomRequest) GetChartContent added in v0.4.14

func (x *HelmInstallCustomRequest) GetChartContent() *ChartContent

func (*HelmInstallCustomRequest) GetReleaseIdentifier added in v0.4.14

func (x *HelmInstallCustomRequest) GetReleaseIdentifier() *ReleaseIdentifier

func (*HelmInstallCustomRequest) GetValuesYaml added in v0.4.14

func (x *HelmInstallCustomRequest) GetValuesYaml() string

func (*HelmInstallCustomRequest) ProtoMessage added in v0.4.14

func (*HelmInstallCustomRequest) ProtoMessage()

func (*HelmInstallCustomRequest) ProtoReflect added in v0.4.14

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

func (*HelmInstallCustomRequest) Reset added in v0.4.14

func (x *HelmInstallCustomRequest) Reset()

func (*HelmInstallCustomRequest) String added in v0.4.14

func (x *HelmInstallCustomRequest) String() string

type HelmInstallCustomResponse added in v0.4.14

type HelmInstallCustomResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*HelmInstallCustomResponse) Descriptor deprecated added in v0.4.14

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

Deprecated: Use HelmInstallCustomResponse.ProtoReflect.Descriptor instead.

func (*HelmInstallCustomResponse) GetSuccess added in v0.4.14

func (x *HelmInstallCustomResponse) GetSuccess() bool

func (*HelmInstallCustomResponse) ProtoMessage added in v0.4.14

func (*HelmInstallCustomResponse) ProtoMessage()

func (*HelmInstallCustomResponse) ProtoReflect added in v0.4.14

func (*HelmInstallCustomResponse) Reset added in v0.4.14

func (x *HelmInstallCustomResponse) Reset()

func (*HelmInstallCustomResponse) String added in v0.4.14

func (x *HelmInstallCustomResponse) String() string

type HibernateRequest

type HibernateRequest struct {
	ClusterConfig    *ClusterConfig      `protobuf:"bytes,1,opt,name=clusterConfig,proto3" json:"clusterConfig,omitempty"`
	ObjectIdentifier []*ObjectIdentifier `protobuf:"bytes,2,rep,name=objectIdentifier,proto3" json:"objectIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*HibernateRequest) Descriptor deprecated

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

Deprecated: Use HibernateRequest.ProtoReflect.Descriptor instead.

func (*HibernateRequest) GetClusterConfig

func (x *HibernateRequest) GetClusterConfig() *ClusterConfig

func (*HibernateRequest) GetObjectIdentifier

func (x *HibernateRequest) GetObjectIdentifier() []*ObjectIdentifier

func (*HibernateRequest) ProtoMessage

func (*HibernateRequest) ProtoMessage()

func (*HibernateRequest) ProtoReflect

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

func (*HibernateRequest) Reset

func (x *HibernateRequest) Reset()

func (*HibernateRequest) String

func (x *HibernateRequest) String() string

type HibernateResponse

type HibernateResponse struct {
	Status []*HibernateStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*HibernateResponse) Descriptor deprecated

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

Deprecated: Use HibernateResponse.ProtoReflect.Descriptor instead.

func (*HibernateResponse) GetStatus

func (x *HibernateResponse) GetStatus() []*HibernateStatus

func (*HibernateResponse) ProtoMessage

func (*HibernateResponse) ProtoMessage()

func (*HibernateResponse) ProtoReflect

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

func (*HibernateResponse) Reset

func (x *HibernateResponse) Reset()

func (*HibernateResponse) String

func (x *HibernateResponse) String() string

type HibernateStatus

type HibernateStatus struct {
	TargetObject *ObjectIdentifier `protobuf:"bytes,1,opt,name=targetObject,proto3" json:"targetObject,omitempty"`
	Success      bool              `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMsg     string            `protobuf:"bytes,3,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*HibernateStatus) Descriptor deprecated

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

Deprecated: Use HibernateStatus.ProtoReflect.Descriptor instead.

func (*HibernateStatus) GetErrorMsg

func (x *HibernateStatus) GetErrorMsg() string

func (*HibernateStatus) GetSuccess

func (x *HibernateStatus) GetSuccess() bool

func (*HibernateStatus) GetTargetObject

func (x *HibernateStatus) GetTargetObject() *ObjectIdentifier

func (*HibernateStatus) ProtoMessage

func (*HibernateStatus) ProtoMessage()

func (*HibernateStatus) ProtoReflect

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

func (*HibernateStatus) Reset

func (x *HibernateStatus) Reset()

func (*HibernateStatus) String

func (x *HibernateStatus) String() string

type InfoItem added in v0.6.7

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

func (*InfoItem) Descriptor deprecated added in v0.6.7

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

Deprecated: Use InfoItem.ProtoReflect.Descriptor instead.

func (*InfoItem) GetName added in v0.6.7

func (x *InfoItem) GetName() string

func (*InfoItem) GetValue added in v0.6.7

func (x *InfoItem) GetValue() string

func (*InfoItem) ProtoMessage added in v0.6.7

func (*InfoItem) ProtoMessage()

func (*InfoItem) ProtoReflect added in v0.6.7

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

func (*InfoItem) Reset added in v0.6.7

func (x *InfoItem) Reset()

func (*InfoItem) String added in v0.6.7

func (x *InfoItem) String() string

type InstallReleaseRequest added in v0.3.17

type InstallReleaseRequest struct {
	ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,1,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"`
	ChartName         string             `protobuf:"bytes,2,opt,name=chartName,proto3" json:"chartName,omitempty"`
	ChartVersion      string             `protobuf:"bytes,3,opt,name=chartVersion,proto3" json:"chartVersion,omitempty"`
	ValuesYaml        string             `protobuf:"bytes,4,opt,name=valuesYaml,proto3" json:"valuesYaml,omitempty"`
	ChartRepository   *ChartRepository   `protobuf:"bytes,5,opt,name=chartRepository,proto3" json:"chartRepository,omitempty"`
	K8SVersion        string             `protobuf:"bytes,6,opt,name=K8sVersion,proto3" json:"K8sVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallReleaseRequest) Descriptor deprecated added in v0.3.17

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

Deprecated: Use InstallReleaseRequest.ProtoReflect.Descriptor instead.

func (*InstallReleaseRequest) GetChartName added in v0.3.17

func (x *InstallReleaseRequest) GetChartName() string

func (*InstallReleaseRequest) GetChartRepository added in v0.3.17

func (x *InstallReleaseRequest) GetChartRepository() *ChartRepository

func (*InstallReleaseRequest) GetChartVersion added in v0.3.17

func (x *InstallReleaseRequest) GetChartVersion() string

func (*InstallReleaseRequest) GetK8SVersion added in v0.6.15

func (x *InstallReleaseRequest) GetK8SVersion() string

func (*InstallReleaseRequest) GetReleaseIdentifier added in v0.3.17

func (x *InstallReleaseRequest) GetReleaseIdentifier() *ReleaseIdentifier

func (*InstallReleaseRequest) GetValuesYaml added in v0.3.17

func (x *InstallReleaseRequest) GetValuesYaml() string

func (*InstallReleaseRequest) ProtoMessage added in v0.3.17

func (*InstallReleaseRequest) ProtoMessage()

func (*InstallReleaseRequest) ProtoReflect added in v0.3.17

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

func (*InstallReleaseRequest) Reset added in v0.3.17

func (x *InstallReleaseRequest) Reset()

func (*InstallReleaseRequest) String added in v0.3.17

func (x *InstallReleaseRequest) String() string

type InstallReleaseResponse added in v0.3.17

type InstallReleaseResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallReleaseResponse) Descriptor deprecated added in v0.3.17

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

Deprecated: Use InstallReleaseResponse.ProtoReflect.Descriptor instead.

func (*InstallReleaseResponse) GetSuccess added in v0.3.17

func (x *InstallReleaseResponse) GetSuccess() bool

func (*InstallReleaseResponse) ProtoMessage added in v0.3.17

func (*InstallReleaseResponse) ProtoMessage()

func (*InstallReleaseResponse) ProtoReflect added in v0.3.17

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

func (*InstallReleaseResponse) Reset added in v0.3.17

func (x *InstallReleaseResponse) Reset()

func (*InstallReleaseResponse) String added in v0.3.17

func (x *InstallReleaseResponse) String() string

type InstalledAppInfo added in v0.3.17

type InstalledAppInfo struct {
	AppId                 int    `json:"appId"`
	InstalledAppId        int    `json:"installedAppId"`
	InstalledAppVersionId int    `json:"installedAppVersionId"`
	AppStoreChartId       int    `json:"appStoreChartId"`
	EnvironmentName       string `json:"environmentName"`
	AppOfferingMode       string `json:"appOfferingMode"`
	ClusterId             int    `json:"clusterId"`
	EnvironmentId         int    `json:"environmentId"`
	AppStoreChartRepoName string `json:"appStoreChartRepoName"`
	AppStoreChartName     string `json:"appStoreChartName"`
	TeamId                int    `json:"teamId"`
	TeamName              string `json:"teamName"`
}

type ObjectIdentifier

type ObjectIdentifier struct {
	Group     string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Kind      string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Version   string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Name      string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectIdentifier) Descriptor deprecated

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

Deprecated: Use ObjectIdentifier.ProtoReflect.Descriptor instead.

func (*ObjectIdentifier) GetGroup

func (x *ObjectIdentifier) GetGroup() string

func (*ObjectIdentifier) GetKind

func (x *ObjectIdentifier) GetKind() string

func (*ObjectIdentifier) GetName

func (x *ObjectIdentifier) GetName() string

func (*ObjectIdentifier) GetNamespace

func (x *ObjectIdentifier) GetNamespace() string

func (*ObjectIdentifier) GetVersion

func (x *ObjectIdentifier) GetVersion() string

func (*ObjectIdentifier) ProtoMessage

func (*ObjectIdentifier) ProtoMessage()

func (*ObjectIdentifier) ProtoReflect

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

func (*ObjectIdentifier) Reset

func (x *ObjectIdentifier) Reset()

func (*ObjectIdentifier) String

func (x *ObjectIdentifier) String() string

type ObjectRequest

type ObjectRequest struct {
	ClusterConfig    *ClusterConfig    `protobuf:"bytes,1,opt,name=clusterConfig,proto3" json:"clusterConfig,omitempty"`
	ObjectIdentifier *ObjectIdentifier `protobuf:"bytes,2,opt,name=objectIdentifier,proto3" json:"objectIdentifier,omitempty"`
	ReleaseName      string            `protobuf:"bytes,3,opt,name=releaseName,proto3" json:"releaseName,omitempty"`
	ReleaseNamespace string            `protobuf:"bytes,4,opt,name=releaseNamespace,proto3" json:"releaseNamespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectRequest) Descriptor deprecated

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

Deprecated: Use ObjectRequest.ProtoReflect.Descriptor instead.

func (*ObjectRequest) GetClusterConfig

func (x *ObjectRequest) GetClusterConfig() *ClusterConfig

func (*ObjectRequest) GetObjectIdentifier

func (x *ObjectRequest) GetObjectIdentifier() *ObjectIdentifier

func (*ObjectRequest) GetReleaseName

func (x *ObjectRequest) GetReleaseName() string

func (*ObjectRequest) GetReleaseNamespace

func (x *ObjectRequest) GetReleaseNamespace() string

func (*ObjectRequest) ProtoMessage

func (*ObjectRequest) ProtoMessage()

func (*ObjectRequest) ProtoReflect

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

func (*ObjectRequest) Reset

func (x *ObjectRequest) Reset()

func (*ObjectRequest) String

func (x *ObjectRequest) String() string

type PodMetadata

type PodMetadata struct {
	Name                string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Uid                 string   `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	Containers          []string `protobuf:"bytes,3,rep,name=containers,proto3" json:"containers,omitempty"`
	InitContainers      []string `protobuf:"bytes,4,rep,name=initContainers,proto3" json:"initContainers,omitempty"`
	IsNew               bool     `protobuf:"varint,5,opt,name=isNew,proto3" json:"isNew,omitempty"`
	EphemeralContainers []string `protobuf:"bytes,6,rep,name=ephemeralContainers,proto3" json:"ephemeralContainers,omitempty"`
	// contains filtered or unexported fields
}

func (*PodMetadata) Descriptor deprecated

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

Deprecated: Use PodMetadata.ProtoReflect.Descriptor instead.

func (*PodMetadata) GetContainers

func (x *PodMetadata) GetContainers() []string

func (*PodMetadata) GetEphemeralContainers added in v0.6.15

func (x *PodMetadata) GetEphemeralContainers() []string

func (*PodMetadata) GetInitContainers

func (x *PodMetadata) GetInitContainers() []string

func (*PodMetadata) GetIsNew

func (x *PodMetadata) GetIsNew() bool

func (*PodMetadata) GetName

func (x *PodMetadata) GetName() string

func (*PodMetadata) GetUid

func (x *PodMetadata) GetUid() string

func (*PodMetadata) ProtoMessage

func (*PodMetadata) ProtoMessage()

func (*PodMetadata) ProtoReflect

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

func (*PodMetadata) Reset

func (x *PodMetadata) Reset()

func (*PodMetadata) String

func (x *PodMetadata) String() string

type ReleaseAndInstalledAppInfo added in v0.3.17

type ReleaseAndInstalledAppInfo struct {
	InstalledAppInfo *InstalledAppInfo `json:"installedAppInfo"`
	ReleaseInfo      *ReleaseInfo      `json:"releaseInfo"`
}

type ReleaseIdentifier

type ReleaseIdentifier struct {
	ClusterConfig    *ClusterConfig `protobuf:"bytes,1,opt,name=clusterConfig,proto3" json:"clusterConfig,omitempty"`
	ReleaseName      string         `protobuf:"bytes,2,opt,name=releaseName,proto3" json:"releaseName,omitempty"`
	ReleaseNamespace string         `protobuf:"bytes,3,opt,name=releaseNamespace,proto3" json:"releaseNamespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseIdentifier) Descriptor deprecated

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

Deprecated: Use ReleaseIdentifier.ProtoReflect.Descriptor instead.

func (*ReleaseIdentifier) GetClusterConfig

func (x *ReleaseIdentifier) GetClusterConfig() *ClusterConfig

func (*ReleaseIdentifier) GetReleaseName

func (x *ReleaseIdentifier) GetReleaseName() string

func (*ReleaseIdentifier) GetReleaseNamespace

func (x *ReleaseIdentifier) GetReleaseNamespace() string

func (*ReleaseIdentifier) ProtoMessage

func (*ReleaseIdentifier) ProtoMessage()

func (*ReleaseIdentifier) ProtoReflect

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

func (*ReleaseIdentifier) Reset

func (x *ReleaseIdentifier) Reset()

func (*ReleaseIdentifier) String

func (x *ReleaseIdentifier) String() string

type ReleaseInfo

type ReleaseInfo struct {
	DeployedAppDetail *DeployedAppDetail `protobuf:"bytes,1,opt,name=deployedAppDetail,proto3" json:"deployedAppDetail,omitempty"`
	DefaultValues     string             `protobuf:"bytes,2,opt,name=defaultValues,proto3" json:"defaultValues,omitempty"`
	OverrideValues    string             `protobuf:"bytes,3,opt,name=overrideValues,proto3" json:"overrideValues,omitempty"`
	MergedValues      string             `protobuf:"bytes,4,opt,name=mergedValues,proto3" json:"mergedValues,omitempty"`
	Readme            string             `protobuf:"bytes,5,opt,name=readme,proto3" json:"readme,omitempty"`
	ValuesSchemaJson  string             `protobuf:"bytes,6,opt,name=valuesSchemaJson,proto3" json:"valuesSchemaJson,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseInfo) Descriptor deprecated

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

Deprecated: Use ReleaseInfo.ProtoReflect.Descriptor instead.

func (*ReleaseInfo) GetDefaultValues

func (x *ReleaseInfo) GetDefaultValues() string

func (*ReleaseInfo) GetDeployedAppDetail

func (x *ReleaseInfo) GetDeployedAppDetail() *DeployedAppDetail

func (*ReleaseInfo) GetMergedValues

func (x *ReleaseInfo) GetMergedValues() string

func (*ReleaseInfo) GetOverrideValues

func (x *ReleaseInfo) GetOverrideValues() string

func (*ReleaseInfo) GetReadme

func (x *ReleaseInfo) GetReadme() string

func (*ReleaseInfo) GetValuesSchemaJson added in v0.4.28

func (x *ReleaseInfo) GetValuesSchemaJson() string

func (*ReleaseInfo) ProtoMessage

func (*ReleaseInfo) ProtoMessage()

func (*ReleaseInfo) ProtoReflect

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

func (*ReleaseInfo) Reset

func (x *ReleaseInfo) Reset()

func (*ReleaseInfo) String

func (x *ReleaseInfo) String() string

type ReleaseStatus

type ReleaseStatus struct {
	Status      string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Message     string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseStatus) Descriptor deprecated

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

Deprecated: Use ReleaseStatus.ProtoReflect.Descriptor instead.

func (*ReleaseStatus) GetDescription

func (x *ReleaseStatus) GetDescription() string

func (*ReleaseStatus) GetMessage

func (x *ReleaseStatus) GetMessage() string

func (*ReleaseStatus) GetStatus

func (x *ReleaseStatus) GetStatus() string

func (*ReleaseStatus) ProtoMessage

func (*ReleaseStatus) ProtoMessage()

func (*ReleaseStatus) ProtoReflect

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

func (*ReleaseStatus) Reset

func (x *ReleaseStatus) Reset()

func (*ReleaseStatus) String

func (x *ReleaseStatus) String() string

type ResourceFilter added in v0.6.10

type ResourceFilter struct {
	Gvk                *Gvk                `protobuf:"bytes,1,opt,name=gvk,proto3" json:"gvk,omitempty"`
	ResourceIdentifier *ResourceIdentifier `protobuf:"bytes,2,opt,name=resourceIdentifier,proto3" json:"resourceIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceFilter) Descriptor deprecated added in v0.6.10

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

Deprecated: Use ResourceFilter.ProtoReflect.Descriptor instead.

func (*ResourceFilter) GetGvk added in v0.6.10

func (x *ResourceFilter) GetGvk() *Gvk

func (*ResourceFilter) GetResourceIdentifier added in v0.6.10

func (x *ResourceFilter) GetResourceIdentifier() *ResourceIdentifier

func (*ResourceFilter) ProtoMessage added in v0.6.10

func (*ResourceFilter) ProtoMessage()

func (*ResourceFilter) ProtoReflect added in v0.6.10

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

func (*ResourceFilter) Reset added in v0.6.10

func (x *ResourceFilter) Reset()

func (*ResourceFilter) String added in v0.6.10

func (x *ResourceFilter) String() string

type ResourceIdentifier added in v0.6.10

type ResourceIdentifier struct {
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResourceIdentifier) Descriptor deprecated added in v0.6.10

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

Deprecated: Use ResourceIdentifier.ProtoReflect.Descriptor instead.

func (*ResourceIdentifier) GetLabels added in v0.6.10

func (x *ResourceIdentifier) GetLabels() map[string]string

func (*ResourceIdentifier) ProtoMessage added in v0.6.10

func (*ResourceIdentifier) ProtoMessage()

func (*ResourceIdentifier) ProtoReflect added in v0.6.10

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

func (*ResourceIdentifier) Reset added in v0.6.10

func (x *ResourceIdentifier) Reset()

func (*ResourceIdentifier) String added in v0.6.10

func (x *ResourceIdentifier) String() string

type ResourceNetworkingInfo

type ResourceNetworkingInfo struct {
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResourceNetworkingInfo) Descriptor deprecated

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

Deprecated: Use ResourceNetworkingInfo.ProtoReflect.Descriptor instead.

func (*ResourceNetworkingInfo) GetLabels

func (x *ResourceNetworkingInfo) GetLabels() map[string]string

func (*ResourceNetworkingInfo) ProtoMessage

func (*ResourceNetworkingInfo) ProtoMessage()

func (*ResourceNetworkingInfo) ProtoReflect

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

func (*ResourceNetworkingInfo) Reset

func (x *ResourceNetworkingInfo) Reset()

func (*ResourceNetworkingInfo) String

func (x *ResourceNetworkingInfo) String() string

type ResourceNode

type ResourceNode struct {
	Group           string                  `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Version         string                  `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Kind            string                  `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	Namespace       string                  `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name            string                  `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Uid             string                  `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
	ParentRefs      []*ResourceRef          `protobuf:"bytes,7,rep,name=parentRefs,proto3" json:"parentRefs,omitempty"`
	NetworkingInfo  *ResourceNetworkingInfo `protobuf:"bytes,8,opt,name=networkingInfo,proto3" json:"networkingInfo,omitempty"`
	ResourceVersion string                  `protobuf:"bytes,9,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"`
	Health          *HealthStatus           `protobuf:"bytes,10,opt,name=health,proto3" json:"health,omitempty"`
	IsHibernated    bool                    `protobuf:"varint,11,opt,name=isHibernated,proto3" json:"isHibernated,omitempty"`
	CanBeHibernated bool                    `protobuf:"varint,12,opt,name=canBeHibernated,proto3" json:"canBeHibernated,omitempty"`
	Info            []*InfoItem             `protobuf:"bytes,13,rep,name=info,proto3" json:"info,omitempty"`
	CreatedAt       string                  `protobuf:"bytes,14,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceNode) Descriptor deprecated

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

Deprecated: Use ResourceNode.ProtoReflect.Descriptor instead.

func (*ResourceNode) GetCanBeHibernated

func (x *ResourceNode) GetCanBeHibernated() bool

func (*ResourceNode) GetCreatedAt added in v0.6.7

func (x *ResourceNode) GetCreatedAt() string

func (*ResourceNode) GetGroup

func (x *ResourceNode) GetGroup() string

func (*ResourceNode) GetHealth

func (x *ResourceNode) GetHealth() *HealthStatus

func (*ResourceNode) GetInfo added in v0.6.7

func (x *ResourceNode) GetInfo() []*InfoItem

func (*ResourceNode) GetIsHibernated

func (x *ResourceNode) GetIsHibernated() bool

func (*ResourceNode) GetKind

func (x *ResourceNode) GetKind() string

func (*ResourceNode) GetName

func (x *ResourceNode) GetName() string

func (*ResourceNode) GetNamespace

func (x *ResourceNode) GetNamespace() string

func (*ResourceNode) GetNetworkingInfo

func (x *ResourceNode) GetNetworkingInfo() *ResourceNetworkingInfo

func (*ResourceNode) GetParentRefs

func (x *ResourceNode) GetParentRefs() []*ResourceRef

func (*ResourceNode) GetResourceVersion

func (x *ResourceNode) GetResourceVersion() string

func (*ResourceNode) GetUid

func (x *ResourceNode) GetUid() string

func (*ResourceNode) GetVersion

func (x *ResourceNode) GetVersion() string

func (*ResourceNode) ProtoMessage

func (*ResourceNode) ProtoMessage()

func (*ResourceNode) ProtoReflect

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

func (*ResourceNode) Reset

func (x *ResourceNode) Reset()

func (*ResourceNode) String

func (x *ResourceNode) String() string

type ResourceRef

type ResourceRef struct {
	Group     string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Version   string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Kind      string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Uid       string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceRef) Descriptor deprecated

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

Deprecated: Use ResourceRef.ProtoReflect.Descriptor instead.

func (*ResourceRef) GetGroup

func (x *ResourceRef) GetGroup() string

func (*ResourceRef) GetKind

func (x *ResourceRef) GetKind() string

func (*ResourceRef) GetName

func (x *ResourceRef) GetName() string

func (*ResourceRef) GetNamespace

func (x *ResourceRef) GetNamespace() string

func (*ResourceRef) GetUid

func (x *ResourceRef) GetUid() string

func (*ResourceRef) GetVersion

func (x *ResourceRef) GetVersion() string

func (*ResourceRef) ProtoMessage

func (*ResourceRef) ProtoMessage()

func (*ResourceRef) ProtoReflect

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

func (*ResourceRef) Reset

func (x *ResourceRef) Reset()

func (*ResourceRef) String

func (x *ResourceRef) String() string

type ResourceRequestBean

type ResourceRequestBean struct {
	AppId      string                     `json:"appId"`
	K8sRequest application.K8sRequestBean `json:"k8sRequest"`
}

type ResourceTreeFilter added in v0.6.10

type ResourceTreeFilter struct {
	GlobalFilter    *ResourceIdentifier `protobuf:"bytes,1,opt,name=globalFilter,proto3" json:"globalFilter,omitempty"`
	ResourceFilters []*ResourceFilter   `protobuf:"bytes,2,rep,name=resourceFilters,proto3" json:"resourceFilters,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceTreeFilter) Descriptor deprecated added in v0.6.10

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

Deprecated: Use ResourceTreeFilter.ProtoReflect.Descriptor instead.

func (*ResourceTreeFilter) GetGlobalFilter added in v0.6.10

func (x *ResourceTreeFilter) GetGlobalFilter() *ResourceIdentifier

func (*ResourceTreeFilter) GetResourceFilters added in v0.6.10

func (x *ResourceTreeFilter) GetResourceFilters() []*ResourceFilter

func (*ResourceTreeFilter) ProtoMessage added in v0.6.10

func (*ResourceTreeFilter) ProtoMessage()

func (*ResourceTreeFilter) ProtoReflect added in v0.6.10

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

func (*ResourceTreeFilter) Reset added in v0.6.10

func (x *ResourceTreeFilter) Reset()

func (*ResourceTreeFilter) String added in v0.6.10

func (x *ResourceTreeFilter) String() string

type ResourceTreeResponse

type ResourceTreeResponse struct {
	Nodes       []*ResourceNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	PodMetadata []*PodMetadata  `protobuf:"bytes,2,rep,name=podMetadata,proto3" json:"podMetadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceTreeResponse) Descriptor deprecated

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

Deprecated: Use ResourceTreeResponse.ProtoReflect.Descriptor instead.

func (*ResourceTreeResponse) GetNodes

func (x *ResourceTreeResponse) GetNodes() []*ResourceNode

func (*ResourceTreeResponse) GetPodMetadata

func (x *ResourceTreeResponse) GetPodMetadata() []*PodMetadata

func (*ResourceTreeResponse) ProtoMessage

func (*ResourceTreeResponse) ProtoMessage()

func (*ResourceTreeResponse) ProtoReflect

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

func (*ResourceTreeResponse) Reset

func (x *ResourceTreeResponse) Reset()

func (*ResourceTreeResponse) String

func (x *ResourceTreeResponse) String() string

type RollbackReleaseRequest added in v0.3.21

type RollbackReleaseRequest struct {
	ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,1,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"`
	Version           int32              `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*RollbackReleaseRequest) Descriptor deprecated added in v0.3.21

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

Deprecated: Use RollbackReleaseRequest.ProtoReflect.Descriptor instead.

func (*RollbackReleaseRequest) GetReleaseIdentifier added in v0.3.21

func (x *RollbackReleaseRequest) GetReleaseIdentifier() *ReleaseIdentifier

func (*RollbackReleaseRequest) GetVersion added in v0.3.21

func (x *RollbackReleaseRequest) GetVersion() int32

func (*RollbackReleaseRequest) ProtoMessage added in v0.3.21

func (*RollbackReleaseRequest) ProtoMessage()

func (*RollbackReleaseRequest) ProtoReflect added in v0.3.21

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

func (*RollbackReleaseRequest) Reset added in v0.3.21

func (x *RollbackReleaseRequest) Reset()

func (*RollbackReleaseRequest) String added in v0.3.21

func (x *RollbackReleaseRequest) String() string

type TemplateChartResponse added in v0.4.4

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

func (*TemplateChartResponse) Descriptor deprecated added in v0.4.4

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

Deprecated: Use TemplateChartResponse.ProtoReflect.Descriptor instead.

func (*TemplateChartResponse) GetGeneratedManifest added in v0.4.4

func (x *TemplateChartResponse) GetGeneratedManifest() string

func (*TemplateChartResponse) ProtoMessage added in v0.4.4

func (*TemplateChartResponse) ProtoMessage()

func (*TemplateChartResponse) ProtoReflect added in v0.4.4

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

func (*TemplateChartResponse) Reset added in v0.4.4

func (x *TemplateChartResponse) Reset()

func (*TemplateChartResponse) String added in v0.4.4

func (x *TemplateChartResponse) String() string

type UnimplementedApplicationServiceServer

type UnimplementedApplicationServiceServer struct {
}

UnimplementedApplicationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedApplicationServiceServer) GetAppDetail

func (UnimplementedApplicationServiceServer) GetAppStatus added in v0.6.12

func (UnimplementedApplicationServiceServer) GetDeploymentDetail added in v0.3.15

func (UnimplementedApplicationServiceServer) GetDeploymentHistory

func (UnimplementedApplicationServiceServer) GetDesiredManifest

func (UnimplementedApplicationServiceServer) GetNotes added in v0.6.15

func (UnimplementedApplicationServiceServer) GetValuesYaml

func (UnimplementedApplicationServiceServer) Hibernate

func (UnimplementedApplicationServiceServer) InstallRelease added in v0.3.17

func (UnimplementedApplicationServiceServer) InstallReleaseWithCustomChart added in v0.4.14

func (UnimplementedApplicationServiceServer) IsReleaseInstalled added in v0.3.20

func (UnimplementedApplicationServiceServer) ListApplications

func (UnimplementedApplicationServiceServer) RollbackRelease added in v0.3.21

func (UnimplementedApplicationServiceServer) TemplateChart added in v0.4.4

func (UnimplementedApplicationServiceServer) UnHibernate

func (UnimplementedApplicationServiceServer) UninstallRelease

func (UnimplementedApplicationServiceServer) UpgradeRelease

func (UnimplementedApplicationServiceServer) UpgradeReleaseWithChartInfo added in v0.3.17

type UninstallReleaseResponse

type UninstallReleaseResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*UninstallReleaseResponse) Descriptor deprecated

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

Deprecated: Use UninstallReleaseResponse.ProtoReflect.Descriptor instead.

func (*UninstallReleaseResponse) GetSuccess

func (x *UninstallReleaseResponse) GetSuccess() bool

func (*UninstallReleaseResponse) ProtoMessage

func (*UninstallReleaseResponse) ProtoMessage()

func (*UninstallReleaseResponse) ProtoReflect

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

func (*UninstallReleaseResponse) Reset

func (x *UninstallReleaseResponse) Reset()

func (*UninstallReleaseResponse) String

func (x *UninstallReleaseResponse) String() string

type UnsafeApplicationServiceServer

type UnsafeApplicationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeApplicationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApplicationServiceServer will result in compilation errors.

type UpgradeReleaseRequest

type UpgradeReleaseRequest struct {
	ReleaseIdentifier *ReleaseIdentifier `protobuf:"bytes,1,opt,name=releaseIdentifier,proto3" json:"releaseIdentifier,omitempty"`
	ValuesYaml        string             `protobuf:"bytes,2,opt,name=valuesYaml,proto3" json:"valuesYaml,omitempty"`
	// contains filtered or unexported fields
}

func (*UpgradeReleaseRequest) Descriptor deprecated

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

Deprecated: Use UpgradeReleaseRequest.ProtoReflect.Descriptor instead.

func (*UpgradeReleaseRequest) GetReleaseIdentifier

func (x *UpgradeReleaseRequest) GetReleaseIdentifier() *ReleaseIdentifier

func (*UpgradeReleaseRequest) GetValuesYaml

func (x *UpgradeReleaseRequest) GetValuesYaml() string

func (*UpgradeReleaseRequest) ProtoMessage

func (*UpgradeReleaseRequest) ProtoMessage()

func (*UpgradeReleaseRequest) ProtoReflect

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

func (*UpgradeReleaseRequest) Reset

func (x *UpgradeReleaseRequest) Reset()

func (*UpgradeReleaseRequest) String

func (x *UpgradeReleaseRequest) String() string

type UpgradeReleaseResponse

type UpgradeReleaseResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*UpgradeReleaseResponse) Descriptor deprecated

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

Deprecated: Use UpgradeReleaseResponse.ProtoReflect.Descriptor instead.

func (*UpgradeReleaseResponse) GetSuccess

func (x *UpgradeReleaseResponse) GetSuccess() bool

func (*UpgradeReleaseResponse) ProtoMessage

func (*UpgradeReleaseResponse) ProtoMessage()

func (*UpgradeReleaseResponse) ProtoReflect

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

func (*UpgradeReleaseResponse) Reset

func (x *UpgradeReleaseResponse) Reset()

func (*UpgradeReleaseResponse) String

func (x *UpgradeReleaseResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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