client

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

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

Clients struct containing the GCP and k8s clients used in this tool

func Build

func Build(local bool, kubeconfig string) (*Clients, error)

Build creates the GCP and k8s clients used by this tool and returns both packaged in a single struct

func NewClients added in v0.0.9

func NewClients(
	iam *iam.Service,
	metrics *monitoring.MetricClient,
	k8s kubernetes.Interface,
	crd v1beta1client.YaleCRDInterface,
	vault *vaultapi.Client,
	secretManager *secretmanager.Client,
	azure *msgraph.ApplicationsClient,
) *Clients

func (*Clients) GetAzure added in v0.0.37

func (c *Clients) GetAzure() *msgraph.ApplicationsClient

func (*Clients) GetCRDs added in v0.0.3

func (c *Clients) GetCRDs() v1beta1client.YaleCRDInterface

GetCRDs will return a handle to the crd client generated by the builder

func (*Clients) GetGoogleSecretManager added in v0.0.42

func (c *Clients) GetGoogleSecretManager() *secretmanager.Client

GetGoogleSecretManager will return a handle to the GSM client generated by the builder

func (*Clients) GetIAM added in v0.0.28

func (c *Clients) GetIAM() *iam.Service

GetIAM will return a handle to the gcp IAM client generated by the builder

func (*Clients) GetK8s

func (c *Clients) GetK8s() kubernetes.Interface

GetK8s will return a handle to the kubernetes client generated by the builder

func (*Clients) GetMetrics added in v0.0.28

func (c *Clients) GetMetrics() *monitoring.MetricClient

GetMetrics will return a handle to the metrics client generated by the builder

func (*Clients) GetVault added in v0.0.20

func (c *Clients) GetVault() *vaultapi.Client

GetVault will return a handle to the vault client generated by the builder

Jump to

Keyboard shortcuts

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