Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterSpec ¶
type ClusterSpec struct { // Name is the cluster name Name string `json:"name"` // Replicas allows user to override the base image Replicas int32 `json:"replicas"` // BaseImage allows user to override the base image BaseImage string `json:"base-image"` // UseSamplePostgres defines if sample postgres db should be deployed UseSamplePostgres bool `json:"useSamplePostgres"` // Apis defines list of api's to configure in kong Apis []kong.Data `json:"apis"` // Plugins defines the list of plugins to enable Plugins []kong.Plugin `json:"plugins"` // Consumers define the users Consumers []kong.ConsumerTPR `json:"consumers"` }
ClusterSpec defines cluster options
type KongCluster ¶
type KongCluster struct { unversioned.TypeMeta `json:",inline"` Metadata api.ObjectMeta `json:"metadata"` APIVersion string `json:"apiVersion"` Type string `json:"type"` Kind string `json:"kind"` Spec ClusterSpec `json:"spec"` }
KongCluster defines the cluster
func (*KongCluster) GetObjectKind ¶
func (e *KongCluster) GetObjectKind() unversioned.ObjectKind
GetObjectKind required to satisfy Object interface
func (*KongCluster) GetObjectMeta ¶
func (e *KongCluster) GetObjectMeta() meta.Object
GetObjectMeta required to satisfy ObjectMetaAccessor interface
func (*KongCluster) UnmarshalJSON ¶
func (e *KongCluster) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals json
type KongClusterCopy ¶
type KongClusterCopy KongCluster
type KongClusterList ¶
type KongClusterList struct { APIVersion string `json:"apiVersion"` Kind string `json:"kind"` unversioned.TypeMeta `json:",inline"` Metadata api.ObjectMeta `json:"metadata"` Items []KongCluster `json:"items"` }
KongClusterList represents a list of Kong Clusters
func (*KongClusterList) GetListMeta ¶
func (el *KongClusterList) GetListMeta() unversioned.List
GetListMeta required to satisfy ListMetaAccessor interface
func (*KongClusterList) GetObjectKind ¶
func (el *KongClusterList) GetObjectKind() unversioned.ObjectKind
GetObjectKind required to satisfy Object interface
func (*KongClusterList) UnmarshalJSON ¶
func (el *KongClusterList) UnmarshalJSON(data []byte) error
type KongClusterListCopy ¶
type KongClusterListCopy KongClusterList
Click to show internal directories.
Click to hide internal directories.