mocks

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIAPIKeyClient added in v1.2.0

type AIAPIKeyClient struct {
	mock.Mock
}

AIAPIKeyClient is an autogenerated mock type for the AIAPIKeyClient type

func NewAIAPIKeyClient added in v1.2.0

func NewAIAPIKeyClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AIAPIKeyClient

NewAIAPIKeyClient creates a new instance of AIAPIKeyClient. 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 (*AIAPIKeyClient) CreateAIAPIKey added in v1.2.0

func (_m *AIAPIKeyClient) CreateAIAPIKey(ctx context.Context, deploymentID string, request client.NewAIAPIKeyRequest) (*client.AIAPIKeyWithSecret, error)

CreateAIAPIKey provides a mock function with given fields: ctx, deploymentID, request

func (*AIAPIKeyClient) DeleteAIAPIKey added in v1.2.0

func (_m *AIAPIKeyClient) DeleteAIAPIKey(ctx context.Context, deploymentID string, keyID string) error

DeleteAIAPIKey provides a mock function with given fields: ctx, deploymentID, keyID

func (*AIAPIKeyClient) EXPECT added in v1.2.0

func (*AIAPIKeyClient) GetAIAPIKey added in v1.2.0

func (_m *AIAPIKeyClient) GetAIAPIKey(ctx context.Context, deploymentID string, name string) (*client.AIAPIKey, error)

GetAIAPIKey provides a mock function with given fields: ctx, deploymentID, name

func (*AIAPIKeyClient) ListAIAPIKeys added in v1.2.0

func (_m *AIAPIKeyClient) ListAIAPIKeys(ctx context.Context, deploymentID string) ([]client.AIAPIKey, error)

ListAIAPIKeys provides a mock function with given fields: ctx, deploymentID

type AIAPIKeyClient_CreateAIAPIKey_Call added in v1.2.0

type AIAPIKeyClient_CreateAIAPIKey_Call struct {
	*mock.Call
}

AIAPIKeyClient_CreateAIAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAIAPIKey'

func (*AIAPIKeyClient_CreateAIAPIKey_Call) Return added in v1.2.0

func (*AIAPIKeyClient_CreateAIAPIKey_Call) Run added in v1.2.0

func (*AIAPIKeyClient_CreateAIAPIKey_Call) RunAndReturn added in v1.2.0

type AIAPIKeyClient_DeleteAIAPIKey_Call added in v1.2.0

type AIAPIKeyClient_DeleteAIAPIKey_Call struct {
	*mock.Call
}

AIAPIKeyClient_DeleteAIAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAIAPIKey'

func (*AIAPIKeyClient_DeleteAIAPIKey_Call) Return added in v1.2.0

func (*AIAPIKeyClient_DeleteAIAPIKey_Call) Run added in v1.2.0

func (*AIAPIKeyClient_DeleteAIAPIKey_Call) RunAndReturn added in v1.2.0

type AIAPIKeyClient_Expecter added in v1.2.0

type AIAPIKeyClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*AIAPIKeyClient_Expecter) CreateAIAPIKey added in v1.2.0

func (_e *AIAPIKeyClient_Expecter) CreateAIAPIKey(ctx interface{}, deploymentID interface{}, request interface{}) *AIAPIKeyClient_CreateAIAPIKey_Call

CreateAIAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • deploymentID string
  • request client.NewAIAPIKeyRequest

func (*AIAPIKeyClient_Expecter) DeleteAIAPIKey added in v1.2.0

func (_e *AIAPIKeyClient_Expecter) DeleteAIAPIKey(ctx interface{}, deploymentID interface{}, keyID interface{}) *AIAPIKeyClient_DeleteAIAPIKey_Call

DeleteAIAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • deploymentID string
  • keyID string

func (*AIAPIKeyClient_Expecter) GetAIAPIKey added in v1.2.0

func (_e *AIAPIKeyClient_Expecter) GetAIAPIKey(ctx interface{}, deploymentID interface{}, name interface{}) *AIAPIKeyClient_GetAIAPIKey_Call

GetAIAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • deploymentID string
  • name string

func (*AIAPIKeyClient_Expecter) ListAIAPIKeys added in v1.2.0

func (_e *AIAPIKeyClient_Expecter) ListAIAPIKeys(ctx interface{}, deploymentID interface{}) *AIAPIKeyClient_ListAIAPIKeys_Call

ListAIAPIKeys is a helper method to define mock.On call

  • ctx context.Context
  • deploymentID string

type AIAPIKeyClient_GetAIAPIKey_Call added in v1.2.0

type AIAPIKeyClient_GetAIAPIKey_Call struct {
	*mock.Call
}

AIAPIKeyClient_GetAIAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAIAPIKey'

func (*AIAPIKeyClient_GetAIAPIKey_Call) Return added in v1.2.0

func (*AIAPIKeyClient_GetAIAPIKey_Call) Run added in v1.2.0

func (*AIAPIKeyClient_GetAIAPIKey_Call) RunAndReturn added in v1.2.0

type AIAPIKeyClient_ListAIAPIKeys_Call added in v1.2.0

type AIAPIKeyClient_ListAIAPIKeys_Call struct {
	*mock.Call
}

AIAPIKeyClient_ListAIAPIKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAIAPIKeys'

func (*AIAPIKeyClient_ListAIAPIKeys_Call) Return added in v1.2.0

func (*AIAPIKeyClient_ListAIAPIKeys_Call) Run added in v1.2.0

func (*AIAPIKeyClient_ListAIAPIKeys_Call) RunAndReturn added in v1.2.0

type AIClient added in v1.2.0

type AIClient struct {
	mock.Mock
}

AIClient is an autogenerated mock type for the AIClient type

func NewAIClient added in v1.2.0

func NewAIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AIClient

NewAIClient creates a new instance of AIClient. 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 (*AIClient) CreateAIDeployment added in v1.2.0

func (_m *AIClient) CreateAIDeployment(ctx context.Context, request client.NewAIDeploymentRequest) (*client.AIDeployment, error)

CreateAIDeployment provides a mock function with given fields: ctx, request

func (*AIClient) DeleteAIDeployment added in v1.2.0

func (_m *AIClient) DeleteAIDeployment(ctx context.Context, id string) error

DeleteAIDeployment provides a mock function with given fields: ctx, id

func (*AIClient) EXPECT added in v1.2.0

func (_m *AIClient) EXPECT() *AIClient_Expecter

func (*AIClient) GetAIDeployment added in v1.2.0

func (_m *AIClient) GetAIDeployment(ctx context.Context, name string) (*client.AIDeployment, error)

GetAIDeployment provides a mock function with given fields: ctx, name

func (*AIClient) ListAIDeployments added in v1.2.0

func (_m *AIClient) ListAIDeployments(ctx context.Context) ([]client.AIDeployment, error)

ListAIDeployments provides a mock function with given fields: ctx

func (*AIClient) ListAIModels added in v1.2.0

func (_m *AIClient) ListAIModels(ctx context.Context) ([]client.AIModel, error)

ListAIModels provides a mock function with given fields: ctx

type AIClient_CreateAIDeployment_Call added in v1.2.0

type AIClient_CreateAIDeployment_Call struct {
	*mock.Call
}

AIClient_CreateAIDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAIDeployment'

func (*AIClient_CreateAIDeployment_Call) Return added in v1.2.0

func (*AIClient_CreateAIDeployment_Call) Run added in v1.2.0

func (*AIClient_CreateAIDeployment_Call) RunAndReturn added in v1.2.0

type AIClient_DeleteAIDeployment_Call added in v1.2.0

type AIClient_DeleteAIDeployment_Call struct {
	*mock.Call
}

AIClient_DeleteAIDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAIDeployment'

func (*AIClient_DeleteAIDeployment_Call) Return added in v1.2.0

func (*AIClient_DeleteAIDeployment_Call) Run added in v1.2.0

func (*AIClient_DeleteAIDeployment_Call) RunAndReturn added in v1.2.0

type AIClient_Expecter added in v1.2.0

type AIClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*AIClient_Expecter) CreateAIDeployment added in v1.2.0

func (_e *AIClient_Expecter) CreateAIDeployment(ctx interface{}, request interface{}) *AIClient_CreateAIDeployment_Call

CreateAIDeployment is a helper method to define mock.On call

  • ctx context.Context
  • request client.NewAIDeploymentRequest

func (*AIClient_Expecter) DeleteAIDeployment added in v1.2.0

func (_e *AIClient_Expecter) DeleteAIDeployment(ctx interface{}, id interface{}) *AIClient_DeleteAIDeployment_Call

DeleteAIDeployment is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*AIClient_Expecter) GetAIDeployment added in v1.2.0

func (_e *AIClient_Expecter) GetAIDeployment(ctx interface{}, name interface{}) *AIClient_GetAIDeployment_Call

GetAIDeployment is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*AIClient_Expecter) ListAIDeployments added in v1.2.0

func (_e *AIClient_Expecter) ListAIDeployments(ctx interface{}) *AIClient_ListAIDeployments_Call

ListAIDeployments is a helper method to define mock.On call

  • ctx context.Context

func (*AIClient_Expecter) ListAIModels added in v1.2.0

func (_e *AIClient_Expecter) ListAIModels(ctx interface{}) *AIClient_ListAIModels_Call

ListAIModels is a helper method to define mock.On call

  • ctx context.Context

type AIClient_GetAIDeployment_Call added in v1.2.0

type AIClient_GetAIDeployment_Call struct {
	*mock.Call
}

AIClient_GetAIDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAIDeployment'

func (*AIClient_GetAIDeployment_Call) Return added in v1.2.0

func (*AIClient_GetAIDeployment_Call) Run added in v1.2.0

func (*AIClient_GetAIDeployment_Call) RunAndReturn added in v1.2.0

type AIClient_ListAIDeployments_Call added in v1.2.0

type AIClient_ListAIDeployments_Call struct {
	*mock.Call
}

AIClient_ListAIDeployments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAIDeployments'

func (*AIClient_ListAIDeployments_Call) Return added in v1.2.0

func (*AIClient_ListAIDeployments_Call) Run added in v1.2.0

func (*AIClient_ListAIDeployments_Call) RunAndReturn added in v1.2.0

type AIClient_ListAIModels_Call added in v1.2.0

type AIClient_ListAIModels_Call struct {
	*mock.Call
}

AIClient_ListAIModels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAIModels'

func (*AIClient_ListAIModels_Call) Return added in v1.2.0

func (*AIClient_ListAIModels_Call) Run added in v1.2.0

func (*AIClient_ListAIModels_Call) RunAndReturn added in v1.2.0

type Client added in v1.2.0

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient added in v1.2.0

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. 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 (*Client) AddClusterMember added in v1.2.0

func (_m *Client) AddClusterMember(ctx context.Context, clusterID string, request []client.AddClusterMemberRequest) error

AddClusterMember provides a mock function with given fields: ctx, clusterID, request

func (*Client) AddTeamMember added in v1.2.0

func (_m *Client) AddTeamMember(ctx context.Context, teamID string, request []client.AddTeamMemberRequest) error

AddTeamMember provides a mock function with given fields: ctx, teamID, request

func (*Client) CreateAIAPIKey added in v1.2.0

func (_m *Client) CreateAIAPIKey(ctx context.Context, deploymentID string, request client.NewAIAPIKeyRequest) (*client.AIAPIKeyWithSecret, error)

CreateAIAPIKey provides a mock function with given fields: ctx, deploymentID, request

func (*Client) CreateAIDeployment added in v1.2.0

func (_m *Client) CreateAIDeployment(ctx context.Context, request client.NewAIDeploymentRequest) (*client.AIDeployment, error)

CreateAIDeployment provides a mock function with given fields: ctx, request

func (*Client) CreateCluster added in v1.2.0

func (_m *Client) CreateCluster(ctx context.Context, request client.NewClusterRequest) (*client.Cluster, error)

CreateCluster provides a mock function with given fields: ctx, request

func (*Client) CreatePullSecret added in v1.4.0

func (_m *Client) CreatePullSecret(ctx context.Context, request client.NewPullSecretRequest) (*client.PullSecret, error)

CreatePullSecret provides a mock function with given fields: ctx, request

func (*Client) CreateTeam added in v1.2.0

func (_m *Client) CreateTeam(ctx context.Context, request client.NewTeamRequest) (*client.Team, error)

CreateTeam provides a mock function with given fields: ctx, request

func (*Client) DeleteAIAPIKey added in v1.2.0

func (_m *Client) DeleteAIAPIKey(ctx context.Context, deploymentID string, keyID string) error

DeleteAIAPIKey provides a mock function with given fields: ctx, deploymentID, keyID

func (*Client) DeleteAIDeployment added in v1.2.0

func (_m *Client) DeleteAIDeployment(ctx context.Context, id string) error

DeleteAIDeployment provides a mock function with given fields: ctx, id

func (*Client) DeleteCluster added in v1.2.0

func (_m *Client) DeleteCluster(ctx context.Context, name string) error

DeleteCluster provides a mock function with given fields: ctx, name

func (*Client) DeletePullSecret added in v1.4.0

func (_m *Client) DeletePullSecret(ctx context.Context, id string) error

DeletePullSecret provides a mock function with given fields: ctx, id

func (*Client) DeleteTeam added in v1.2.0

func (_m *Client) DeleteTeam(ctx context.Context, request client.DeleteTeamRequest) error

DeleteTeam provides a mock function with given fields: ctx, request

func (*Client) EXPECT added in v1.2.0

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) EditPullSecret added in v1.4.0

func (_m *Client) EditPullSecret(ctx context.Context, id string, request client.EditPullSecretRequest) (*client.PullSecret, error)

EditPullSecret provides a mock function with given fields: ctx, id, request

func (*Client) GetAIAPIKey added in v1.2.0

func (_m *Client) GetAIAPIKey(ctx context.Context, deploymentID string, name string) (*client.AIAPIKey, error)

GetAIAPIKey provides a mock function with given fields: ctx, deploymentID, name

func (*Client) GetAIDeployment added in v1.2.0

func (_m *Client) GetAIDeployment(ctx context.Context, name string) (*client.AIDeployment, error)

GetAIDeployment provides a mock function with given fields: ctx, name

func (*Client) GetCluster added in v1.2.0

func (_m *Client) GetCluster(ctx context.Context, name string) (*client.Cluster, error)

GetCluster provides a mock function with given fields: ctx, name

func (*Client) GetClusterMembers added in v1.2.0

func (_m *Client) GetClusterMembers(ctx context.Context, clusterID string) ([]client.ClusterMember, error)

GetClusterMembers provides a mock function with given fields: ctx, clusterID

func (*Client) GetClusterStatus added in v1.2.0

func (_m *Client) GetClusterStatus(ctx context.Context, clusterID string) (*client.Cluster, error)

GetClusterStatus provides a mock function with given fields: ctx, clusterID

func (*Client) GetMe added in v1.2.0

func (_m *Client) GetMe(ctx context.Context) (client.Me, error)

GetMe provides a mock function with given fields: ctx

func (*Client) GetPullSecret added in v1.4.0

func (_m *Client) GetPullSecret(ctx context.Context, id string) (*client.PullSecret, error)

GetPullSecret provides a mock function with given fields: ctx, id

func (*Client) GetTeam added in v1.2.0

func (_m *Client) GetTeam(ctx context.Context, name string) (*client.Team, error)

GetTeam provides a mock function with given fields: ctx, name

func (*Client) GetTeamMembers added in v1.2.0

func (_m *Client) GetTeamMembers(ctx context.Context, teamID string) ([]client.TeamMember, error)

GetTeamMembers provides a mock function with given fields: ctx, teamID

func (*Client) GetUser added in v1.2.0

func (_m *Client) GetUser(ctx context.Context, upn string) (*client.User, error)

GetUser provides a mock function with given fields: ctx, upn

func (*Client) ListAIAPIKeys added in v1.2.0

func (_m *Client) ListAIAPIKeys(ctx context.Context, deploymentID string) ([]client.AIAPIKey, error)

ListAIAPIKeys provides a mock function with given fields: ctx, deploymentID

func (*Client) ListAIDeployments added in v1.2.0

func (_m *Client) ListAIDeployments(ctx context.Context) ([]client.AIDeployment, error)

ListAIDeployments provides a mock function with given fields: ctx

func (*Client) ListAIModels added in v1.2.0

func (_m *Client) ListAIModels(ctx context.Context) ([]client.AIModel, error)

ListAIModels provides a mock function with given fields: ctx

func (*Client) ListClusters added in v1.2.0

func (_m *Client) ListClusters(ctx context.Context) (client.ClusterList, error)

ListClusters provides a mock function with given fields: ctx

func (*Client) ListIntegrationInstances added in v1.2.0

func (_m *Client) ListIntegrationInstances(ctx context.Context) ([]client.IntegrationInstance, error)

ListIntegrationInstances provides a mock function with given fields: ctx

func (*Client) ListPullSecrets added in v1.4.0

func (_m *Client) ListPullSecrets(ctx context.Context) ([]client.PullSecret, error)

ListPullSecrets provides a mock function with given fields: ctx

func (*Client) ListTeams added in v1.2.0

func (_m *Client) ListTeams(ctx context.Context) ([]client.Team, error)

ListTeams provides a mock function with given fields: ctx

func (*Client) ListUsers added in v1.2.0

func (_m *Client) ListUsers(ctx context.Context) ([]client.User, error)

ListUsers provides a mock function with given fields: ctx

func (*Client) RemoveClusterMember added in v1.2.0

func (_m *Client) RemoveClusterMember(ctx context.Context, clusterID string, memberID string) error

RemoveClusterMember provides a mock function with given fields: ctx, clusterID, memberID

func (*Client) RemoveTeamMember added in v1.2.0

func (_m *Client) RemoveTeamMember(ctx context.Context, teamID string, memberID string) error

RemoveTeamMember provides a mock function with given fields: ctx, teamID, memberID

func (*Client) SetClusterPullSecret added in v1.4.0

func (_m *Client) SetClusterPullSecret(ctx context.Context, clusterID string, pullSecretID string) error

SetClusterPullSecret provides a mock function with given fields: ctx, clusterID, pullSecretID

type Client_AddClusterMember_Call added in v1.2.0

type Client_AddClusterMember_Call struct {
	*mock.Call
}

Client_AddClusterMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddClusterMember'

func (*Client_AddClusterMember_Call) Return added in v1.2.0

func (*Client_AddClusterMember_Call) Run added in v1.2.0

func (*Client_AddClusterMember_Call) RunAndReturn added in v1.2.0

type Client_AddTeamMember_Call added in v1.2.0

type Client_AddTeamMember_Call struct {
	*mock.Call
}

Client_AddTeamMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTeamMember'

func (*Client_AddTeamMember_Call) Return added in v1.2.0

func (*Client_AddTeamMember_Call) Run added in v1.2.0

func (*Client_AddTeamMember_Call) RunAndReturn added in v1.2.0

type Client_CreateAIAPIKey_Call added in v1.2.0

type Client_CreateAIAPIKey_Call struct {
	*mock.Call
}

Client_CreateAIAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAIAPIKey'

func (*Client_CreateAIAPIKey_Call) Return added in v1.2.0

func (*Client_CreateAIAPIKey_Call) Run added in v1.2.0

func (*Client_CreateAIAPIKey_Call) RunAndReturn added in v1.2.0

type Client_CreateAIDeployment_Call added in v1.2.0

type Client_CreateAIDeployment_Call struct {
	*mock.Call
}

Client_CreateAIDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAIDeployment'

func (*Client_CreateAIDeployment_Call) Return added in v1.2.0

func (*Client_CreateAIDeployment_Call) Run added in v1.2.0

func (*Client_CreateAIDeployment_Call) RunAndReturn added in v1.2.0

type Client_CreateCluster_Call added in v1.2.0

type Client_CreateCluster_Call struct {
	*mock.Call
}

Client_CreateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCluster'

func (*Client_CreateCluster_Call) Return added in v1.2.0

func (*Client_CreateCluster_Call) Run added in v1.2.0

func (*Client_CreateCluster_Call) RunAndReturn added in v1.2.0

type Client_CreatePullSecret_Call added in v1.4.0

type Client_CreatePullSecret_Call struct {
	*mock.Call
}

Client_CreatePullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePullSecret'

func (*Client_CreatePullSecret_Call) Return added in v1.4.0

func (*Client_CreatePullSecret_Call) Run added in v1.4.0

func (*Client_CreatePullSecret_Call) RunAndReturn added in v1.4.0

type Client_CreateTeam_Call added in v1.2.0

type Client_CreateTeam_Call struct {
	*mock.Call
}

Client_CreateTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTeam'

func (*Client_CreateTeam_Call) Return added in v1.2.0

func (*Client_CreateTeam_Call) Run added in v1.2.0

func (*Client_CreateTeam_Call) RunAndReturn added in v1.2.0

type Client_DeleteAIAPIKey_Call added in v1.2.0

type Client_DeleteAIAPIKey_Call struct {
	*mock.Call
}

Client_DeleteAIAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAIAPIKey'

func (*Client_DeleteAIAPIKey_Call) Return added in v1.2.0

func (*Client_DeleteAIAPIKey_Call) Run added in v1.2.0

func (_c *Client_DeleteAIAPIKey_Call) Run(run func(ctx context.Context, deploymentID string, keyID string)) *Client_DeleteAIAPIKey_Call

func (*Client_DeleteAIAPIKey_Call) RunAndReturn added in v1.2.0

type Client_DeleteAIDeployment_Call added in v1.2.0

type Client_DeleteAIDeployment_Call struct {
	*mock.Call
}

Client_DeleteAIDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAIDeployment'

func (*Client_DeleteAIDeployment_Call) Return added in v1.2.0

func (*Client_DeleteAIDeployment_Call) Run added in v1.2.0

func (*Client_DeleteAIDeployment_Call) RunAndReturn added in v1.2.0

type Client_DeleteCluster_Call added in v1.2.0

type Client_DeleteCluster_Call struct {
	*mock.Call
}

Client_DeleteCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCluster'

func (*Client_DeleteCluster_Call) Return added in v1.2.0

func (*Client_DeleteCluster_Call) Run added in v1.2.0

func (*Client_DeleteCluster_Call) RunAndReturn added in v1.2.0

type Client_DeletePullSecret_Call added in v1.4.0

type Client_DeletePullSecret_Call struct {
	*mock.Call
}

Client_DeletePullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePullSecret'

func (*Client_DeletePullSecret_Call) Return added in v1.4.0

func (*Client_DeletePullSecret_Call) Run added in v1.4.0

func (*Client_DeletePullSecret_Call) RunAndReturn added in v1.4.0

type Client_DeleteTeam_Call added in v1.2.0

type Client_DeleteTeam_Call struct {
	*mock.Call
}

Client_DeleteTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTeam'

func (*Client_DeleteTeam_Call) Return added in v1.2.0

func (*Client_DeleteTeam_Call) Run added in v1.2.0

func (*Client_DeleteTeam_Call) RunAndReturn added in v1.2.0

type Client_EditPullSecret_Call added in v1.4.0

type Client_EditPullSecret_Call struct {
	*mock.Call
}

Client_EditPullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EditPullSecret'

func (*Client_EditPullSecret_Call) Return added in v1.4.0

func (*Client_EditPullSecret_Call) Run added in v1.4.0

func (*Client_EditPullSecret_Call) RunAndReturn added in v1.4.0

type Client_Expecter added in v1.2.0

type Client_Expecter struct {
	// contains filtered or unexported fields
}

func (*Client_Expecter) AddClusterMember added in v1.2.0

func (_e *Client_Expecter) AddClusterMember(ctx interface{}, clusterID interface{}, request interface{}) *Client_AddClusterMember_Call

AddClusterMember is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string
  • request []client.AddClusterMemberRequest

func (*Client_Expecter) AddTeamMember added in v1.2.0

func (_e *Client_Expecter) AddTeamMember(ctx interface{}, teamID interface{}, request interface{}) *Client_AddTeamMember_Call

AddTeamMember is a helper method to define mock.On call

  • ctx context.Context
  • teamID string
  • request []client.AddTeamMemberRequest

func (*Client_Expecter) CreateAIAPIKey added in v1.2.0

func (_e *Client_Expecter) CreateAIAPIKey(ctx interface{}, deploymentID interface{}, request interface{}) *Client_CreateAIAPIKey_Call

CreateAIAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • deploymentID string
  • request client.NewAIAPIKeyRequest

func (*Client_Expecter) CreateAIDeployment added in v1.2.0

func (_e *Client_Expecter) CreateAIDeployment(ctx interface{}, request interface{}) *Client_CreateAIDeployment_Call

CreateAIDeployment is a helper method to define mock.On call

  • ctx context.Context
  • request client.NewAIDeploymentRequest

func (*Client_Expecter) CreateCluster added in v1.2.0

func (_e *Client_Expecter) CreateCluster(ctx interface{}, request interface{}) *Client_CreateCluster_Call

CreateCluster is a helper method to define mock.On call

  • ctx context.Context
  • request client.NewClusterRequest

func (*Client_Expecter) CreatePullSecret added in v1.4.0

func (_e *Client_Expecter) CreatePullSecret(ctx interface{}, request interface{}) *Client_CreatePullSecret_Call

CreatePullSecret is a helper method to define mock.On call

  • ctx context.Context
  • request client.NewPullSecretRequest

func (*Client_Expecter) CreateTeam added in v1.2.0

func (_e *Client_Expecter) CreateTeam(ctx interface{}, request interface{}) *Client_CreateTeam_Call

CreateTeam is a helper method to define mock.On call

  • ctx context.Context
  • request client.NewTeamRequest

func (*Client_Expecter) DeleteAIAPIKey added in v1.2.0

func (_e *Client_Expecter) DeleteAIAPIKey(ctx interface{}, deploymentID interface{}, keyID interface{}) *Client_DeleteAIAPIKey_Call

DeleteAIAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • deploymentID string
  • keyID string

func (*Client_Expecter) DeleteAIDeployment added in v1.2.0

func (_e *Client_Expecter) DeleteAIDeployment(ctx interface{}, id interface{}) *Client_DeleteAIDeployment_Call

DeleteAIDeployment is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*Client_Expecter) DeleteCluster added in v1.2.0

func (_e *Client_Expecter) DeleteCluster(ctx interface{}, name interface{}) *Client_DeleteCluster_Call

DeleteCluster is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*Client_Expecter) DeletePullSecret added in v1.4.0

func (_e *Client_Expecter) DeletePullSecret(ctx interface{}, id interface{}) *Client_DeletePullSecret_Call

DeletePullSecret is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*Client_Expecter) DeleteTeam added in v1.2.0

func (_e *Client_Expecter) DeleteTeam(ctx interface{}, request interface{}) *Client_DeleteTeam_Call

DeleteTeam is a helper method to define mock.On call

  • ctx context.Context
  • request client.DeleteTeamRequest

func (*Client_Expecter) EditPullSecret added in v1.4.0

func (_e *Client_Expecter) EditPullSecret(ctx interface{}, id interface{}, request interface{}) *Client_EditPullSecret_Call

EditPullSecret is a helper method to define mock.On call

  • ctx context.Context
  • id string
  • request client.EditPullSecretRequest

func (*Client_Expecter) GetAIAPIKey added in v1.2.0

func (_e *Client_Expecter) GetAIAPIKey(ctx interface{}, deploymentID interface{}, name interface{}) *Client_GetAIAPIKey_Call

GetAIAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • deploymentID string
  • name string

func (*Client_Expecter) GetAIDeployment added in v1.2.0

func (_e *Client_Expecter) GetAIDeployment(ctx interface{}, name interface{}) *Client_GetAIDeployment_Call

GetAIDeployment is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*Client_Expecter) GetCluster added in v1.2.0

func (_e *Client_Expecter) GetCluster(ctx interface{}, name interface{}) *Client_GetCluster_Call

GetCluster is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*Client_Expecter) GetClusterMembers added in v1.2.0

func (_e *Client_Expecter) GetClusterMembers(ctx interface{}, clusterID interface{}) *Client_GetClusterMembers_Call

GetClusterMembers is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string

func (*Client_Expecter) GetClusterStatus added in v1.2.0

func (_e *Client_Expecter) GetClusterStatus(ctx interface{}, clusterID interface{}) *Client_GetClusterStatus_Call

GetClusterStatus is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string

func (*Client_Expecter) GetMe added in v1.2.0

func (_e *Client_Expecter) GetMe(ctx interface{}) *Client_GetMe_Call

GetMe is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) GetPullSecret added in v1.4.0

func (_e *Client_Expecter) GetPullSecret(ctx interface{}, id interface{}) *Client_GetPullSecret_Call

GetPullSecret is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*Client_Expecter) GetTeam added in v1.2.0

func (_e *Client_Expecter) GetTeam(ctx interface{}, name interface{}) *Client_GetTeam_Call

GetTeam is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*Client_Expecter) GetTeamMembers added in v1.2.0

func (_e *Client_Expecter) GetTeamMembers(ctx interface{}, teamID interface{}) *Client_GetTeamMembers_Call

GetTeamMembers is a helper method to define mock.On call

  • ctx context.Context
  • teamID string

func (*Client_Expecter) GetUser added in v1.2.0

func (_e *Client_Expecter) GetUser(ctx interface{}, upn interface{}) *Client_GetUser_Call

GetUser is a helper method to define mock.On call

  • ctx context.Context
  • upn string

func (*Client_Expecter) ListAIAPIKeys added in v1.2.0

func (_e *Client_Expecter) ListAIAPIKeys(ctx interface{}, deploymentID interface{}) *Client_ListAIAPIKeys_Call

ListAIAPIKeys is a helper method to define mock.On call

  • ctx context.Context
  • deploymentID string

func (*Client_Expecter) ListAIDeployments added in v1.2.0

func (_e *Client_Expecter) ListAIDeployments(ctx interface{}) *Client_ListAIDeployments_Call

ListAIDeployments is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) ListAIModels added in v1.2.0

func (_e *Client_Expecter) ListAIModels(ctx interface{}) *Client_ListAIModels_Call

ListAIModels is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) ListClusters added in v1.2.0

func (_e *Client_Expecter) ListClusters(ctx interface{}) *Client_ListClusters_Call

ListClusters is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) ListIntegrationInstances added in v1.2.0

func (_e *Client_Expecter) ListIntegrationInstances(ctx interface{}) *Client_ListIntegrationInstances_Call

ListIntegrationInstances is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) ListPullSecrets added in v1.4.0

func (_e *Client_Expecter) ListPullSecrets(ctx interface{}) *Client_ListPullSecrets_Call

ListPullSecrets is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) ListTeams added in v1.2.0

func (_e *Client_Expecter) ListTeams(ctx interface{}) *Client_ListTeams_Call

ListTeams is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) ListUsers added in v1.2.0

func (_e *Client_Expecter) ListUsers(ctx interface{}) *Client_ListUsers_Call

ListUsers is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) RemoveClusterMember added in v1.2.0

func (_e *Client_Expecter) RemoveClusterMember(ctx interface{}, clusterID interface{}, memberID interface{}) *Client_RemoveClusterMember_Call

RemoveClusterMember is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string
  • memberID string

func (*Client_Expecter) RemoveTeamMember added in v1.2.0

func (_e *Client_Expecter) RemoveTeamMember(ctx interface{}, teamID interface{}, memberID interface{}) *Client_RemoveTeamMember_Call

RemoveTeamMember is a helper method to define mock.On call

  • ctx context.Context
  • teamID string
  • memberID string

func (*Client_Expecter) SetClusterPullSecret added in v1.4.0

func (_e *Client_Expecter) SetClusterPullSecret(ctx interface{}, clusterID interface{}, pullSecretID interface{}) *Client_SetClusterPullSecret_Call

SetClusterPullSecret is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string
  • pullSecretID string

type Client_GetAIAPIKey_Call added in v1.2.0

type Client_GetAIAPIKey_Call struct {
	*mock.Call
}

Client_GetAIAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAIAPIKey'

func (*Client_GetAIAPIKey_Call) Return added in v1.2.0

func (*Client_GetAIAPIKey_Call) Run added in v1.2.0

func (_c *Client_GetAIAPIKey_Call) Run(run func(ctx context.Context, deploymentID string, name string)) *Client_GetAIAPIKey_Call

func (*Client_GetAIAPIKey_Call) RunAndReturn added in v1.2.0

type Client_GetAIDeployment_Call added in v1.2.0

type Client_GetAIDeployment_Call struct {
	*mock.Call
}

Client_GetAIDeployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAIDeployment'

func (*Client_GetAIDeployment_Call) Return added in v1.2.0

func (*Client_GetAIDeployment_Call) Run added in v1.2.0

func (*Client_GetAIDeployment_Call) RunAndReturn added in v1.2.0

type Client_GetClusterMembers_Call added in v1.2.0

type Client_GetClusterMembers_Call struct {
	*mock.Call
}

Client_GetClusterMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterMembers'

func (*Client_GetClusterMembers_Call) Return added in v1.2.0

func (*Client_GetClusterMembers_Call) Run added in v1.2.0

func (*Client_GetClusterMembers_Call) RunAndReturn added in v1.2.0

type Client_GetClusterStatus_Call added in v1.2.0

type Client_GetClusterStatus_Call struct {
	*mock.Call
}

Client_GetClusterStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterStatus'

func (*Client_GetClusterStatus_Call) Return added in v1.2.0

func (*Client_GetClusterStatus_Call) Run added in v1.2.0

func (*Client_GetClusterStatus_Call) RunAndReturn added in v1.2.0

type Client_GetCluster_Call added in v1.2.0

type Client_GetCluster_Call struct {
	*mock.Call
}

Client_GetCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCluster'

func (*Client_GetCluster_Call) Return added in v1.2.0

func (*Client_GetCluster_Call) Run added in v1.2.0

func (_c *Client_GetCluster_Call) Run(run func(ctx context.Context, name string)) *Client_GetCluster_Call

func (*Client_GetCluster_Call) RunAndReturn added in v1.2.0

type Client_GetMe_Call added in v1.2.0

type Client_GetMe_Call struct {
	*mock.Call
}

Client_GetMe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMe'

func (*Client_GetMe_Call) Return added in v1.2.0

func (_c *Client_GetMe_Call) Return(_a0 client.Me, _a1 error) *Client_GetMe_Call

func (*Client_GetMe_Call) Run added in v1.2.0

func (_c *Client_GetMe_Call) Run(run func(ctx context.Context)) *Client_GetMe_Call

func (*Client_GetMe_Call) RunAndReturn added in v1.2.0

func (_c *Client_GetMe_Call) RunAndReturn(run func(context.Context) (client.Me, error)) *Client_GetMe_Call

type Client_GetPullSecret_Call added in v1.4.0

type Client_GetPullSecret_Call struct {
	*mock.Call
}

Client_GetPullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPullSecret'

func (*Client_GetPullSecret_Call) Return added in v1.4.0

func (*Client_GetPullSecret_Call) Run added in v1.4.0

func (*Client_GetPullSecret_Call) RunAndReturn added in v1.4.0

type Client_GetTeamMembers_Call added in v1.2.0

type Client_GetTeamMembers_Call struct {
	*mock.Call
}

Client_GetTeamMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamMembers'

func (*Client_GetTeamMembers_Call) Return added in v1.2.0

func (*Client_GetTeamMembers_Call) Run added in v1.2.0

func (*Client_GetTeamMembers_Call) RunAndReturn added in v1.2.0

type Client_GetTeam_Call added in v1.2.0

type Client_GetTeam_Call struct {
	*mock.Call
}

Client_GetTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeam'

func (*Client_GetTeam_Call) Return added in v1.2.0

func (_c *Client_GetTeam_Call) Return(_a0 *client.Team, _a1 error) *Client_GetTeam_Call

func (*Client_GetTeam_Call) Run added in v1.2.0

func (_c *Client_GetTeam_Call) Run(run func(ctx context.Context, name string)) *Client_GetTeam_Call

func (*Client_GetTeam_Call) RunAndReturn added in v1.2.0

func (_c *Client_GetTeam_Call) RunAndReturn(run func(context.Context, string) (*client.Team, error)) *Client_GetTeam_Call

type Client_GetUser_Call added in v1.2.0

type Client_GetUser_Call struct {
	*mock.Call
}

Client_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'

func (*Client_GetUser_Call) Return added in v1.2.0

func (_c *Client_GetUser_Call) Return(_a0 *client.User, _a1 error) *Client_GetUser_Call

func (*Client_GetUser_Call) Run added in v1.2.0

func (_c *Client_GetUser_Call) Run(run func(ctx context.Context, upn string)) *Client_GetUser_Call

func (*Client_GetUser_Call) RunAndReturn added in v1.2.0

func (_c *Client_GetUser_Call) RunAndReturn(run func(context.Context, string) (*client.User, error)) *Client_GetUser_Call

type Client_ListAIAPIKeys_Call added in v1.2.0

type Client_ListAIAPIKeys_Call struct {
	*mock.Call
}

Client_ListAIAPIKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAIAPIKeys'

func (*Client_ListAIAPIKeys_Call) Return added in v1.2.0

func (*Client_ListAIAPIKeys_Call) Run added in v1.2.0

func (_c *Client_ListAIAPIKeys_Call) Run(run func(ctx context.Context, deploymentID string)) *Client_ListAIAPIKeys_Call

func (*Client_ListAIAPIKeys_Call) RunAndReturn added in v1.2.0

type Client_ListAIDeployments_Call added in v1.2.0

type Client_ListAIDeployments_Call struct {
	*mock.Call
}

Client_ListAIDeployments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAIDeployments'

func (*Client_ListAIDeployments_Call) Return added in v1.2.0

func (*Client_ListAIDeployments_Call) Run added in v1.2.0

func (*Client_ListAIDeployments_Call) RunAndReturn added in v1.2.0

type Client_ListAIModels_Call added in v1.2.0

type Client_ListAIModels_Call struct {
	*mock.Call
}

Client_ListAIModels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAIModels'

func (*Client_ListAIModels_Call) Return added in v1.2.0

func (*Client_ListAIModels_Call) Run added in v1.2.0

func (*Client_ListAIModels_Call) RunAndReturn added in v1.2.0

type Client_ListClusters_Call added in v1.2.0

type Client_ListClusters_Call struct {
	*mock.Call
}

Client_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'

func (*Client_ListClusters_Call) Return added in v1.2.0

func (*Client_ListClusters_Call) Run added in v1.2.0

func (*Client_ListClusters_Call) RunAndReturn added in v1.2.0

type Client_ListIntegrationInstances_Call added in v1.2.0

type Client_ListIntegrationInstances_Call struct {
	*mock.Call
}

Client_ListIntegrationInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIntegrationInstances'

func (*Client_ListIntegrationInstances_Call) Return added in v1.2.0

func (*Client_ListIntegrationInstances_Call) Run added in v1.2.0

func (*Client_ListIntegrationInstances_Call) RunAndReturn added in v1.2.0

type Client_ListPullSecrets_Call added in v1.4.0

type Client_ListPullSecrets_Call struct {
	*mock.Call
}

Client_ListPullSecrets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPullSecrets'

func (*Client_ListPullSecrets_Call) Return added in v1.4.0

func (*Client_ListPullSecrets_Call) Run added in v1.4.0

func (*Client_ListPullSecrets_Call) RunAndReturn added in v1.4.0

type Client_ListTeams_Call added in v1.2.0

type Client_ListTeams_Call struct {
	*mock.Call
}

Client_ListTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTeams'

func (*Client_ListTeams_Call) Return added in v1.2.0

func (*Client_ListTeams_Call) Run added in v1.2.0

func (*Client_ListTeams_Call) RunAndReturn added in v1.2.0

func (_c *Client_ListTeams_Call) RunAndReturn(run func(context.Context) ([]client.Team, error)) *Client_ListTeams_Call

type Client_ListUsers_Call added in v1.2.0

type Client_ListUsers_Call struct {
	*mock.Call
}

Client_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'

func (*Client_ListUsers_Call) Return added in v1.2.0

func (*Client_ListUsers_Call) Run added in v1.2.0

func (*Client_ListUsers_Call) RunAndReturn added in v1.2.0

func (_c *Client_ListUsers_Call) RunAndReturn(run func(context.Context) ([]client.User, error)) *Client_ListUsers_Call

type Client_RemoveClusterMember_Call added in v1.2.0

type Client_RemoveClusterMember_Call struct {
	*mock.Call
}

Client_RemoveClusterMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveClusterMember'

func (*Client_RemoveClusterMember_Call) Return added in v1.2.0

func (*Client_RemoveClusterMember_Call) Run added in v1.2.0

func (_c *Client_RemoveClusterMember_Call) Run(run func(ctx context.Context, clusterID string, memberID string)) *Client_RemoveClusterMember_Call

func (*Client_RemoveClusterMember_Call) RunAndReturn added in v1.2.0

type Client_RemoveTeamMember_Call added in v1.2.0

type Client_RemoveTeamMember_Call struct {
	*mock.Call
}

Client_RemoveTeamMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTeamMember'

func (*Client_RemoveTeamMember_Call) Return added in v1.2.0

func (*Client_RemoveTeamMember_Call) Run added in v1.2.0

func (_c *Client_RemoveTeamMember_Call) Run(run func(ctx context.Context, teamID string, memberID string)) *Client_RemoveTeamMember_Call

func (*Client_RemoveTeamMember_Call) RunAndReturn added in v1.2.0

type Client_SetClusterPullSecret_Call added in v1.4.0

type Client_SetClusterPullSecret_Call struct {
	*mock.Call
}

Client_SetClusterPullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetClusterPullSecret'

func (*Client_SetClusterPullSecret_Call) Return added in v1.4.0

func (*Client_SetClusterPullSecret_Call) Run added in v1.4.0

func (_c *Client_SetClusterPullSecret_Call) Run(run func(ctx context.Context, clusterID string, pullSecretID string)) *Client_SetClusterPullSecret_Call

func (*Client_SetClusterPullSecret_Call) RunAndReturn added in v1.4.0

type ClusterClient added in v1.2.0

type ClusterClient struct {
	mock.Mock
}

ClusterClient is an autogenerated mock type for the ClusterClient type

func NewClusterClient added in v1.2.0

func NewClusterClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterClient

NewClusterClient creates a new instance of ClusterClient. 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 (*ClusterClient) AddClusterMember added in v1.2.0

func (_m *ClusterClient) AddClusterMember(ctx context.Context, clusterID string, request []client.AddClusterMemberRequest) error

AddClusterMember provides a mock function with given fields: ctx, clusterID, request

func (*ClusterClient) CreateCluster added in v1.2.0

func (_m *ClusterClient) CreateCluster(ctx context.Context, request client.NewClusterRequest) (*client.Cluster, error)

CreateCluster provides a mock function with given fields: ctx, request

func (*ClusterClient) DeleteCluster added in v1.2.0

func (_m *ClusterClient) DeleteCluster(ctx context.Context, name string) error

DeleteCluster provides a mock function with given fields: ctx, name

func (*ClusterClient) EXPECT added in v1.2.0

func (_m *ClusterClient) EXPECT() *ClusterClient_Expecter

func (*ClusterClient) GetCluster added in v1.2.0

func (_m *ClusterClient) GetCluster(ctx context.Context, name string) (*client.Cluster, error)

GetCluster provides a mock function with given fields: ctx, name

func (*ClusterClient) GetClusterMembers added in v1.2.0

func (_m *ClusterClient) GetClusterMembers(ctx context.Context, clusterID string) ([]client.ClusterMember, error)

GetClusterMembers provides a mock function with given fields: ctx, clusterID

func (*ClusterClient) GetClusterStatus added in v1.2.0

func (_m *ClusterClient) GetClusterStatus(ctx context.Context, clusterID string) (*client.Cluster, error)

GetClusterStatus provides a mock function with given fields: ctx, clusterID

func (*ClusterClient) ListClusters added in v1.2.0

func (_m *ClusterClient) ListClusters(ctx context.Context) (client.ClusterList, error)

ListClusters provides a mock function with given fields: ctx

func (*ClusterClient) RemoveClusterMember added in v1.2.0

func (_m *ClusterClient) RemoveClusterMember(ctx context.Context, clusterID string, memberID string) error

RemoveClusterMember provides a mock function with given fields: ctx, clusterID, memberID

type ClusterClient_AddClusterMember_Call added in v1.2.0

type ClusterClient_AddClusterMember_Call struct {
	*mock.Call
}

ClusterClient_AddClusterMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddClusterMember'

func (*ClusterClient_AddClusterMember_Call) Return added in v1.2.0

func (*ClusterClient_AddClusterMember_Call) Run added in v1.2.0

func (*ClusterClient_AddClusterMember_Call) RunAndReturn added in v1.2.0

type ClusterClient_CreateCluster_Call added in v1.2.0

type ClusterClient_CreateCluster_Call struct {
	*mock.Call
}

ClusterClient_CreateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCluster'

func (*ClusterClient_CreateCluster_Call) Return added in v1.2.0

func (*ClusterClient_CreateCluster_Call) Run added in v1.2.0

func (*ClusterClient_CreateCluster_Call) RunAndReturn added in v1.2.0

type ClusterClient_DeleteCluster_Call added in v1.2.0

type ClusterClient_DeleteCluster_Call struct {
	*mock.Call
}

ClusterClient_DeleteCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCluster'

func (*ClusterClient_DeleteCluster_Call) Return added in v1.2.0

func (*ClusterClient_DeleteCluster_Call) Run added in v1.2.0

func (*ClusterClient_DeleteCluster_Call) RunAndReturn added in v1.2.0

type ClusterClient_Expecter added in v1.2.0

type ClusterClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*ClusterClient_Expecter) AddClusterMember added in v1.2.0

func (_e *ClusterClient_Expecter) AddClusterMember(ctx interface{}, clusterID interface{}, request interface{}) *ClusterClient_AddClusterMember_Call

AddClusterMember is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string
  • request []client.AddClusterMemberRequest

func (*ClusterClient_Expecter) CreateCluster added in v1.2.0

func (_e *ClusterClient_Expecter) CreateCluster(ctx interface{}, request interface{}) *ClusterClient_CreateCluster_Call

CreateCluster is a helper method to define mock.On call

  • ctx context.Context
  • request client.NewClusterRequest

func (*ClusterClient_Expecter) DeleteCluster added in v1.2.0

func (_e *ClusterClient_Expecter) DeleteCluster(ctx interface{}, name interface{}) *ClusterClient_DeleteCluster_Call

DeleteCluster is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*ClusterClient_Expecter) GetCluster added in v1.2.0

func (_e *ClusterClient_Expecter) GetCluster(ctx interface{}, name interface{}) *ClusterClient_GetCluster_Call

GetCluster is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*ClusterClient_Expecter) GetClusterMembers added in v1.2.0

func (_e *ClusterClient_Expecter) GetClusterMembers(ctx interface{}, clusterID interface{}) *ClusterClient_GetClusterMembers_Call

GetClusterMembers is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string

func (*ClusterClient_Expecter) GetClusterStatus added in v1.2.0

func (_e *ClusterClient_Expecter) GetClusterStatus(ctx interface{}, clusterID interface{}) *ClusterClient_GetClusterStatus_Call

GetClusterStatus is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string

func (*ClusterClient_Expecter) ListClusters added in v1.2.0

func (_e *ClusterClient_Expecter) ListClusters(ctx interface{}) *ClusterClient_ListClusters_Call

ListClusters is a helper method to define mock.On call

  • ctx context.Context

func (*ClusterClient_Expecter) RemoveClusterMember added in v1.2.0

func (_e *ClusterClient_Expecter) RemoveClusterMember(ctx interface{}, clusterID interface{}, memberID interface{}) *ClusterClient_RemoveClusterMember_Call

RemoveClusterMember is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string
  • memberID string

type ClusterClient_GetClusterMembers_Call added in v1.2.0

type ClusterClient_GetClusterMembers_Call struct {
	*mock.Call
}

ClusterClient_GetClusterMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterMembers'

func (*ClusterClient_GetClusterMembers_Call) Return added in v1.2.0

func (*ClusterClient_GetClusterMembers_Call) Run added in v1.2.0

func (*ClusterClient_GetClusterMembers_Call) RunAndReturn added in v1.2.0

type ClusterClient_GetClusterStatus_Call added in v1.2.0

type ClusterClient_GetClusterStatus_Call struct {
	*mock.Call
}

ClusterClient_GetClusterStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterStatus'

func (*ClusterClient_GetClusterStatus_Call) Return added in v1.2.0

func (*ClusterClient_GetClusterStatus_Call) Run added in v1.2.0

func (*ClusterClient_GetClusterStatus_Call) RunAndReturn added in v1.2.0

type ClusterClient_GetCluster_Call added in v1.2.0

type ClusterClient_GetCluster_Call struct {
	*mock.Call
}

ClusterClient_GetCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCluster'

func (*ClusterClient_GetCluster_Call) Return added in v1.2.0

func (*ClusterClient_GetCluster_Call) Run added in v1.2.0

func (*ClusterClient_GetCluster_Call) RunAndReturn added in v1.2.0

type ClusterClient_ListClusters_Call added in v1.2.0

type ClusterClient_ListClusters_Call struct {
	*mock.Call
}

ClusterClient_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'

func (*ClusterClient_ListClusters_Call) Return added in v1.2.0

func (*ClusterClient_ListClusters_Call) Run added in v1.2.0

func (*ClusterClient_ListClusters_Call) RunAndReturn added in v1.2.0

type ClusterClient_RemoveClusterMember_Call added in v1.2.0

type ClusterClient_RemoveClusterMember_Call struct {
	*mock.Call
}

ClusterClient_RemoveClusterMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveClusterMember'

func (*ClusterClient_RemoveClusterMember_Call) Return added in v1.2.0

func (*ClusterClient_RemoveClusterMember_Call) Run added in v1.2.0

func (*ClusterClient_RemoveClusterMember_Call) RunAndReturn added in v1.2.0

type CredentialStore

type CredentialStore struct {
	mock.Mock
}

CredentialStore is an autogenerated mock type for the CredentialStore type

func NewCredentialStore

func NewCredentialStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *CredentialStore

NewCredentialStore creates a new instance of CredentialStore. 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 (*CredentialStore) Clear

func (_m *CredentialStore) Clear() error

Clear provides a mock function with no fields

func (*CredentialStore) EXPECT

func (*CredentialStore) Get

func (_m *CredentialStore) Get(partitionKey string) ([]byte, error)

Get provides a mock function with given fields: partitionKey

func (*CredentialStore) Set

func (_m *CredentialStore) Set(data []byte, partitionKey string) error

Set provides a mock function with given fields: data, partitionKey

type CredentialStore_Clear_Call

type CredentialStore_Clear_Call struct {
	*mock.Call
}

CredentialStore_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'

func (*CredentialStore_Clear_Call) Return

func (*CredentialStore_Clear_Call) Run

func (*CredentialStore_Clear_Call) RunAndReturn

func (_c *CredentialStore_Clear_Call) RunAndReturn(run func() error) *CredentialStore_Clear_Call

type CredentialStore_Expecter

type CredentialStore_Expecter struct {
	// contains filtered or unexported fields
}

func (*CredentialStore_Expecter) Clear

Clear is a helper method to define mock.On call

func (*CredentialStore_Expecter) Get

func (_e *CredentialStore_Expecter) Get(partitionKey interface{}) *CredentialStore_Get_Call

Get is a helper method to define mock.On call

  • partitionKey string

func (*CredentialStore_Expecter) Set

func (_e *CredentialStore_Expecter) Set(data interface{}, partitionKey interface{}) *CredentialStore_Set_Call

Set is a helper method to define mock.On call

  • data []byte
  • partitionKey string

type CredentialStore_Get_Call

type CredentialStore_Get_Call struct {
	*mock.Call
}

CredentialStore_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*CredentialStore_Get_Call) Return

func (*CredentialStore_Get_Call) Run

func (_c *CredentialStore_Get_Call) Run(run func(partitionKey string)) *CredentialStore_Get_Call

func (*CredentialStore_Get_Call) RunAndReturn

func (_c *CredentialStore_Get_Call) RunAndReturn(run func(string) ([]byte, error)) *CredentialStore_Get_Call

type CredentialStore_Set_Call

type CredentialStore_Set_Call struct {
	*mock.Call
}

CredentialStore_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'

func (*CredentialStore_Set_Call) Return

func (*CredentialStore_Set_Call) Run

func (_c *CredentialStore_Set_Call) Run(run func(data []byte, partitionKey string)) *CredentialStore_Set_Call

func (*CredentialStore_Set_Call) RunAndReturn

func (_c *CredentialStore_Set_Call) RunAndReturn(run func([]byte, string) error) *CredentialStore_Set_Call

type ExportReplace

type ExportReplace struct {
	mock.Mock
}

ExportReplace is an autogenerated mock type for the ExportReplace type

func NewExportReplace

func NewExportReplace(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExportReplace

NewExportReplace creates a new instance of ExportReplace. 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 (*ExportReplace) EXPECT

func (_m *ExportReplace) EXPECT() *ExportReplace_Expecter

func (*ExportReplace) Export

func (_m *ExportReplace) Export(ctx context.Context, _a1 cache.Marshaler, hints cache.ExportHints) error

Export provides a mock function with given fields: ctx, _a1, hints

func (*ExportReplace) Replace

func (_m *ExportReplace) Replace(ctx context.Context, _a1 cache.Unmarshaler, hints cache.ReplaceHints) error

Replace provides a mock function with given fields: ctx, _a1, hints

type ExportReplace_Expecter

type ExportReplace_Expecter struct {
	// contains filtered or unexported fields
}

func (*ExportReplace_Expecter) Export

func (_e *ExportReplace_Expecter) Export(ctx interface{}, _a1 interface{}, hints interface{}) *ExportReplace_Export_Call

Export is a helper method to define mock.On call

  • ctx context.Context
  • _a1 cache.Marshaler
  • hints cache.ExportHints

func (*ExportReplace_Expecter) Replace

func (_e *ExportReplace_Expecter) Replace(ctx interface{}, _a1 interface{}, hints interface{}) *ExportReplace_Replace_Call

Replace is a helper method to define mock.On call

  • ctx context.Context
  • _a1 cache.Unmarshaler
  • hints cache.ReplaceHints

type ExportReplace_Export_Call

type ExportReplace_Export_Call struct {
	*mock.Call
}

ExportReplace_Export_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Export'

func (*ExportReplace_Export_Call) Return

func (*ExportReplace_Export_Call) Run

func (*ExportReplace_Export_Call) RunAndReturn

type ExportReplace_Replace_Call

type ExportReplace_Replace_Call struct {
	*mock.Call
}

ExportReplace_Replace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Replace'

func (*ExportReplace_Replace_Call) Return

func (*ExportReplace_Replace_Call) Run

func (*ExportReplace_Replace_Call) RunAndReturn

type FileSystemOption

type FileSystemOption struct {
	mock.Mock
}

FileSystemOption is an autogenerated mock type for the FileSystemOption type

func NewFileSystemOption

func NewFileSystemOption(t interface {
	mock.TestingT
	Cleanup(func())
}) *FileSystemOption

NewFileSystemOption creates a new instance of FileSystemOption. 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 (*FileSystemOption) EXPECT

func (*FileSystemOption) Execute

Execute provides a mock function with given fields: _a0

type FileSystemOption_Execute_Call

type FileSystemOption_Execute_Call struct {
	*mock.Call
}

FileSystemOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*FileSystemOption_Execute_Call) Return

func (*FileSystemOption_Execute_Call) Run

func (*FileSystemOption_Execute_Call) RunAndReturn

type FileSystemOption_Expecter

type FileSystemOption_Expecter struct {
	// contains filtered or unexported fields
}

func (*FileSystemOption_Expecter) Execute

func (_e *FileSystemOption_Expecter) Execute(_a0 interface{}) *FileSystemOption_Execute_Call

Execute is a helper method to define mock.On call

  • _a0 *credentialstore.FilesystemCredentialStore

type IntegrationClient added in v1.2.0

type IntegrationClient struct {
	mock.Mock
}

IntegrationClient is an autogenerated mock type for the IntegrationClient type

func NewIntegrationClient added in v1.2.0

func NewIntegrationClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IntegrationClient

NewIntegrationClient creates a new instance of IntegrationClient. 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 (*IntegrationClient) EXPECT added in v1.2.0

func (*IntegrationClient) ListIntegrationInstances added in v1.2.0

func (_m *IntegrationClient) ListIntegrationInstances(ctx context.Context) ([]client.IntegrationInstance, error)

ListIntegrationInstances provides a mock function with given fields: ctx

type IntegrationClient_Expecter added in v1.2.0

type IntegrationClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*IntegrationClient_Expecter) ListIntegrationInstances added in v1.2.0

func (_e *IntegrationClient_Expecter) ListIntegrationInstances(ctx interface{}) *IntegrationClient_ListIntegrationInstances_Call

ListIntegrationInstances is a helper method to define mock.On call

  • ctx context.Context

type IntegrationClient_ListIntegrationInstances_Call added in v1.2.0

type IntegrationClient_ListIntegrationInstances_Call struct {
	*mock.Call
}

IntegrationClient_ListIntegrationInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIntegrationInstances'

func (*IntegrationClient_ListIntegrationInstances_Call) Return added in v1.2.0

func (*IntegrationClient_ListIntegrationInstances_Call) Run added in v1.2.0

func (*IntegrationClient_ListIntegrationInstances_Call) RunAndReturn added in v1.2.0

type Marshaler

type Marshaler struct {
	mock.Mock
}

Marshaler is an autogenerated mock type for the Marshaler type

func NewMarshaler

func NewMarshaler(t interface {
	mock.TestingT
	Cleanup(func())
}) *Marshaler

NewMarshaler creates a new instance of Marshaler. 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 (*Marshaler) EXPECT

func (_m *Marshaler) EXPECT() *Marshaler_Expecter

func (*Marshaler) Marshal

func (_m *Marshaler) Marshal() ([]byte, error)

Marshal provides a mock function with no fields

type Marshaler_Expecter

type Marshaler_Expecter struct {
	// contains filtered or unexported fields
}

func (*Marshaler_Expecter) Marshal

Marshal is a helper method to define mock.On call

type Marshaler_Marshal_Call

type Marshaler_Marshal_Call struct {
	*mock.Call
}

Marshaler_Marshal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Marshal'

func (*Marshaler_Marshal_Call) Return

func (_c *Marshaler_Marshal_Call) Return(_a0 []byte, _a1 error) *Marshaler_Marshal_Call

func (*Marshaler_Marshal_Call) Run

func (_c *Marshaler_Marshal_Call) Run(run func()) *Marshaler_Marshal_Call

func (*Marshaler_Marshal_Call) RunAndReturn

func (_c *Marshaler_Marshal_Call) RunAndReturn(run func() ([]byte, error)) *Marshaler_Marshal_Call

type MeClient added in v1.2.0

type MeClient struct {
	mock.Mock
}

MeClient is an autogenerated mock type for the MeClient type

func NewMeClient added in v1.2.0

func NewMeClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MeClient

NewMeClient creates a new instance of MeClient. 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 (*MeClient) EXPECT added in v1.2.0

func (_m *MeClient) EXPECT() *MeClient_Expecter

func (*MeClient) GetMe added in v1.2.0

func (_m *MeClient) GetMe(ctx context.Context) (client.Me, error)

GetMe provides a mock function with given fields: ctx

type MeClient_Expecter added in v1.2.0

type MeClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*MeClient_Expecter) GetMe added in v1.2.0

func (_e *MeClient_Expecter) GetMe(ctx interface{}) *MeClient_GetMe_Call

GetMe is a helper method to define mock.On call

  • ctx context.Context

type MeClient_GetMe_Call added in v1.2.0

type MeClient_GetMe_Call struct {
	*mock.Call
}

MeClient_GetMe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMe'

func (*MeClient_GetMe_Call) Return added in v1.2.0

func (_c *MeClient_GetMe_Call) Return(_a0 client.Me, _a1 error) *MeClient_GetMe_Call

func (*MeClient_GetMe_Call) Run added in v1.2.0

func (_c *MeClient_GetMe_Call) Run(run func(ctx context.Context)) *MeClient_GetMe_Call

func (*MeClient_GetMe_Call) RunAndReturn added in v1.2.0

func (_c *MeClient_GetMe_Call) RunAndReturn(run func(context.Context) (client.Me, error)) *MeClient_GetMe_Call

type MemberClient added in v1.2.0

type MemberClient struct {
	mock.Mock
}

MemberClient is an autogenerated mock type for the MemberClient type

func NewMemberClient added in v1.2.0

func NewMemberClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MemberClient

NewMemberClient creates a new instance of MemberClient. 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 (*MemberClient) AddTeamMember added in v1.2.0

func (_m *MemberClient) AddTeamMember(ctx context.Context, teamID string, request []client.AddTeamMemberRequest) error

AddTeamMember provides a mock function with given fields: ctx, teamID, request

func (*MemberClient) EXPECT added in v1.2.0

func (_m *MemberClient) EXPECT() *MemberClient_Expecter

func (*MemberClient) RemoveTeamMember added in v1.2.0

func (_m *MemberClient) RemoveTeamMember(ctx context.Context, teamID string, memberID string) error

RemoveTeamMember provides a mock function with given fields: ctx, teamID, memberID

type MemberClient_AddTeamMember_Call added in v1.2.0

type MemberClient_AddTeamMember_Call struct {
	*mock.Call
}

MemberClient_AddTeamMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTeamMember'

func (*MemberClient_AddTeamMember_Call) Return added in v1.2.0

func (*MemberClient_AddTeamMember_Call) Run added in v1.2.0

func (*MemberClient_AddTeamMember_Call) RunAndReturn added in v1.2.0

type MemberClient_Expecter added in v1.2.0

type MemberClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*MemberClient_Expecter) AddTeamMember added in v1.2.0

func (_e *MemberClient_Expecter) AddTeamMember(ctx interface{}, teamID interface{}, request interface{}) *MemberClient_AddTeamMember_Call

AddTeamMember is a helper method to define mock.On call

  • ctx context.Context
  • teamID string
  • request []client.AddTeamMemberRequest

func (*MemberClient_Expecter) RemoveTeamMember added in v1.2.0

func (_e *MemberClient_Expecter) RemoveTeamMember(ctx interface{}, teamID interface{}, memberID interface{}) *MemberClient_RemoveTeamMember_Call

RemoveTeamMember is a helper method to define mock.On call

  • ctx context.Context
  • teamID string
  • memberID string

type MemberClient_RemoveTeamMember_Call added in v1.2.0

type MemberClient_RemoveTeamMember_Call struct {
	*mock.Call
}

MemberClient_RemoveTeamMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTeamMember'

func (*MemberClient_RemoveTeamMember_Call) Return added in v1.2.0

func (*MemberClient_RemoveTeamMember_Call) Run added in v1.2.0

func (*MemberClient_RemoveTeamMember_Call) RunAndReturn added in v1.2.0

type Option

type Option struct {
	mock.Mock
}

Option is an autogenerated mock type for the Option type

func NewOption

func NewOption(t interface {
	mock.TestingT
	Cleanup(func())
}) *Option

NewOption creates a new instance of Option. 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 (*Option) EXPECT

func (_m *Option) EXPECT() *Option_Expecter

func (*Option) Execute

func (_m *Option) Execute(_a0 *tokencache.TokenCache)

Execute provides a mock function with given fields: _a0

type Option_Execute_Call

type Option_Execute_Call struct {
	*mock.Call
}

Option_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*Option_Execute_Call) Return

func (*Option_Execute_Call) Run

func (*Option_Execute_Call) RunAndReturn

func (_c *Option_Execute_Call) RunAndReturn(run func(*tokencache.TokenCache)) *Option_Execute_Call

type Option_Expecter

type Option_Expecter struct {
	// contains filtered or unexported fields
}

func (*Option_Expecter) Execute

func (_e *Option_Expecter) Execute(_a0 interface{}) *Option_Execute_Call

Execute is a helper method to define mock.On call

  • _a0 *tokencache.TokenCache

type PullSecretClient added in v1.4.0

type PullSecretClient struct {
	mock.Mock
}

PullSecretClient is an autogenerated mock type for the PullSecretClient type

func NewPullSecretClient added in v1.4.0

func NewPullSecretClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *PullSecretClient

NewPullSecretClient creates a new instance of PullSecretClient. 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 (*PullSecretClient) CreatePullSecret added in v1.4.0

func (_m *PullSecretClient) CreatePullSecret(ctx context.Context, request client.NewPullSecretRequest) (*client.PullSecret, error)

CreatePullSecret provides a mock function with given fields: ctx, request

func (*PullSecretClient) DeletePullSecret added in v1.4.0

func (_m *PullSecretClient) DeletePullSecret(ctx context.Context, id string) error

DeletePullSecret provides a mock function with given fields: ctx, id

func (*PullSecretClient) EXPECT added in v1.4.0

func (*PullSecretClient) EditPullSecret added in v1.4.0

func (_m *PullSecretClient) EditPullSecret(ctx context.Context, id string, request client.EditPullSecretRequest) (*client.PullSecret, error)

EditPullSecret provides a mock function with given fields: ctx, id, request

func (*PullSecretClient) GetPullSecret added in v1.4.0

func (_m *PullSecretClient) GetPullSecret(ctx context.Context, id string) (*client.PullSecret, error)

GetPullSecret provides a mock function with given fields: ctx, id

func (*PullSecretClient) ListPullSecrets added in v1.4.0

func (_m *PullSecretClient) ListPullSecrets(ctx context.Context) ([]client.PullSecret, error)

ListPullSecrets provides a mock function with given fields: ctx

func (*PullSecretClient) SetClusterPullSecret added in v1.4.0

func (_m *PullSecretClient) SetClusterPullSecret(ctx context.Context, clusterID string, pullSecretID string) error

SetClusterPullSecret provides a mock function with given fields: ctx, clusterID, pullSecretID

type PullSecretClient_CreatePullSecret_Call added in v1.4.0

type PullSecretClient_CreatePullSecret_Call struct {
	*mock.Call
}

PullSecretClient_CreatePullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePullSecret'

func (*PullSecretClient_CreatePullSecret_Call) Return added in v1.4.0

func (*PullSecretClient_CreatePullSecret_Call) Run added in v1.4.0

func (*PullSecretClient_CreatePullSecret_Call) RunAndReturn added in v1.4.0

type PullSecretClient_DeletePullSecret_Call added in v1.4.0

type PullSecretClient_DeletePullSecret_Call struct {
	*mock.Call
}

PullSecretClient_DeletePullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePullSecret'

func (*PullSecretClient_DeletePullSecret_Call) Return added in v1.4.0

func (*PullSecretClient_DeletePullSecret_Call) Run added in v1.4.0

func (*PullSecretClient_DeletePullSecret_Call) RunAndReturn added in v1.4.0

type PullSecretClient_EditPullSecret_Call added in v1.4.0

type PullSecretClient_EditPullSecret_Call struct {
	*mock.Call
}

PullSecretClient_EditPullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EditPullSecret'

func (*PullSecretClient_EditPullSecret_Call) Return added in v1.4.0

func (*PullSecretClient_EditPullSecret_Call) Run added in v1.4.0

func (*PullSecretClient_EditPullSecret_Call) RunAndReturn added in v1.4.0

type PullSecretClient_Expecter added in v1.4.0

type PullSecretClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*PullSecretClient_Expecter) CreatePullSecret added in v1.4.0

func (_e *PullSecretClient_Expecter) CreatePullSecret(ctx interface{}, request interface{}) *PullSecretClient_CreatePullSecret_Call

CreatePullSecret is a helper method to define mock.On call

  • ctx context.Context
  • request client.NewPullSecretRequest

func (*PullSecretClient_Expecter) DeletePullSecret added in v1.4.0

func (_e *PullSecretClient_Expecter) DeletePullSecret(ctx interface{}, id interface{}) *PullSecretClient_DeletePullSecret_Call

DeletePullSecret is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*PullSecretClient_Expecter) EditPullSecret added in v1.4.0

func (_e *PullSecretClient_Expecter) EditPullSecret(ctx interface{}, id interface{}, request interface{}) *PullSecretClient_EditPullSecret_Call

EditPullSecret is a helper method to define mock.On call

  • ctx context.Context
  • id string
  • request client.EditPullSecretRequest

func (*PullSecretClient_Expecter) GetPullSecret added in v1.4.0

func (_e *PullSecretClient_Expecter) GetPullSecret(ctx interface{}, id interface{}) *PullSecretClient_GetPullSecret_Call

GetPullSecret is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*PullSecretClient_Expecter) ListPullSecrets added in v1.4.0

func (_e *PullSecretClient_Expecter) ListPullSecrets(ctx interface{}) *PullSecretClient_ListPullSecrets_Call

ListPullSecrets is a helper method to define mock.On call

  • ctx context.Context

func (*PullSecretClient_Expecter) SetClusterPullSecret added in v1.4.0

func (_e *PullSecretClient_Expecter) SetClusterPullSecret(ctx interface{}, clusterID interface{}, pullSecretID interface{}) *PullSecretClient_SetClusterPullSecret_Call

SetClusterPullSecret is a helper method to define mock.On call

  • ctx context.Context
  • clusterID string
  • pullSecretID string

type PullSecretClient_GetPullSecret_Call added in v1.4.0

type PullSecretClient_GetPullSecret_Call struct {
	*mock.Call
}

PullSecretClient_GetPullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPullSecret'

func (*PullSecretClient_GetPullSecret_Call) Return added in v1.4.0

func (*PullSecretClient_GetPullSecret_Call) Run added in v1.4.0

func (*PullSecretClient_GetPullSecret_Call) RunAndReturn added in v1.4.0

type PullSecretClient_ListPullSecrets_Call added in v1.4.0

type PullSecretClient_ListPullSecrets_Call struct {
	*mock.Call
}

PullSecretClient_ListPullSecrets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPullSecrets'

func (*PullSecretClient_ListPullSecrets_Call) Return added in v1.4.0

func (*PullSecretClient_ListPullSecrets_Call) Run added in v1.4.0

func (*PullSecretClient_ListPullSecrets_Call) RunAndReturn added in v1.4.0

type PullSecretClient_SetClusterPullSecret_Call added in v1.4.0

type PullSecretClient_SetClusterPullSecret_Call struct {
	*mock.Call
}

PullSecretClient_SetClusterPullSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetClusterPullSecret'

func (*PullSecretClient_SetClusterPullSecret_Call) Return added in v1.4.0

func (*PullSecretClient_SetClusterPullSecret_Call) Run added in v1.4.0

func (*PullSecretClient_SetClusterPullSecret_Call) RunAndReturn added in v1.4.0

type RestClientOption added in v1.2.0

type RestClientOption struct {
	mock.Mock
}

RestClientOption is an autogenerated mock type for the RestClientOption type

func NewRestClientOption added in v1.2.0

func NewRestClientOption(t interface {
	mock.TestingT
	Cleanup(func())
}) *RestClientOption

NewRestClientOption creates a new instance of RestClientOption. 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 (*RestClientOption) EXPECT added in v1.2.0

func (*RestClientOption) Execute added in v1.2.0

func (_m *RestClientOption) Execute(_a0 *client.RestClient)

Execute provides a mock function with given fields: _a0

type RestClientOption_Execute_Call added in v1.2.0

type RestClientOption_Execute_Call struct {
	*mock.Call
}

RestClientOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*RestClientOption_Execute_Call) Return added in v1.2.0

func (*RestClientOption_Execute_Call) Run added in v1.2.0

func (*RestClientOption_Execute_Call) RunAndReturn added in v1.2.0

type RestClientOption_Expecter added in v1.2.0

type RestClientOption_Expecter struct {
	// contains filtered or unexported fields
}

func (*RestClientOption_Expecter) Execute added in v1.2.0

func (_e *RestClientOption_Expecter) Execute(_a0 interface{}) *RestClientOption_Execute_Call

Execute is a helper method to define mock.On call

  • _a0 *client.RestClient

type Serializer

type Serializer struct {
	mock.Mock
}

Serializer is an autogenerated mock type for the Serializer type

func NewSerializer

func NewSerializer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Serializer

NewSerializer creates a new instance of Serializer. 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 (*Serializer) EXPECT

func (_m *Serializer) EXPECT() *Serializer_Expecter

func (*Serializer) Marshal

func (_m *Serializer) Marshal() ([]byte, error)

Marshal provides a mock function with no fields

func (*Serializer) Unmarshal

func (_m *Serializer) Unmarshal(_a0 []byte) error

Unmarshal provides a mock function with given fields: _a0

type Serializer_Expecter

type Serializer_Expecter struct {
	// contains filtered or unexported fields
}

func (*Serializer_Expecter) Marshal

Marshal is a helper method to define mock.On call

func (*Serializer_Expecter) Unmarshal

func (_e *Serializer_Expecter) Unmarshal(_a0 interface{}) *Serializer_Unmarshal_Call

Unmarshal is a helper method to define mock.On call

  • _a0 []byte

type Serializer_Marshal_Call

type Serializer_Marshal_Call struct {
	*mock.Call
}

Serializer_Marshal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Marshal'

func (*Serializer_Marshal_Call) Return

func (*Serializer_Marshal_Call) Run

func (_c *Serializer_Marshal_Call) Run(run func()) *Serializer_Marshal_Call

func (*Serializer_Marshal_Call) RunAndReturn

func (_c *Serializer_Marshal_Call) RunAndReturn(run func() ([]byte, error)) *Serializer_Marshal_Call

type Serializer_Unmarshal_Call

type Serializer_Unmarshal_Call struct {
	*mock.Call
}

Serializer_Unmarshal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unmarshal'

func (*Serializer_Unmarshal_Call) Return

func (*Serializer_Unmarshal_Call) Run

func (_c *Serializer_Unmarshal_Call) Run(run func(_a0 []byte)) *Serializer_Unmarshal_Call

func (*Serializer_Unmarshal_Call) RunAndReturn

func (_c *Serializer_Unmarshal_Call) RunAndReturn(run func([]byte) error) *Serializer_Unmarshal_Call

type TeamsClient added in v1.2.0

type TeamsClient struct {
	mock.Mock
}

TeamsClient is an autogenerated mock type for the TeamsClient type

func NewTeamsClient added in v1.2.0

func NewTeamsClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *TeamsClient

NewTeamsClient creates a new instance of TeamsClient. 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 (*TeamsClient) CreateTeam added in v1.2.0

func (_m *TeamsClient) CreateTeam(ctx context.Context, request client.NewTeamRequest) (*client.Team, error)

CreateTeam provides a mock function with given fields: ctx, request

func (*TeamsClient) DeleteTeam added in v1.2.0

func (_m *TeamsClient) DeleteTeam(ctx context.Context, request client.DeleteTeamRequest) error

DeleteTeam provides a mock function with given fields: ctx, request

func (*TeamsClient) EXPECT added in v1.2.0

func (_m *TeamsClient) EXPECT() *TeamsClient_Expecter

func (*TeamsClient) GetTeam added in v1.2.0

func (_m *TeamsClient) GetTeam(ctx context.Context, name string) (*client.Team, error)

GetTeam provides a mock function with given fields: ctx, name

func (*TeamsClient) GetTeamMembers added in v1.2.0

func (_m *TeamsClient) GetTeamMembers(ctx context.Context, teamID string) ([]client.TeamMember, error)

GetTeamMembers provides a mock function with given fields: ctx, teamID

func (*TeamsClient) ListTeams added in v1.2.0

func (_m *TeamsClient) ListTeams(ctx context.Context) ([]client.Team, error)

ListTeams provides a mock function with given fields: ctx

type TeamsClient_CreateTeam_Call added in v1.2.0

type TeamsClient_CreateTeam_Call struct {
	*mock.Call
}

TeamsClient_CreateTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTeam'

func (*TeamsClient_CreateTeam_Call) Return added in v1.2.0

func (*TeamsClient_CreateTeam_Call) Run added in v1.2.0

func (*TeamsClient_CreateTeam_Call) RunAndReturn added in v1.2.0

type TeamsClient_DeleteTeam_Call added in v1.2.0

type TeamsClient_DeleteTeam_Call struct {
	*mock.Call
}

TeamsClient_DeleteTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTeam'

func (*TeamsClient_DeleteTeam_Call) Return added in v1.2.0

func (*TeamsClient_DeleteTeam_Call) Run added in v1.2.0

func (*TeamsClient_DeleteTeam_Call) RunAndReturn added in v1.2.0

type TeamsClient_Expecter added in v1.2.0

type TeamsClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*TeamsClient_Expecter) CreateTeam added in v1.2.0

func (_e *TeamsClient_Expecter) CreateTeam(ctx interface{}, request interface{}) *TeamsClient_CreateTeam_Call

CreateTeam is a helper method to define mock.On call

  • ctx context.Context
  • request client.NewTeamRequest

func (*TeamsClient_Expecter) DeleteTeam added in v1.2.0

func (_e *TeamsClient_Expecter) DeleteTeam(ctx interface{}, request interface{}) *TeamsClient_DeleteTeam_Call

DeleteTeam is a helper method to define mock.On call

  • ctx context.Context
  • request client.DeleteTeamRequest

func (*TeamsClient_Expecter) GetTeam added in v1.2.0

func (_e *TeamsClient_Expecter) GetTeam(ctx interface{}, name interface{}) *TeamsClient_GetTeam_Call

GetTeam is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*TeamsClient_Expecter) GetTeamMembers added in v1.2.0

func (_e *TeamsClient_Expecter) GetTeamMembers(ctx interface{}, teamID interface{}) *TeamsClient_GetTeamMembers_Call

GetTeamMembers is a helper method to define mock.On call

  • ctx context.Context
  • teamID string

func (*TeamsClient_Expecter) ListTeams added in v1.2.0

func (_e *TeamsClient_Expecter) ListTeams(ctx interface{}) *TeamsClient_ListTeams_Call

ListTeams is a helper method to define mock.On call

  • ctx context.Context

type TeamsClient_GetTeamMembers_Call added in v1.2.0

type TeamsClient_GetTeamMembers_Call struct {
	*mock.Call
}

TeamsClient_GetTeamMembers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeamMembers'

func (*TeamsClient_GetTeamMembers_Call) Return added in v1.2.0

func (*TeamsClient_GetTeamMembers_Call) Run added in v1.2.0

func (*TeamsClient_GetTeamMembers_Call) RunAndReturn added in v1.2.0

type TeamsClient_GetTeam_Call added in v1.2.0

type TeamsClient_GetTeam_Call struct {
	*mock.Call
}

TeamsClient_GetTeam_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTeam'

func (*TeamsClient_GetTeam_Call) Return added in v1.2.0

func (*TeamsClient_GetTeam_Call) Run added in v1.2.0

func (*TeamsClient_GetTeam_Call) RunAndReturn added in v1.2.0

type TeamsClient_ListTeams_Call added in v1.2.0

type TeamsClient_ListTeams_Call struct {
	*mock.Call
}

TeamsClient_ListTeams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTeams'

func (*TeamsClient_ListTeams_Call) Return added in v1.2.0

func (*TeamsClient_ListTeams_Call) Run added in v1.2.0

func (*TeamsClient_ListTeams_Call) RunAndReturn added in v1.2.0

type Unmarshaler

type Unmarshaler struct {
	mock.Mock
}

Unmarshaler is an autogenerated mock type for the Unmarshaler type

func NewUnmarshaler

func NewUnmarshaler(t interface {
	mock.TestingT
	Cleanup(func())
}) *Unmarshaler

NewUnmarshaler creates a new instance of Unmarshaler. 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 (*Unmarshaler) EXPECT

func (_m *Unmarshaler) EXPECT() *Unmarshaler_Expecter

func (*Unmarshaler) Unmarshal

func (_m *Unmarshaler) Unmarshal(_a0 []byte) error

Unmarshal provides a mock function with given fields: _a0

type Unmarshaler_Expecter

type Unmarshaler_Expecter struct {
	// contains filtered or unexported fields
}

func (*Unmarshaler_Expecter) Unmarshal

func (_e *Unmarshaler_Expecter) Unmarshal(_a0 interface{}) *Unmarshaler_Unmarshal_Call

Unmarshal is a helper method to define mock.On call

  • _a0 []byte

type Unmarshaler_Unmarshal_Call

type Unmarshaler_Unmarshal_Call struct {
	*mock.Call
}

Unmarshaler_Unmarshal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unmarshal'

func (*Unmarshaler_Unmarshal_Call) Return

func (*Unmarshaler_Unmarshal_Call) Run

func (*Unmarshaler_Unmarshal_Call) RunAndReturn

func (_c *Unmarshaler_Unmarshal_Call) RunAndReturn(run func([]byte) error) *Unmarshaler_Unmarshal_Call

type UserClient added in v1.2.0

type UserClient struct {
	mock.Mock
}

UserClient is an autogenerated mock type for the UserClient type

func NewUserClient added in v1.2.0

func NewUserClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *UserClient

NewUserClient creates a new instance of UserClient. 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 (*UserClient) EXPECT added in v1.2.0

func (_m *UserClient) EXPECT() *UserClient_Expecter

func (*UserClient) GetUser added in v1.2.0

func (_m *UserClient) GetUser(ctx context.Context, upn string) (*client.User, error)

GetUser provides a mock function with given fields: ctx, upn

func (*UserClient) ListUsers added in v1.2.0

func (_m *UserClient) ListUsers(ctx context.Context) ([]client.User, error)

ListUsers provides a mock function with given fields: ctx

type UserClient_Expecter added in v1.2.0

type UserClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*UserClient_Expecter) GetUser added in v1.2.0

func (_e *UserClient_Expecter) GetUser(ctx interface{}, upn interface{}) *UserClient_GetUser_Call

GetUser is a helper method to define mock.On call

  • ctx context.Context
  • upn string

func (*UserClient_Expecter) ListUsers added in v1.2.0

func (_e *UserClient_Expecter) ListUsers(ctx interface{}) *UserClient_ListUsers_Call

ListUsers is a helper method to define mock.On call

  • ctx context.Context

type UserClient_GetUser_Call added in v1.2.0

type UserClient_GetUser_Call struct {
	*mock.Call
}

UserClient_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'

func (*UserClient_GetUser_Call) Return added in v1.2.0

func (*UserClient_GetUser_Call) Run added in v1.2.0

func (*UserClient_GetUser_Call) RunAndReturn added in v1.2.0

type UserClient_ListUsers_Call added in v1.2.0

type UserClient_ListUsers_Call struct {
	*mock.Call
}

UserClient_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'

func (*UserClient_ListUsers_Call) Return added in v1.2.0

func (*UserClient_ListUsers_Call) Run added in v1.2.0

func (*UserClient_ListUsers_Call) RunAndReturn added in v1.2.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL