Documentation ¶
Index ¶
- Variables
- type ReleaseServer
- func (s *ReleaseServer) GetHistory(ctx context.Context, req *tpb.GetHistoryRequest) (*tpb.GetHistoryResponse, error)
- func (s *ReleaseServer) GetReleaseContent(c ctx.Context, req *services.GetReleaseContentRequest) (*services.GetReleaseContentResponse, error)
- func (s *ReleaseServer) GetReleaseStatus(c ctx.Context, req *services.GetReleaseStatusRequest) (*services.GetReleaseStatusResponse, error)
- func (s *ReleaseServer) GetVersion(c ctx.Context, req *services.GetVersionRequest) (*services.GetVersionResponse, error)
- func (s *ReleaseServer) InstallRelease(c ctx.Context, req *services.InstallReleaseRequest) (*services.InstallReleaseResponse, error)
- func (s *ReleaseServer) ListReleases(req *services.ListReleasesRequest, ...) error
- func (s *ReleaseServer) RollbackRelease(c ctx.Context, req *services.RollbackReleaseRequest) (*services.RollbackReleaseResponse, error)
- func (s *ReleaseServer) UninstallRelease(c ctx.Context, req *services.UninstallReleaseRequest) (*services.UninstallReleaseResponse, error)
- func (s *ReleaseServer) UpdateRelease(c ctx.Context, req *services.UpdateReleaseRequest) (*services.UpdateReleaseResponse, error)
- type SortOrder
Constants ¶
This section is empty.
Variables ¶
var ListDefaultLimit int64 = 512
ListDefaultLimit is the default limit for number of items returned in a list.
Functions ¶
This section is empty.
Types ¶
type ReleaseServer ¶
type ReleaseServer struct {
// contains filtered or unexported fields
}
ReleaseServer implements the server-side gRPC endpoint for the HAPI services.
func NewReleaseServer ¶
func NewReleaseServer(env *environment.Environment) *ReleaseServer
NewReleaseServer creates a new release server.
func (*ReleaseServer) GetHistory ¶
func (s *ReleaseServer) GetHistory(ctx context.Context, req *tpb.GetHistoryRequest) (*tpb.GetHistoryResponse, error)
GetHistory gets the history for a given release.
func (*ReleaseServer) GetReleaseContent ¶
func (s *ReleaseServer) GetReleaseContent(c ctx.Context, req *services.GetReleaseContentRequest) (*services.GetReleaseContentResponse, error)
GetReleaseContent gets all of the stored information for the given release.
func (*ReleaseServer) GetReleaseStatus ¶
func (s *ReleaseServer) GetReleaseStatus(c ctx.Context, req *services.GetReleaseStatusRequest) (*services.GetReleaseStatusResponse, error)
GetReleaseStatus gets the status information for a named release.
func (*ReleaseServer) GetVersion ¶
func (s *ReleaseServer) GetVersion(c ctx.Context, req *services.GetVersionRequest) (*services.GetVersionResponse, error)
GetVersion sends the server version.
func (*ReleaseServer) InstallRelease ¶
func (s *ReleaseServer) InstallRelease(c ctx.Context, req *services.InstallReleaseRequest) (*services.InstallReleaseResponse, error)
InstallRelease installs a release and stores the release record.
func (*ReleaseServer) ListReleases ¶
func (s *ReleaseServer) ListReleases(req *services.ListReleasesRequest, stream services.ReleaseService_ListReleasesServer) error
ListReleases lists the releases found by the server.
func (*ReleaseServer) RollbackRelease ¶
func (s *ReleaseServer) RollbackRelease(c ctx.Context, req *services.RollbackReleaseRequest) (*services.RollbackReleaseResponse, error)
RollbackRelease rolls back to a previous version of the given release.
func (*ReleaseServer) UninstallRelease ¶
func (s *ReleaseServer) UninstallRelease(c ctx.Context, req *services.UninstallReleaseRequest) (*services.UninstallReleaseResponse, error)
UninstallRelease deletes all of the resources associated with this release, and marks the release DELETED.
func (*ReleaseServer) UpdateRelease ¶
func (s *ReleaseServer) UpdateRelease(c ctx.Context, req *services.UpdateReleaseRequest) (*services.UpdateReleaseResponse, error)
UpdateRelease takes an existing release and new information, and upgrades the release.
type SortOrder ¶
type SortOrder []string
SortOrder is an ordering of Kinds.
Directories ¶
Path | Synopsis |
---|---|
Package environment describes the operating environment for Tiller.
|
Package environment describes the operating environment for Tiller. |