apiextensions: github.com/giantswarm/apiextensions/pkg/apis/example/v1alpha1 Index | Files

package v1alpha1

import "github.com/giantswarm/apiextensions/pkg/apis/example/v1alpha1"

+groupName=example.giantswarm.io

Index

Package Files

doc.go memcached_types.go register.go zz_generated.deepcopy.go

Variables

var (

    // AddToScheme is used by the generated client.
    AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{
    Group:   group,
    Version: version,
}

SchemeGroupVersion is group version used to register these objects

func NewMemcachedConfigCRD Uses

func NewMemcachedConfigCRD() *apiextensionsv1beta1.CustomResourceDefinition

NewMemcachedConfigCRD returns a new custom resource definition for MemcachedConfig. This might look something like the following.

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: memcachedconfigs.provider.giantswarm.io
spec:
  group: example.giantswarm.io
  scope: Namespaced
  version: v1alpha1
  names:
    kind: MemcachedConfig
    plural: memcachedconfigs
    singular: memcachedconfig

type MemcachedConfig Uses

type MemcachedConfig struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata"`
    Spec              MemcachedConfigSpec `json:"spec"`
}

func (*MemcachedConfig) DeepCopy Uses

func (in *MemcachedConfig) DeepCopy() *MemcachedConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedConfig.

func (*MemcachedConfig) DeepCopyInto Uses

func (in *MemcachedConfig) DeepCopyInto(out *MemcachedConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MemcachedConfig) DeepCopyObject Uses

func (in *MemcachedConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MemcachedConfigList Uses

type MemcachedConfigList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`
    Items           []MemcachedConfig `json:"items"`
}

func (*MemcachedConfigList) DeepCopy Uses

func (in *MemcachedConfigList) DeepCopy() *MemcachedConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedConfigList.

func (*MemcachedConfigList) DeepCopyInto Uses

func (in *MemcachedConfigList) DeepCopyInto(out *MemcachedConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MemcachedConfigList) DeepCopyObject Uses

func (in *MemcachedConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MemcachedConfigSpec Uses

type MemcachedConfigSpec struct {
    // Replicas is the number of instances of Memcache.
    Replicas int `json:"replicas" yaml:"replicas"`
    // e.g. 3
    // Memory is how much RAM to use for item storage.
    // e.g. 4G
    Memory string `json:"memory" yaml:"memory"`
}

func (*MemcachedConfigSpec) DeepCopy Uses

func (in *MemcachedConfigSpec) DeepCopy() *MemcachedConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcachedConfigSpec.

func (*MemcachedConfigSpec) DeepCopyInto Uses

func (in *MemcachedConfigSpec) DeepCopyInto(out *MemcachedConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Package v1alpha1 imports 4 packages (graph) and is imported by 4 packages. Updated 2019-11-22. Refresh now. Tools for package owners.