cmd

package
v0.0.0-...-2cdfd9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRootCommand

func GetRootCommand() *cli.App

func WriteServiceError

func WriteServiceError(res *restful.Response, httpStatus int, err error)

Types

type ContainerResource

type ContainerResource struct {
	// contains filtered or unexported fields
}

func NewContainerResource

func NewContainerResource(client client.Client) *ContainerResource

func (*ContainerResource) WebService

func (r *ContainerResource) WebService() *restful.WebService

type ServiceError

type ServiceError struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL