gcp

package
v0.0.0-...-3420c2a Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

ClientIdentifier is what kind of cloud this implement supports

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client represents a GCP cloud Client

func NewClient

func NewClient(kclient k8s.Client) (*Client, error)

NewClient creates a new CloudClient for use with GCP.

func (*Client) DeleteAdminAPIDNS

func (gc *Client) DeleteAdminAPIDNS(ctx context.Context, kclient k8s.Client, instance *cloudingressv1alpha1.APIScheme, svc *corev1.Service) error

DeleteAdminAPIDNS implements cloudclient.CloudClient

func (*Client) EnsureAdminAPIDNS

func (gc *Client) EnsureAdminAPIDNS(ctx context.Context, kclient k8s.Client, instance *cloudingressv1alpha1.APIScheme, svc *corev1.Service) error

EnsureAdminAPIDNS implements cloudclient.CloudClient

func (*Client) Healthcheck

func (gc *Client) Healthcheck(ctx context.Context, kclient k8s.Client) error

Healthcheck performs basic calls to make sure client is healthy

func (*Client) SetDefaultAPIPrivate

func (gc *Client) SetDefaultAPIPrivate(ctx context.Context, kclient k8s.Client, instance *cloudingressv1alpha1.PublishingStrategy) error

SetDefaultAPIPrivate implements cloudclient.CloudClient

func (*Client) SetDefaultAPIPublic

func (gc *Client) SetDefaultAPIPublic(ctx context.Context, kclient k8s.Client, instance *cloudingressv1alpha1.PublishingStrategy) error

SetDefaultAPIPublic implements cloudclient.CloudClient

Jump to

Keyboard shortcuts

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