types

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 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 AuthToken

type AuthToken struct {
	Kind       string                 `json:"kind"`
	ApiVersion string                 `json:"apiVersion"`
	Spec       map[string]interface{} `json:"spec"`
	Status     struct {
		ExpirationTimestamp RFC3339Time `json:"expirationTimestamp"`
		Token               string      `json:"token"`
	} `json:"status"`
}

type Certificate

type Certificate struct {
	ID                 string
	ProviderID         string
	Domain             string
	CloudProvider      string
	Issuer             string
	ExpiresAt          *time.Time
	KeyAlgorithm       string
	SignatureAlgorithm string
	Status             CertificateStatus
}

type CertificateStatus

type CertificateStatus int
const (
	CertificateStatusNotReady CertificateStatus = iota
	CertificateStatusReady
	CertificateStatusExpired
	CertificateStatusError
)

func (CertificateStatus) String

func (s CertificateStatus) String() string

type Cluster

type Cluster struct {
	ID              string
	Name            string
	PlatformVersion string
	Status          ClusterStatus
	Tags            map[string]string
	Version         string
	CloudProvider   string
	// detailed fields
	Endpoint                 string
	CertificateAuthorityData []byte
}

type ClusterStatus

type ClusterStatus string
const (
	StatusCreating     ClusterStatus = "creating"
	StatusActive       ClusterStatus = "active"
	StatusDeleting     ClusterStatus = "deleting"
	StatusFailed       ClusterStatus = "failed"
	StatusUpdating     ClusterStatus = "updating"
	StatusUnconfigured ClusterStatus = "unconfigured"
)

func (ClusterStatus) String

func (s ClusterStatus) String() string

type RFC3339Time

type RFC3339Time time.Time

func (RFC3339Time) MarshalJSON

func (t RFC3339Time) MarshalJSON() ([]byte, error)

type VPC

type VPC struct {
	ID                    string
	CloudProvider         string
	CIDRBlock             string
	IPv6                  bool
	Topology              v1alpha1.NetworkTopology
	SupportsKonstellation bool
}

Jump to

Keyboard shortcuts

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