instance

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnName

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

ConnName represents the "instance connection name", in the format "project:region:name".

func ParseConnName

func ParseConnName(cn string) (ConnName, error)

ParseConnName initializes a new ConnName struct.

func (*ConnName) Name

func (c *ConnName) Name() string

Name returns the Cloud SQL instance name

func (*ConnName) Project

func (c *ConnName) Project() string

Project returns the project within which the Cloud SQL instance runs.

func (*ConnName) Region

func (c *ConnName) Region() string

Region returns the region where the Cloud SQL instance runs.

func (*ConnName) String

func (c *ConnName) String() string

Jump to

Keyboard shortcuts

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