client

package
v1.11.57 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

Constants

View Source
const USER_AGENT = "User-Agent"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Url       string
	Transport *http.Transport
}

func NewClient

func NewClient(msdAgentVersion string, url string, domain string, service string) (*Client, error)

func (Client) PutWorkload

func (c Client) PutWorkload(domain string, service string, options *msd.WorkloadOptions) error

type MockMsdClient

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

MockMsdClient is a mock of MsdClient interface.

func NewMockMsdClient

func NewMockMsdClient(ctrl *gomock.Controller) *MockMsdClient

NewMockMsdClient creates a new mock instance.

func (*MockMsdClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMsdClient) PutWorkload

func (m *MockMsdClient) PutWorkload(domain, service string, options *msd.WorkloadOptions) error

PutWorkload mocks base method.

type MockMsdClientMockRecorder

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

MockMsdClientMockRecorder is the mock recorder for MockMsdClient.

func (*MockMsdClientMockRecorder) PutWorkload

func (mr *MockMsdClientMockRecorder) PutWorkload(domain, service, options interface{}) *gomock.Call

PutWorkload indicates an expected call of PutWorkload.

type MsdClient

type MsdClient interface {
	PutWorkload(domain string, service string, options *msd.WorkloadOptions) error
}

Jump to

Keyboard shortcuts

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