Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiController ¶
type ApiController struct {
// contains filtered or unexported fields
}
ApiController stores metadata for the API
func NewApiController ¶
func NewApiController(s store.ReleaseStore, opts ...ControllerOpt) *ApiController
NewApiController returns a new API controller with a default timeout of 300 seconds
func (ApiController) ApplyChart ¶
func (c ApiController) ApplyChart(w http.ResponseWriter, r *http.Request)
ApplyChart applies a chart to a tiller server
type ControllerOpt ¶
type ControllerOpt func(*ApiController)
ControllerOpt is a func that modifies an ApiController
func WithAuthorizers ¶
func WithAuthorizers(azs ...go_middlewares.Authorizer) ControllerOpt
WithAutorizer sets the authorizer for an ApiController
func WithTimeout ¶
func WithTimeout(timeout int64) ControllerOpt
WithTimeout sets the timeout in seconds on an ApiController
Click to show internal directories.
Click to hide internal directories.