Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RespondWithError ¶
RespondWithError responds with an error message.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API is the API for the dashboard client
func New ¶
func New(ctx context.Context, prefix string, clusterClient ClusterClient, moduleManager module.ManagerInterface, actionDispatcher ActionDispatcher, logger log.Logger) *API
New creates an instance of API.
func (*API) ForceUpdate ¶
type ActionDispatcher ¶
type ClusterClient ¶
type ClusterClient interface {
NamespaceClient() (cluster.NamespaceInterface, error)
InfoClient() (cluster.InfoInterface, error)
}
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
NotFoundError is a not found error.
func NewNotFoundError ¶
func NewNotFoundError(path string) *NotFoundError
NewNotFoundError creates an instance of NotFoundError
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
Error returns the error string.
func (*NotFoundError) NotFound ¶
func (e *NotFoundError) NotFound() bool
NotFound returns true to signify this is a not found error.
Click to show internal directories.
Click to hide internal directories.