Documentation
¶
Index ¶
- func Parse(raw []byte) (*v1alpha1.Config, error)
- type Atlas
- type KinOpeAPI
- type Loader
- type LoaderMock
- type LoaderMock_Expecter
- type LoaderMock_Load_Call
- func (_c *LoaderMock_Load_Call) Return(t *openapi3.T, err error) *LoaderMock_Load_Call
- func (_c *LoaderMock_Load_Call) Run(run func(ctx context.Context, path string)) *LoaderMock_Load_Call
- func (_c *LoaderMock_Load_Call) RunAndReturn(run func(ctx context.Context, path string) (*openapi3.T, error)) *LoaderMock_Load_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KinOpeAPI ¶
type KinOpeAPI struct {
// contains filtered or unexported fields
}
func NewKinOpeAPI ¶
type LoaderMock ¶
LoaderMock is an autogenerated mock type for the Loader type
func NewLoaderMock ¶
func NewLoaderMock(t interface {
mock.TestingT
Cleanup(func())
}) *LoaderMock
NewLoaderMock creates a new instance of LoaderMock. 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 (*LoaderMock) EXPECT ¶
func (_m *LoaderMock) EXPECT() *LoaderMock_Expecter
type LoaderMock_Expecter ¶
type LoaderMock_Expecter struct {
// contains filtered or unexported fields
}
func (*LoaderMock_Expecter) Load ¶
func (_e *LoaderMock_Expecter) Load(ctx interface{}, path interface{}) *LoaderMock_Load_Call
Load is a helper method to define mock.On call
- ctx context.Context
- path string
type LoaderMock_Load_Call ¶
LoaderMock_Load_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Load'
func (*LoaderMock_Load_Call) Return ¶
func (_c *LoaderMock_Load_Call) Return(t *openapi3.T, err error) *LoaderMock_Load_Call
func (*LoaderMock_Load_Call) Run ¶
func (_c *LoaderMock_Load_Call) Run(run func(ctx context.Context, path string)) *LoaderMock_Load_Call
func (*LoaderMock_Load_Call) RunAndReturn ¶
func (_c *LoaderMock_Load_Call) RunAndReturn(run func(ctx context.Context, path string) (*openapi3.T, error)) *LoaderMock_Load_Call
Click to show internal directories.
Click to hide internal directories.