Documentation
¶
Index ¶
- func MakeAddRepositoryEndpoint(service helm.Service) endpoint.Endpoint
- func MakeCheckReleaseEndpoint(service helm.Service) endpoint.Endpoint
- func MakeCheckReleasesEndpoint(service helm.Service) endpoint.Endpoint
- func MakeDeleteReleaseEndpoint(service helm.Service) endpoint.Endpoint
- func MakeDeleteRepositoryEndpoint(service helm.Service) endpoint.Endpoint
- func MakeGetChartEndpoint(service helm.Service) endpoint.Endpoint
- func MakeGetReleaseEndpoint(service helm.Service) endpoint.Endpoint
- func MakeGetReleaseResourcesEndpoint(service helm.Service) endpoint.Endpoint
- func MakeGetReleasesRestAPIEndpoint(service helm.RestAPI) endpoint.Endpoint
- func MakeInstallReleaseEndpoint(service helm.Service) endpoint.Endpoint
- func MakeListChartsEndpoint(service helm.Service) endpoint.Endpoint
- func MakeListClusterChartsEndpoint(service helm.Service) endpoint.Endpoint
- func MakeListReleasesEndpoint(service helm.Service) endpoint.Endpoint
- func MakeListRepositoriesEndpoint(service helm.Service) endpoint.Endpoint
- func MakeModifyRepositoryEndpoint(service helm.Service) endpoint.Endpoint
- func MakeUpdateRepositoryEndpoint(service helm.Service) endpoint.Endpoint
- func MakeUpgradeReleaseEndpoint(service helm.Service) endpoint.Endpoint
- func RegisterHTTPHandlers(endpoints Endpoints, router *mux.Router, options ...kithttp.ServerOption)
- func RegisterReleaserHTTPHandlers(endpoints Endpoints, router *mux.Router, options ...kithttp.ServerOption)
- func RegisterRestAPI(endpoints RestAPIEndpoints, router *mux.Router, ...)
- type AddRepositoryRequest
- type AddRepositoryResponse
- type CheckReleaseRequest
- type CheckReleaseResponse
- type CheckReleasesRequest
- type CheckReleasesResponse
- type DeleteReleaseRequest
- type DeleteReleaseResponse
- type DeleteRepositoryRequest
- type DeleteRepositoryResponse
- type Endpoints
- type GetChartRequest
- type GetChartResponse
- type GetReleaseRequest
- type GetReleaseResourcesRequest
- type GetReleaseResourcesResponse
- type GetReleaseResponse
- type GetReleasesRestAPIRequest
- type GetReleasesRestAPIResponse
- type InstallReleaseRequest
- type InstallReleaseResponse
- type ListChartsRequest
- type ListChartsResponse
- type ListClusterChartsRequest
- type ListClusterChartsResponse
- type ListReleasesRequest
- type ListReleasesResponse
- type ListRepositoriesRequest
- type ListRepositoriesResponse
- type ModifyRepositoryRequest
- type ModifyRepositoryResponse
- type RestAPIEndpoints
- type UpdateRepositoryRequest
- type UpdateRepositoryResponse
- type UpgradeReleaseRequest
- type UpgradeReleaseResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAddRepositoryEndpoint ¶
MakeAddRepositoryEndpoint returns an endpoint for the matching method of the underlying service.
func MakeCheckReleaseEndpoint ¶
MakeCheckReleaseEndpoint returns an endpoint for the matching method of the underlying service.
func MakeCheckReleasesEndpoint ¶
MakeCheckReleasesEndpoint returns an endpoint for the matching method of the underlying service.
func MakeDeleteReleaseEndpoint ¶
MakeDeleteReleaseEndpoint returns an endpoint for the matching method of the underlying service.
func MakeDeleteRepositoryEndpoint ¶
MakeDeleteRepositoryEndpoint returns an endpoint for the matching method of the underlying service.
func MakeGetChartEndpoint ¶
MakeGetChartEndpoint returns an endpoint for the matching method of the underlying service.
func MakeGetReleaseEndpoint ¶
MakeGetReleaseEndpoint returns an endpoint for the matching method of the underlying service.
func MakeGetReleaseResourcesEndpoint ¶
MakeGetReleaseResourcesEndpoint returns an endpoint for the matching method of the underlying service.
func MakeGetReleasesRestAPIEndpoint ¶
MakeGetReleasesRestAPIEndpoint returns an endpoint for the matching method of the underlying service.
func MakeInstallReleaseEndpoint ¶
MakeInstallReleaseEndpoint returns an endpoint for the matching method of the underlying service.
func MakeListChartsEndpoint ¶
MakeListChartsEndpoint returns an endpoint for the matching method of the underlying service.
func MakeListClusterChartsEndpoint ¶
MakeListClusterChartsEndpoint returns an endpoint for the matching method of the underlying service.
func MakeListReleasesEndpoint ¶
MakeListReleasesEndpoint returns an endpoint for the matching method of the underlying service.
func MakeListRepositoriesEndpoint ¶
MakeListRepositoriesEndpoint returns an endpoint for the matching method of the underlying service.
func MakeModifyRepositoryEndpoint ¶
MakeModifyRepositoryEndpoint returns an endpoint for the matching method of the underlying service.
func MakeUpdateRepositoryEndpoint ¶
MakeUpdateRepositoryEndpoint returns an endpoint for the matching method of the underlying service.
func MakeUpgradeReleaseEndpoint ¶
MakeUpgradeReleaseEndpoint returns an endpoint for the matching method of the underlying service.
func RegisterHTTPHandlers ¶
func RegisterHTTPHandlers(endpoints Endpoints, router *mux.Router, options ...kithttp.ServerOption)
func RegisterReleaserHTTPHandlers ¶
func RegisterReleaserHTTPHandlers(endpoints Endpoints, router *mux.Router, options ...kithttp.ServerOption)
func RegisterRestAPI ¶
func RegisterRestAPI(endpoints RestAPIEndpoints, router *mux.Router, options ...kithttp.ServerOption)
Types ¶
type AddRepositoryRequest ¶
type AddRepositoryRequest struct { OrganizationID uint Repository helm.Repository }
AddRepositoryRequest is a request struct for AddRepository endpoint.
type AddRepositoryResponse ¶
type AddRepositoryResponse struct {
Err error
}
AddRepositoryResponse is a response struct for AddRepository endpoint.
func (AddRepositoryResponse) Failed ¶
func (r AddRepositoryResponse) Failed() error
type CheckReleaseRequest ¶
type CheckReleaseRequest struct { OrganizationID uint ClusterID uint ReleaseName string Options helm.Options }
CheckReleaseRequest is a request struct for CheckRelease endpoint.
type CheckReleaseResponse ¶
CheckReleaseResponse is a response struct for CheckRelease endpoint.
func (CheckReleaseResponse) Failed ¶
func (r CheckReleaseResponse) Failed() error
type CheckReleasesRequest ¶
CheckReleasesRequest is a request struct for CheckReleases endpoint.
type CheckReleasesResponse ¶
CheckReleasesResponse is a response struct for CheckReleases endpoint.
func (CheckReleasesResponse) Failed ¶
func (r CheckReleasesResponse) Failed() error
type DeleteReleaseRequest ¶
type DeleteReleaseRequest struct { OrganizationID uint ClusterID uint ReleaseName string Options helm.Options }
DeleteReleaseRequest is a request struct for DeleteRelease endpoint.
type DeleteReleaseResponse ¶
type DeleteReleaseResponse struct {
Err error
}
DeleteReleaseResponse is a response struct for DeleteRelease endpoint.
func (DeleteReleaseResponse) Failed ¶
func (r DeleteReleaseResponse) Failed() error
type DeleteRepositoryRequest ¶
DeleteRepositoryRequest is a request struct for DeleteRepository endpoint.
type DeleteRepositoryResponse ¶
type DeleteRepositoryResponse struct {
Err error
}
DeleteRepositoryResponse is a response struct for DeleteRepository endpoint.
func (DeleteRepositoryResponse) Failed ¶
func (r DeleteRepositoryResponse) Failed() error
type Endpoints ¶
type Endpoints struct { AddRepository endpoint.Endpoint CheckRelease endpoint.Endpoint CheckReleases endpoint.Endpoint DeleteRelease endpoint.Endpoint DeleteRepository endpoint.Endpoint GetChart endpoint.Endpoint GetRelease endpoint.Endpoint GetReleaseResources endpoint.Endpoint InstallRelease endpoint.Endpoint ListCharts endpoint.Endpoint ListClusterCharts endpoint.Endpoint ListReleases endpoint.Endpoint ListRepositories endpoint.Endpoint ModifyRepository endpoint.Endpoint UpdateRepository endpoint.Endpoint UpgradeRelease endpoint.Endpoint }
Endpoints collects all of the endpoints that compose the underlying service. It's meant to be used as a helper struct, to collect all of the endpoints into a single parameter.
func MakeEndpoints ¶
func MakeEndpoints(service helm.Service, middleware ...endpoint.Middleware) Endpoints
MakeEndpoints returns a(n) Endpoints struct where each endpoint invokes the corresponding method on the provided service.
type GetChartRequest ¶
type GetChartRequest struct { OrganizationID uint ChartFilter helm.ChartFilter Options helm.Options }
GetChartRequest is a request struct for GetChart endpoint.
type GetChartResponse ¶
type GetChartResponse struct { ChartDetails helm.ChartDetails Err error }
GetChartResponse is a response struct for GetChart endpoint.
func (GetChartResponse) Failed ¶
func (r GetChartResponse) Failed() error
type GetReleaseRequest ¶
type GetReleaseRequest struct { OrganizationID uint ClusterID uint ReleaseName string Options helm.Options }
GetReleaseRequest is a request struct for GetRelease endpoint.
type GetReleaseResourcesRequest ¶
type GetReleaseResourcesRequest struct { OrganizationID uint ClusterID uint Release helm.Release Options helm.Options }
GetReleaseResourcesRequest is a request struct for GetReleaseResources endpoint.
type GetReleaseResourcesResponse ¶
type GetReleaseResourcesResponse struct { R0 []helm.ReleaseResource Err error }
GetReleaseResourcesResponse is a response struct for GetReleaseResources endpoint.
func (GetReleaseResourcesResponse) Failed ¶
func (r GetReleaseResourcesResponse) Failed() error
type GetReleaseResponse ¶
GetReleaseResponse is a response struct for GetRelease endpoint.
func (GetReleaseResponse) Failed ¶
func (r GetReleaseResponse) Failed() error
type GetReleasesRestAPIRequest ¶
type GetReleasesRestAPIRequest struct { OrganizationID uint ClusterID uint Filters helm.ReleaseFilter Options helm.Options }
GetReleasesRestAPIRequest is a request struct for GetReleases endpoint.
type GetReleasesRestAPIResponse ¶
type GetReleasesRestAPIResponse struct { ReleaseList []helm.DetailedRelease Err error }
GetReleasesRestAPIResponse is a response struct for GetReleases endpoint.
func (GetReleasesRestAPIResponse) Failed ¶
func (r GetReleasesRestAPIResponse) Failed() error
type InstallReleaseRequest ¶
type InstallReleaseRequest struct { OrganizationID uint ClusterID uint ReleaseInput helm.Release Options helm.Options }
InstallReleaseRequest is a request struct for InstallRelease endpoint.
type InstallReleaseResponse ¶
InstallReleaseResponse is a response struct for InstallRelease endpoint.
func (InstallReleaseResponse) Failed ¶
func (r InstallReleaseResponse) Failed() error
type ListChartsRequest ¶
type ListChartsRequest struct { OrganizationID uint Filter helm.ChartFilter Options helm.Options }
ListChartsRequest is a request struct for ListCharts endpoint.
type ListChartsResponse ¶
type ListChartsResponse struct { Charts []interface{} Err error }
ListChartsResponse is a response struct for ListCharts endpoint.
func (ListChartsResponse) Failed ¶
func (r ListChartsResponse) Failed() error
type ListClusterChartsRequest ¶
ListClusterChartsRequest is a request struct for ListClusterCharts endpoint.
type ListClusterChartsResponse ¶
type ListClusterChartsResponse struct { Charts []interface{} Err error }
ListClusterChartsResponse is a response struct for ListClusterCharts endpoint.
func (ListClusterChartsResponse) Failed ¶
func (r ListClusterChartsResponse) Failed() error
type ListReleasesRequest ¶
type ListReleasesRequest struct { OrganizationID uint ClusterID uint Filters helm.ReleaseFilter Options helm.Options }
ListReleasesRequest is a request struct for ListReleases endpoint.
type ListReleasesResponse ¶
ListReleasesResponse is a response struct for ListReleases endpoint.
func (ListReleasesResponse) Failed ¶
func (r ListReleasesResponse) Failed() error
type ListRepositoriesRequest ¶
type ListRepositoriesRequest struct {
OrganizationID uint
}
ListRepositoriesRequest is a request struct for ListRepositories endpoint.
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct { Repos []helm.Repository Err error }
ListRepositoriesResponse is a response struct for ListRepositories endpoint.
func (ListRepositoriesResponse) Failed ¶
func (r ListRepositoriesResponse) Failed() error
type ModifyRepositoryRequest ¶
type ModifyRepositoryRequest struct { OrganizationID uint Repository helm.Repository }
ModifyRepositoryRequest is a request struct for ModifyRepository endpoint.
type ModifyRepositoryResponse ¶
type ModifyRepositoryResponse struct {
Err error
}
ModifyRepositoryResponse is a response struct for ModifyRepository endpoint.
func (ModifyRepositoryResponse) Failed ¶
func (r ModifyRepositoryResponse) Failed() error
type RestAPIEndpoints ¶
RestAPIEndpoints collects all of the endpoints that compose the underlying service. It's meant to be used as a helper struct, to collect all of the endpoints into a single parameter.
func MakeRestAPIEndpoints ¶
func MakeRestAPIEndpoints(service helm.RestAPI, middleware ...endpoint.Middleware) RestAPIEndpoints
MakeRestAPIEndpoints returns a(n) RestAPIEndpoints struct where each endpoint invokes the corresponding method on the provided service.
type UpdateRepositoryRequest ¶
type UpdateRepositoryRequest struct { OrganizationID uint Repository helm.Repository }
UpdateRepositoryRequest is a request struct for UpdateRepository endpoint.
type UpdateRepositoryResponse ¶
type UpdateRepositoryResponse struct {
Err error
}
UpdateRepositoryResponse is a response struct for UpdateRepository endpoint.
func (UpdateRepositoryResponse) Failed ¶
func (r UpdateRepositoryResponse) Failed() error
type UpgradeReleaseRequest ¶
type UpgradeReleaseRequest struct { OrganizationID uint ClusterID uint ReleaseInput helm.Release Options helm.Options }
UpgradeReleaseRequest is a request struct for UpgradeRelease endpoint.
type UpgradeReleaseResponse ¶
UpgradeReleaseResponse is a response struct for UpgradeRelease endpoint.
func (UpgradeReleaseResponse) Failed ¶
func (r UpgradeReleaseResponse) Failed() error