Documentation ¶
Index ¶
- Constants
- type Server
- func (s *Server) GetHistory(ctx context.Context, req *proto.GetHistoryRequest) (*proto.GetHistoryResponse, error)
- func (s *Server) GetReleaseContent(ctx context.Context, req *proto.GetReleaseContentRequest) (*proto.GetReleaseContentResponse, error)
- func (s *Server) GetReleaseStatus(ctx context.Context, req *proto.GetReleaseStatusRequest) (*proto.GetReleaseStatusResponse, error)
- func (s *Server) GetVersion(ctx context.Context, req *proto.GetVersionRequest) (*proto.GetVersionResponse, error)
- func (s *Server) InstallRelease(ctx context.Context, req *proto.InstallReleaseRequest) (*proto.InstallReleaseResponse, error)
- func (s *Server) RollbackRelease(ctx context.Context, req *proto.RollbackReleaseRequest) (*proto.RollbackReleaseResponse, error)
- func (s *Server) SummarizeReleases(ctx context.Context, req *proto.SummarizeReleasesRequest) (*proto.SummarizeReleasesResponse, error)
- func (s *Server) UninstallRelease(ctx context.Context, req *proto.UninstallReleaseRequest) (*proto.UninstallReleaseResponse, error)
- func (s *Server) UpdateRelease(ctx context.Context, req *proto.UpdateReleaseRequest) (*proto.UpdateReleaseResponse, error)
Constants ¶
View Source
const ( TMP_DIR = "/tmp" DIR_PREFIX = "swift" INDEX_URL = "https://kubernetes-charts.storage.googleapis.com/index.yaml" INDEX_FILE = "index.yaml" STABLE_PREFIX = "stable/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func (*Server) GetHistory ¶
func (s *Server) GetHistory(ctx context.Context, req *proto.GetHistoryRequest) (*proto.GetHistoryResponse, error)
ReleaseHistory retrieves a release's history.
func (*Server) GetReleaseContent ¶
func (s *Server) GetReleaseContent(ctx context.Context, req *proto.GetReleaseContentRequest) (*proto.GetReleaseContentResponse, error)
GetReleaseContent retrieves the release content (chart + value) for the specified release.
func (*Server) GetReleaseStatus ¶
func (s *Server) GetReleaseStatus(ctx context.Context, req *proto.GetReleaseStatusRequest) (*proto.GetReleaseStatusResponse, error)
GetReleasesStatus retrieves status information for the specified release.
func (*Server) GetVersion ¶
func (s *Server) GetVersion(ctx context.Context, req *proto.GetVersionRequest) (*proto.GetVersionResponse, error)
GetVersion returns the current version of the server.
func (*Server) InstallRelease ¶
func (s *Server) InstallRelease(ctx context.Context, req *proto.InstallReleaseRequest) (*proto.InstallReleaseResponse, error)
InstallRelease requests installation of a chart as a new release.
func (*Server) RollbackRelease ¶
func (s *Server) RollbackRelease(ctx context.Context, req *proto.RollbackReleaseRequest) (*proto.RollbackReleaseResponse, error)
RollbackRelease rolls back a release to a previous version.
func (*Server) SummarizeReleases ¶
func (s *Server) SummarizeReleases(ctx context.Context, req *proto.SummarizeReleasesRequest) (*proto.SummarizeReleasesResponse, error)
func (*Server) UninstallRelease ¶
func (s *Server) UninstallRelease(ctx context.Context, req *proto.UninstallReleaseRequest) (*proto.UninstallReleaseResponse, error)
UninstallRelease requests deletion of a named release.
func (*Server) UpdateRelease ¶
func (s *Server) UpdateRelease(ctx context.Context, req *proto.UpdateReleaseRequest) (*proto.UpdateReleaseResponse, error)
UpdateRelease updates release content.
Click to show internal directories.
Click to hide internal directories.