serviceaccountkey

package
v0.22.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseKeyIDFromRrn

func ParseKeyIDFromRrn(rrn string) (string, error)

ParseKeyIDFromRrn parses key id from Google Cloud API relative resource name (resource path) of

a service account key

func PopulateSaKey

func PopulateSaKey(cr *v1alpha1.ServiceAccountKey, fromProvider *iam.ServiceAccountKey) error

PopulateSaKey populates `v1alpha1.ServiceAccountKeyObservation` status from the specified API response

Types

type Client

type Client interface {
	Create(name string, createserviceaccountkeyrequest *iam.CreateServiceAccountKeyRequest) *iam.ProjectsServiceAccountsKeysCreateCall
	Delete(name string) *iam.ProjectsServiceAccountsKeysDeleteCall
	Get(name string) *iam.ProjectsServiceAccountsKeysGetCall
}

Client should be satisfied to conduct ServiceAccountKey operations.

Jump to

Keyboard shortcuts

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