Documentation
      ¶
    
    
  
    
  
    Index ¶
- type MockOCM
 - func (m *MockOCM) CreateAuthenticatedOCMContext(ctx context.Context, serviceAccountName, namespace string) (ocm.Context, error)
 - func (m *MockOCM) GetComponentVersion(ctx context.Context, octx ocm.Context, url, name, version string) (ocm.ComponentVersionAccess, error)
 - func (m *MockOCM) GetComponentVersionCallingArgumentsOnCall(i int) []any
 - func (m *MockOCM) GetComponentVersionReturnsForName(name string, cva ocm.ComponentVersionAccess, err error)
 - func (m *MockOCM) GetComponentVersionWasNotCalled() bool
 - func (m *MockOCM) GetProductDescription(ctx context.Context, octx ocm.Context, cv ocm.ComponentVersionAccess) ([]byte, error)
 - func (m *MockOCM) GetProductDescriptionReturns(data []byte, err error)
 - func (m *MockOCM) GetResourceData(cv ocm.ComponentVersionAccess, ref v1alpha1.ResourceReference) ([]byte, error)
 - func (m *MockOCM) GetResourceDataReturns(name string, data []byte, err error)
 - func (m *MockOCM) GetResourceDataReturnsOnCall(name string, data []byte, err error)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOCM ¶
type MockOCM struct {
	// contains filtered or unexported fields
}
    func (*MockOCM) CreateAuthenticatedOCMContext ¶
func (*MockOCM) GetComponentVersion ¶
func (*MockOCM) GetComponentVersionCallingArgumentsOnCall ¶
func (*MockOCM) GetComponentVersionReturnsForName ¶
func (m *MockOCM) GetComponentVersionReturnsForName(name string, cva ocm.ComponentVersionAccess, err error)
func (*MockOCM) GetComponentVersionWasNotCalled ¶
func (*MockOCM) GetProductDescription ¶
func (*MockOCM) GetProductDescriptionReturns ¶
func (*MockOCM) GetResourceData ¶
func (m *MockOCM) GetResourceData(cv ocm.ComponentVersionAccess, ref v1alpha1.ResourceReference) ([]byte, error)
func (*MockOCM) GetResourceDataReturns ¶
 Click to show internal directories. 
   Click to hide internal directories.