Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Assign(*packngo.PortAssignRequest) (*packngo.Port, *packngo.Response, error) Unassign(*packngo.PortAssignRequest) (*packngo.Port, *packngo.Response, error) GetPortByName(string, string) (*packngo.Port, error) }
Client implements the Equinix Metal API methods needed to interact with Ports for the Equinix Metal Crossplane Provider
type ClientWithDefaults ¶
type ClientWithDefaults interface { Client clients.DefaultGetter }
ClientWithDefaults is an interface that provides Port services and provides default values for common properties
func NewClient ¶
func NewClient(ctx context.Context, config *clients.Credentials) (ClientWithDefaults, error)
NewClient returns a Client implementing the Equinix Metal API methods needed to interact with Ports for the Equinix Metal Crossplane Provider
type CredentialedClient ¶
type CredentialedClient struct { Client *clients.Credentials }
CredentialedClient is a credentialed client to Equinix Metal Port services
Click to show internal directories.
Click to hide internal directories.