Documentation
¶
Index ¶
- type Clientset
- type Interface
- type InterfaceMock
- type InterfaceMock_Chaos_Call
- func (_c *InterfaceMock_Chaos_Call) Return(_a0 internalversion.ChaosInterface) *InterfaceMock_Chaos_Call
- func (_c *InterfaceMock_Chaos_Call) Run(run func()) *InterfaceMock_Chaos_Call
- func (_c *InterfaceMock_Chaos_Call) RunAndReturn(run func() internalversion.ChaosInterface) *InterfaceMock_Chaos_Call
- type InterfaceMock_Discovery_Call
- func (_c *InterfaceMock_Discovery_Call) Return(_a0 discovery.DiscoveryInterface) *InterfaceMock_Discovery_Call
- func (_c *InterfaceMock_Discovery_Call) Run(run func()) *InterfaceMock_Discovery_Call
- func (_c *InterfaceMock_Discovery_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *InterfaceMock_Discovery_Call
- type InterfaceMock_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientset ¶
type Clientset struct { *discovery.DiscoveryClient // contains filtered or unexported fields }
Clientset contains the clients for groups.
func NewForConfig ¶
NewForConfig creates a new Clientset for the given config. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfig will generate a rate-limiter in configShallowCopy. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new Clientset for the given config and http client. Note the http client provided takes precedence over the configured transport values. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfigAndClient will generate a rate-limiter in configShallowCopy.
func NewForConfigOrDie ¶
NewForConfigOrDie creates a new Clientset for the given config and panics if there is an error in the config.
func (*Clientset) Chaos ¶
func (c *Clientset) Chaos() chaosinternalversion.ChaosInterface
Chaos retrieves the ChaosClient
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
Discovery retrieves the DiscoveryClient
type Interface ¶
type Interface interface { Discovery() discovery.DiscoveryInterface Chaos() chaosinternalversion.ChaosInterface }
type InterfaceMock ¶
InterfaceMock is an autogenerated mock type for the Interface type
func NewInterfaceMock ¶
func NewInterfaceMock(t interface { mock.TestingT Cleanup(func()) }) *InterfaceMock
NewInterfaceMock creates a new instance of InterfaceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InterfaceMock) Chaos ¶
func (_m *InterfaceMock) Chaos() internalversion.ChaosInterface
Chaos provides a mock function with no fields
func (*InterfaceMock) Discovery ¶
func (_m *InterfaceMock) Discovery() discovery.DiscoveryInterface
Discovery provides a mock function with no fields
func (*InterfaceMock) EXPECT ¶
func (_m *InterfaceMock) EXPECT() *InterfaceMock_Expecter
type InterfaceMock_Chaos_Call ¶
InterfaceMock_Chaos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Chaos'
func (*InterfaceMock_Chaos_Call) Return ¶
func (_c *InterfaceMock_Chaos_Call) Return(_a0 internalversion.ChaosInterface) *InterfaceMock_Chaos_Call
func (*InterfaceMock_Chaos_Call) Run ¶
func (_c *InterfaceMock_Chaos_Call) Run(run func()) *InterfaceMock_Chaos_Call
func (*InterfaceMock_Chaos_Call) RunAndReturn ¶
func (_c *InterfaceMock_Chaos_Call) RunAndReturn(run func() internalversion.ChaosInterface) *InterfaceMock_Chaos_Call
type InterfaceMock_Discovery_Call ¶
InterfaceMock_Discovery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Discovery'
func (*InterfaceMock_Discovery_Call) Return ¶
func (_c *InterfaceMock_Discovery_Call) Return(_a0 discovery.DiscoveryInterface) *InterfaceMock_Discovery_Call
func (*InterfaceMock_Discovery_Call) Run ¶
func (_c *InterfaceMock_Discovery_Call) Run(run func()) *InterfaceMock_Discovery_Call
func (*InterfaceMock_Discovery_Call) RunAndReturn ¶
func (_c *InterfaceMock_Discovery_Call) RunAndReturn(run func() discovery.DiscoveryInterface) *InterfaceMock_Discovery_Call
type InterfaceMock_Expecter ¶
type InterfaceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*InterfaceMock_Expecter) Chaos ¶
func (_e *InterfaceMock_Expecter) Chaos() *InterfaceMock_Chaos_Call
Chaos is a helper method to define mock.On call
func (*InterfaceMock_Expecter) Discovery ¶
func (_e *InterfaceMock_Expecter) Discovery() *InterfaceMock_Discovery_Call
Discovery is a helper method to define mock.On call
Directories
¶
Path | Synopsis |
---|---|
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
typed
|
|
v1beta1/internalversion
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |