Documentation ¶
Index ¶
- Constants
- Variables
- func NewApiClient(host string, skipTlsVerify bool) (*api.APIClient, error)
- func NewApiContext(token string) context.Context
- func NewRootCmd() (*cobra.Command, error)
- func Run() error
- func RunLocalClient() error
- type CodeResponse
- type Config
- type ErrUnauthenticated
- type LocalServer
Constants ¶
View Source
const ( INFRA_HIDDEN_DIR = ".infra" CLIENT_DIR = "client" )
Variables ¶
View Source
var (
ClientTimeoutDuration = 5 * time.Minute
)
Functions ¶
func NewApiClient ¶ added in v0.1.3
func NewApiContext ¶ added in v0.1.3
func NewRootCmd ¶ added in v0.0.3
func RunLocalClient ¶ added in v0.0.3
func RunLocalClient() error
Types ¶
type CodeResponse ¶
type ErrUnauthenticated ¶ added in v0.0.15
type ErrUnauthenticated struct{}
func (*ErrUnauthenticated) Error ¶ added in v0.0.15
func (e *ErrUnauthenticated) Error() string
type LocalServer ¶
type LocalServer struct { ResultChan chan CodeResponse // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.