Documentation ¶
Index ¶
- Variables
- type AllowedUpstream
- type Autoscale
- type Block
- type CertManager
- type CertificateInfo
- type Event
- type Flavor
- type InstanceAddress
- type InstanceAddressType
- type InstanceInfo
- type Metadata
- type MetadataItem
- type Plan
- type Pod
- type PodError
- type PodMetrics
- type PodPort
- type Route
- type RpaasFile
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InstanceAddressTypeClusterExternal = InstanceAddressType("cluster-external") InstanceAddressTypeClusterInternal = InstanceAddressType("cluster-internal") )
Functions ¶
This section is empty.
Types ¶
type AllowedUpstream ¶ added in v0.13.0
type CertManager ¶ added in v0.15.0
type CertManager struct { Issuer string `json:"issuer"` DNSNames []string `json:"dnsNames,omitempty"` IPAddresses []string `json:"ipAddresses,omitempty"` // Name is used to multiple certificates in the same instance, and also to take over the manual certificates Name string `json:"name,omitempty"` }
type CertificateInfo ¶ added in v0.9.3
type InstanceAddress ¶ added in v0.7.4
type InstanceAddressType ¶ added in v0.15.0
type InstanceAddressType string
type InstanceInfo ¶ added in v0.7.4
type InstanceInfo struct { Dashboard string `json:"dashboard,omitempty"` Addresses []InstanceAddress `json:"addresses,omitempty"` Replicas *int32 `json:"replicas,omitempty"` Plan string `json:"plan,omitempty"` Blocks []Block `json:"blocks,omitempty"` Routes []Route `json:"routes,omitempty"` Autoscale *autogenerated.Autoscale `json:"autoscale,omitempty"` ACLs []AllowedUpstream `json:"acls,omitempty"` Binds []v1alpha1.Bind `json:"binds,omitempty"` Team string `json:"team,omitempty"` Name string `json:"name,omitempty"` Service string `json:"service,omitempty"` Description string `json:"description,omitempty"` Cluster string `json:"cluster,omitempty"` // for multi-cluster environments Pool string `json:"pool,omitempty"` // for multi-cluster environments Tags []string `json:"tags,omitempty"` Annotations []string `json:"annotations,omitempty" ` Pods []Pod `json:"pods,omitempty"` Flavors []string `json:"flavors,omitempty"` Certificates []CertificateInfo `json:"certificates,omitempty"` Events []Event `json:"events,omitempty"` PlanOverride *v1alpha1.RpaasPlanSpec `json:"planOverride,omitempty"` ExtraFiles []RpaasFile `json:"extraFiles,omitempty"` Shutdown bool `json:"shutdown"` }
type Metadata ¶ added in v0.42.0
type Metadata struct { Labels []MetadataItem `json:"labels"` Annotations []MetadataItem `json:"annotations"` }
type MetadataItem ¶ added in v0.42.0
type Pod ¶ added in v0.8.1
type Pod struct { CreatedAt time.Time `json:"createdAt,omitempty"` TerminatedAt time.Time `json:"terminatedAt,omitempty"` Name string `json:"name"` IP string `json:"ip"` HostIP string `json:"host"` Status string `json:"status"` Ports []PodPort `json:"ports,omitempty"` Errors []PodError `json:"errors,omitempty"` Restarts int32 `json:"restarts"` Ready bool `json:"ready"` Metrics *PodMetrics `json:"metrics,omitempty"` }
type PodMetrics ¶ added in v0.9.3
type PodPort ¶ added in v0.8.1
type PodPort corev1.ContainerPort
Click to show internal directories.
Click to hide internal directories.