request

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultHttpRequest

type DefaultHttpRequest struct {
	Endpoint string
	Path     string
	Method   string
	Token    string
}

func (*DefaultHttpRequest) DoGetRequest

func (req *DefaultHttpRequest) DoGetRequest() ([]byte, error)

func (*DefaultHttpRequest) ListInstances

func (r *DefaultHttpRequest) ListInstances(project, zone string) ([]gjson.Result, error)

func (*DefaultHttpRequest) ListManagedZones

func (r *DefaultHttpRequest) ListManagedZones(project string) ([]string, error)

func (*DefaultHttpRequest) ListRRSets

func (r *DefaultHttpRequest) ListRRSets(project, zone string) ([]gjson.Result, error)

func (*DefaultHttpRequest) ListServiceAccounts

func (r *DefaultHttpRequest) ListServiceAccounts(project string) (map[string]string, error)

func (*DefaultHttpRequest) ListZones

func (r *DefaultHttpRequest) ListZones(project string) ([]string, error)

Jump to

Keyboard shortcuts

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