client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SatCon

type SatCon struct {
	Channels      channels.ChannelService
	Clusters      clusters.ClusterService
	Groups        groups.GroupService
	Resources     resources.ResourceService
	Subscriptions subscriptions.SubscriptionService
	Versions      versions.VersionService
}

SatCon struct for satellite configuration entities

func New

func New(endpointURL string, httpClient web.HTTPClient, authClient auth.AuthClient) (SatCon, error)

New creates new SatCon clients

func NewTesting

func NewTesting(endpointURL string, httpClient web.HTTPClient) SatCon

NewTesting is a convenience method which creates a client using only fakes for the type-specific service interfaces. See the counterfeiter documentation for how to customize these fakes e.g. to provide stub implementations, etc.

Directories

Path Synopsis
channels/channelsfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
clusters/clustersfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
groups/groupsfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
resources/resourcesfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
subscriptions/subscriptionsfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
versions/versionsfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
authfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
web
webfakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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