custom

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BGPPeer

type BGPPeer struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ObjectMeta `json:"metadata"`
	Spec            BGPPeerSpec       `json:"spec"`
}

BGPPeer is the CustomResourceDefinition of a Calico BGP Peer resource in the Kubernetes API.

func (*BGPPeer) GetObjectKind

func (e *BGPPeer) GetObjectKind() schema.ObjectKind

GetObjectKind returns the kind of this object. Required to satisfy Object interface

func (*BGPPeer) GetObjectMeta

func (e *BGPPeer) GetObjectMeta() metav1.Object

GetObjectMeta returns the object metadata of this object. Required to satisfy ObjectMetaAccessor interface

func (*BGPPeer) UnmarshalJSON

func (g *BGPPeer) UnmarshalJSON(data []byte) error

type BGPPeerCopy

type BGPPeerCopy BGPPeer

type BGPPeerList

type BGPPeerList struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ListMeta `json:"metadata"`
	Items           []BGPPeer       `json:"items"`
}

BGPPeerList is a list of Calico Global BGP Peer resources.

func (*BGPPeerList) GetListMeta

func (el *BGPPeerList) GetListMeta() metav1.List

GetListMeta returns the list metadata of this object. Required to satisfy ListMetaAccessor interface

func (*BGPPeerList) GetObjectKind

func (el *BGPPeerList) GetObjectKind() schema.ObjectKind

GetObjectKind returns the kind of this object. Required to satisfy Object interface

func (*BGPPeerList) UnmarshalJSON

func (l *BGPPeerList) UnmarshalJSON(data []byte) error

type BGPPeerListCopy

type BGPPeerListCopy BGPPeerList

type BGPPeerSpec

type BGPPeerSpec struct {
	api.BGPPeerSpec
	Scope  scope.Scope `json:"scope"`
	Node   string      `json:"node,omitempty"`
	PeerIP net.IP      `json:"peerIP"`
}

type GlobalBGPConfig

type GlobalBGPConfig struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ObjectMeta   `json:"metadata"`
	Spec            GlobalBGPConfigSpec `json:"spec"`
}

func (*GlobalBGPConfig) GetObjectKind

func (e *GlobalBGPConfig) GetObjectKind() schema.ObjectKind

Required to satisfy Object interface

func (*GlobalBGPConfig) GetObjectMeta

func (e *GlobalBGPConfig) GetObjectMeta() metav1.Object

Required to satisfy ObjectMetaAccessor interface

func (*GlobalBGPConfig) UnmarshalJSON

func (g *GlobalBGPConfig) UnmarshalJSON(data []byte) error

type GlobalBGPConfigCopy

type GlobalBGPConfigCopy GlobalBGPConfig

type GlobalBGPConfigList

type GlobalBGPConfigList struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ListMeta   `json:"metadata"`
	Items           []GlobalBGPConfig `json:"items"`
}

func (*GlobalBGPConfigList) GetListMeta

func (el *GlobalBGPConfigList) GetListMeta() metav1.List

Required to satisfy ListMetaAccessor interface

func (*GlobalBGPConfigList) GetObjectKind

func (el *GlobalBGPConfigList) GetObjectKind() schema.ObjectKind

Required to satisfy Object interface

func (*GlobalBGPConfigList) UnmarshalJSON

func (l *GlobalBGPConfigList) UnmarshalJSON(data []byte) error

type GlobalBGPConfigListCopy

type GlobalBGPConfigListCopy GlobalBGPConfigList

type GlobalBGPConfigSpec

type GlobalBGPConfigSpec struct {
	// The reason we have Name field in Spec is because k8s metadata
	// name field requires the string to be lowercase, so Name field
	// in Spec is to preserve the casing.
	Name  string `json:"name"`
	Value string `json:"value"`
}

type GlobalFelixConfig

type GlobalFelixConfig struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ObjectMeta     `json:"metadata"`
	Spec            GlobalFelixConfigSpec `json:"spec"`
}

func (*GlobalFelixConfig) GetObjectKind

func (e *GlobalFelixConfig) GetObjectKind() schema.ObjectKind

Required to satisfy Object interface

func (*GlobalFelixConfig) GetObjectMeta

func (e *GlobalFelixConfig) GetObjectMeta() metav1.Object

Required to satisfy ObjectMetaAccessor interface

func (*GlobalFelixConfig) UnmarshalJSON

func (g *GlobalFelixConfig) UnmarshalJSON(data []byte) error

type GlobalFelixConfigCopy

type GlobalFelixConfigCopy GlobalFelixConfig

type GlobalFelixConfigList

type GlobalFelixConfigList struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ListMeta     `json:"metadata"`
	Items           []GlobalFelixConfig `json:"items"`
}

func (*GlobalFelixConfigList) GetListMeta

func (el *GlobalFelixConfigList) GetListMeta() metav1.List

Required to satisfy ListMetaAccessor interface

func (*GlobalFelixConfigList) GetObjectKind

func (el *GlobalFelixConfigList) GetObjectKind() schema.ObjectKind

Required to satisfy Object interface

func (*GlobalFelixConfigList) UnmarshalJSON

func (l *GlobalFelixConfigList) UnmarshalJSON(data []byte) error

type GlobalFelixConfigListCopy

type GlobalFelixConfigListCopy GlobalFelixConfigList

type GlobalFelixConfigSpec

type GlobalFelixConfigSpec struct {
	// The reason we have Name field in Spec is because k8s metadata
	// name field requires the string to be lowercase, so Name field
	// in Spec is to preserve the casing.
	Name  string `json:"name"`
	Value string `json:"value"`
}

type GlobalNetworkPolicy

type GlobalNetworkPolicy struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ObjectMeta `json:"metadata"`
	Spec            api.PolicySpec    `json:"spec"`
}

GlobalNetworkPolicy is the CustomResourceDefinition of a Calico Policy resource in the Kubernetes API.

func (*GlobalNetworkPolicy) GetObjectKind

func (e *GlobalNetworkPolicy) GetObjectKind() schema.ObjectKind

GetObjectKind returns the kind of this object. Required to satisfy Object interface

func (*GlobalNetworkPolicy) GetObjectMeta

func (e *GlobalNetworkPolicy) GetObjectMeta() metav1.Object

GetOjbectMeta returns the object metadata of this object. Required to satisfy ObjectMetaAccessor interface

func (*GlobalNetworkPolicy) UnmarshalJSON

func (g *GlobalNetworkPolicy) UnmarshalJSON(data []byte) error

type GlobalNetworkPolicyCopy

type GlobalNetworkPolicyCopy GlobalNetworkPolicy

type GlobalNetworkPolicyList

type GlobalNetworkPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ListMeta       `json:"metadata"`
	Items           []GlobalNetworkPolicy `json:"items"`
}

GlobalNetworkPolicyList is a list of GlobalNetworkPolicy resources.

func (*GlobalNetworkPolicyList) GetListMeta

func (el *GlobalNetworkPolicyList) GetListMeta() metav1.List

GetListMeta returns the list metadata of this object. Required to satisfy ListMetaAccessor interface

func (*GlobalNetworkPolicyList) GetObjectKind

func (el *GlobalNetworkPolicyList) GetObjectKind() schema.ObjectKind

GetObjectKind returns the kind of this object. Required to satisfy Object interface

func (*GlobalNetworkPolicyList) UnmarshalJSON

func (l *GlobalNetworkPolicyList) UnmarshalJSON(data []byte) error

type GlobalNetworkPolicyListCopy

type GlobalNetworkPolicyListCopy GlobalNetworkPolicyList

type IPPool

type IPPool struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ObjectMeta `json:"metadata"`
	Spec            IPPoolSpec        `json:"spec"`
}

IPPool is the CustomResourceDefinition definition of an IPPool in the Kubernetes API.

func (*IPPool) GetObjectKind

func (e *IPPool) GetObjectKind() schema.ObjectKind

GetObjectKind returns the kind of this object. Required to satisfy Object interface

func (*IPPool) GetObjectMeta

func (e *IPPool) GetObjectMeta() metav1.Object

GetOjbectMeta returns the object metadata of this object. Required to satisfy ObjectMetaAccessor interface

func (*IPPool) UnmarshalJSON

func (g *IPPool) UnmarshalJSON(data []byte) error

type IPPoolCopy

type IPPoolCopy IPPool

type IPPoolList

type IPPoolList struct {
	metav1.TypeMeta `json:",inline"`
	Metadata        metav1.ListMeta `json:"metadata"`
	Items           []IPPool        `json:"items"`
}

IPPoolList is a list of IPPool resources.

func (*IPPoolList) GetListMeta

func (el *IPPoolList) GetListMeta() metav1.List

GetListMeta returns the list metadata of this object. Required to satisfy ListMetaAccessor interface

func (*IPPoolList) GetObjectKind

func (el *IPPoolList) GetObjectKind() schema.ObjectKind

GetObjectKind returns the kind of this object. Required to satisfy Object interface

func (*IPPoolList) UnmarshalJSON

func (l *IPPoolList) UnmarshalJSON(data []byte) error

type IPPoolListCopy

type IPPoolListCopy IPPoolList

type IPPoolSpec

type IPPoolSpec struct {
	api.IPPoolSpec
	CIDR net.IPNet `json:"cidr"`
}

Jump to

Keyboard shortcuts

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