Documentation ¶
Overview ¶
Package resource is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
UpdateVendor string
)
Functions ¶
This section is empty.
Types ¶
type MockResourceAPI ¶
type MockResourceAPI struct {
// contains filtered or unexported fields
}
MockResourceAPI is a mock of ResourceAPI interface.
func NewMockResourceAPI ¶
func NewMockResourceAPI(ctrl *gomock.Controller) *MockResourceAPI
NewMockResourceAPI creates a new mock instance.
func (*MockResourceAPI) CreateFromYAML ¶
func (m *MockResourceAPI) CreateFromYAML(arg0 context.Context, arg1 []byte, arg2 bool, arg3 v1.Object, arg4, arg5 string, arg6 map[string]string, arg7, arg8, arg9 string) error
CreateFromYAML mocks base method.
func (*MockResourceAPI) EXPECT ¶
func (m *MockResourceAPI) EXPECT() *MockResourceAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceAPI) GetObjectsFromYAML ¶
func (m *MockResourceAPI) GetObjectsFromYAML(arg0 []byte) (*unstructured.UnstructuredList, error)
GetObjectsFromYAML mocks base method.
type MockResourceAPIMockRecorder ¶
type MockResourceAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceAPIMockRecorder is the mock recorder for MockResourceAPI.
func (*MockResourceAPIMockRecorder) CreateFromYAML ¶
func (mr *MockResourceAPIMockRecorder) CreateFromYAML(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call
CreateFromYAML indicates an expected call of CreateFromYAML.
func (*MockResourceAPIMockRecorder) GetObjectsFromYAML ¶
func (mr *MockResourceAPIMockRecorder) GetObjectsFromYAML(arg0 interface{}) *gomock.Call
GetObjectsFromYAML indicates an expected call of GetObjectsFromYAML.
type ResourceAPI ¶
type ResourceAPI interface { CreateFromYAML(context.Context, []byte, bool, v1.Object, string, string, map[string]string, string, string, string) error GetObjectsFromYAML([]byte) (*unstructured.UnstructuredList, error) }
func NewResourceAPI ¶
func NewResourceAPI( kubeClient clients.ClientsInterface, metricsClient metrics.Metrics, pollActions poll.PollActions, kernelAPI kernel.KernelData, scheme *runtime.Scheme, lc lifecycle.Lifecycle, proxyAPI proxy.ProxyAPI, resHelper resourcehelper.Helper, ) ResourceAPI
Click to show internal directories.
Click to hide internal directories.