api

package
v0.0.0-...-7669b99 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunLoadBalancer

type AliyunLoadBalancer struct {
	LoadBalancerName string `json:"loadbalancerName,omitempty"`
	LoadBalancerID   string `json:"loadbalancerID,omitempty"`
	LoadBalancerIP   string `json:"loadbalancerIP,omitempty"`
}

type LoadBalancer

type LoadBalancer struct {
	metav1.TypeMeta `json:",inline"`
	v1.ObjectMeta   `json:"metadata,omitempty"`

	Spec   LoadBalancerSpec   `json:"spec,omitempty"`
	Status LoadBalancerStatus `json:"status,omitempty"`
}

type LoadBalancerClaim

type LoadBalancerClaim struct {
	metav1.TypeMeta `json:",inline"`
	v1.ObjectMeta   `json:"metadata,omitempty"`

	Spec   LoadBalancerClaimSpec   `json:"spec,omitempty"`
	Status LoadBalancerClaimStatus `json:"status,omitempty"`
}

type LoadBalancerClaimPhase

type LoadBalancerClaimPhase string
const (
	LoadBalancerClaimPending LoadBalancerClaimPhase = "Pending"
	LoadBalancerClaimBound   LoadBalancerClaimPhase = "Bound"
	LoadBalancerClaimFailed  LoadBalancerClaimPhase = "Failed"
)

type LoadBalancerClaimSpec

type LoadBalancerClaimSpec struct {
	// the binding reference to the LoadBalancer backing this claim.
	LoadBalancerName string `json:"loadBalancerName,omitempty"`
}

type LoadBalancerClaimStatus

type LoadBalancerClaimStatus struct {
	Phase   LoadBalancerClaimPhase `json:"phase,omitempty"`
	Message string                 `json:"message,omitempty"`
}

type LoadBalancerPhase

type LoadBalancerPhase string
const (
	LoadBalancerAvailable LoadBalancerPhase = "Available"
	LoadBalancerBound     LoadBalancerPhase = "Bound"
	LoadBalancerReleased  LoadBalancerPhase = "Released"
	LoadBalancerFailed    LoadBalancerPhase = "Failed"
)

type LoadBalancerSpec

type LoadBalancerSpec struct {
	NginxLoadBalancer *NginxLoadBalancer `json:"nginxLoadBalancer,omitempty"`
	//HaproxyLoadBalancer *HaproxyLoadBalancer
	AliyunLoadBalancer *AliyunLoadBalancer `json:"aliyunLoadBalancer,omitempty"`
}

type LoadBalancerStatus

type LoadBalancerStatus struct {
	Phase   LoadBalancerPhase `json:"phase,omitempty"`
	Message string            `json:"message,omitempty"`
	Reason  string            `json:"reason,omitempty"`
}

type NginxLoadBalancer

type NginxLoadBalancer struct {
	Service v1.ObjectReference `json:"service,omitempty"`
}

Jump to

Keyboard shortcuts

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