client

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TanzuMissionControl

type TanzuMissionControl struct {
	*transport.Client
	ClusterResourceService            clusterclient.ClientService
	EKSClusterResourceService         eksclusterclient.ClientService
	EKSNodePoolResourceService        eksnodepoolclient.ClientService
	WorkspaceResourceService          workspaceclient.ClientService
	NamespaceResourceService          namespaceclient.ClientService
	ClusterGroupResourceService       clustergroupclient.ClientService
	NodePoolResourceService           nodepoolclient.ClientService
	OrganizationIAMResourceService    iamorganizationclient.ClientService
	ClusterGroupIAMResourceService    iamclustergroupclient.ClientService
	ClusterIAMResourceService         iamclusterclient.ClientService
	WorkspaceIAMResourceService       iamworkspaceclient.ClientService
	NamespaceIAMResourceService       iamnamespaceclient.ClientService
	ClusterPolicyResourceService      policyclusterclient.ClientService
	ClusterGroupPolicyResourceService policyclustergroupclient.ClientService
	WorkspacePolicyResourceService    policyworkspaceclient.ClientService
	OrganizationPolicyResourceService policyorganizationclient.ClientService
	CredentialResourceService         credentialclient.ClientService
	IntegrationResourceService        integrationclient.ClientService
}

TanzuMissionControl is a client for tanzu mission control.

func NewHTTPClient

func NewHTTPClient(config *proxy.TLSConfig) (*TanzuMissionControl, error)

NewHTTPClient creates a new tanzu mission control HTTP client.

func NewTestHTTPClientWithDefaultTransport added in v1.1.4

func NewTestHTTPClientWithDefaultTransport() *TanzuMissionControl

NewTestHTTPClientWithDefaultTransport is intended primarily for testing only, as httpmock requires a default transport object be used in order to intercept and mock traffic.

Jump to

Keyboard shortcuts

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