Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCannotUseGuest = errors.New("cannot use guest client for this operation")
View Source
var ErrInvalidClient = errors.New("invalid client")
Functions ¶
This section is empty.
Types ¶
type AuthorizedRoundTripper ¶
type AuthorizedRoundTripper struct {
// contains filtered or unexported fields
}
type Client ¶
type Client interface { WhoAmI(ctx context.Context) (string, error) GenerateRunbookV2(ctx context.Context, commands []RecordedCommand) (*GeneratedRunbook, error) // Deprecated. Use GenerateRunbookV2 instead GenerateRunbook(ctx context.Context, commands []string) (*GeneratedRunbook, error) RunbookByID(ctx context.Context, id string) (*Runbook, error) }
type ErrorResponse ¶ added in v0.9.0
type ErrorResponse struct {
Message string `json:"message"`
}
type GeneratedRunbook ¶
type GuestRoundTripper ¶ added in v0.9.0
type GuestRoundTripper struct {
// contains filtered or unexported fields
}
type RecordedCommand ¶ added in v0.8.2
Click to show internal directories.
Click to hide internal directories.