input

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DOCR

type DOCR struct {
	DOToken              string `json:"do_token"`
	DOCRName             string `json:"docr_name"`
	DOCRSubscriptionTier string `json:"docr_subscription_tier"`
}

func GetDOCRInput

func GetDOCRInput(bytes []byte) (*DOCR, error)

func (*DOCR) GetInput

func (docr *DOCR) GetInput() ([]byte, error)

type DOKS

type DOKS struct {
	DORegion    string `json:"do_region"`
	DOToken     string `json:"do_token"`
	ClusterName string `json:"cluster_name"`
}

func GetDOKSInput

func GetDOKSInput(bytes []byte) (*DOKS, error)

func (*DOKS) GetInput

func (doks *DOKS) GetInput() ([]byte, error)

type ECR

type ECR struct {
	AWSRegion    string `json:"aws_region"`
	AWSAccessKey string `json:"aws_access_key"`
	AWSSecretKey string `json:"aws_secret_key"`
	ECRName      string `json:"ecr_name"`
}

func GetECRInput

func GetECRInput(bytes []byte) (*ECR, error)

func (*ECR) GetInput

func (ecr *ECR) GetInput() ([]byte, error)

type EKS

type EKS struct {
	AWSRegion    string `json:"aws_region"`
	AWSAccessKey string `json:"aws_access_key"`
	AWSSecretKey string `json:"aws_secret_key"`
	ClusterName  string `json:"cluster_name"`
}

func GetEKSInput

func GetEKSInput(bytes []byte) (*EKS, error)

func (*EKS) GetInput

func (eks *EKS) GetInput() ([]byte, error)

type GCR

type GCR struct {
	GCPCredentials string `json:"gcp_credentials"`
	GCPRegion      string `json:"gcp_region"`
	GCPProjectID   string `json:"gcp_project_id"`
}

func GetGCRInput

func GetGCRInput(bytes []byte) (*GCR, error)

func (*GCR) GetInput

func (gcr *GCR) GetInput() ([]byte, error)

type GKE

type GKE struct {
	GCPCredentials string `json:"gcp_credentials"`
	GCPRegion      string `json:"gcp_region"`
	GCPProjectID   string `json:"gcp_project_id"`
	ClusterName    string `json:"cluster_name"`
}

func GetGKEInput

func GetGKEInput(bytes []byte) (*GKE, error)

func (*GKE) GetInput

func (gke *GKE) GetInput() ([]byte, error)

Jump to

Keyboard shortcuts

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