Documentation ¶
Index ¶
- type Context
- func (c *Context) ApigeeBase() *url.URL
- func (c *Context) CustomerBase() *url.URL
- func (c *Context) Environment() string
- func (c *Context) Key() string
- func (c *Context) Log() adapter.Logger
- func (c *Context) Organization() string
- func (c *Context) Secret() string
- func (c *Context) SetEnvironment(e string)
- func (c *Context) SetOrganization(o string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context implements the context.Context interface and is to be used in tests.
func NewContext ¶
NewContext constructs a new test context.
func (*Context) ApigeeBase ¶
ApigeeBase gets a URL base to send HTTP requests to.
func (*Context) CustomerBase ¶
CustomerBase gets a URL base to send HTTP requests to.
func (*Context) Environment ¶
Environment gets this context's environment.
func (*Context) Organization ¶
Organization gets this context's organization.
func (*Context) SetEnvironment ¶
SetEnvironment sets this context's environment.
func (*Context) SetOrganization ¶
SetOrganization sets this context's organization.
Click to show internal directories.
Click to hide internal directories.