crd

package
v0.0.0-...-0000b31 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package crd provides an implementation of the config store and cache using Kubernetes Custom Resources and the informer framework from Kubernetes

Index

Constants

This section is empty.

Variables

View Source
var IstioAPIGroupVersion = schema.GroupVersion{
	Group:   model.IstioAPIGroup,
	Version: model.IstioAPIVersion,
}

IstioAPIGroupVersion defines schema.GroupVersion for Istio configuration resources.

Functions

func CamelCaseToKabobCase

func CamelCaseToKabobCase(s string) string

CamelCaseToKabobCase converts "MyName" to "my-name"

func ConvertObject

func ConvertObject(schema model.ProtoSchema, object IstioObject, domain string) (*model.Config, error)

ConvertObject converts an IstioObject k8s-style object to the internal configuration model.

func CreateRESTConfig

func CreateRESTConfig(kubeconfig string) (config *rest.Config, err error)

CreateRESTConfig for cluster API server, pass empty config file for in-cluster

func KabobCaseToCamelCase

func KabobCaseToCamelCase(s string) string

KabobCaseToCamelCase converts "my-name" to "MyName"

func NewController

func NewController(client *Client, options kube.ControllerOptions) model.ConfigStoreCache

NewController creates a new Kubernetes controller for CRDs Use "" for namespace to listen for all namespace changes

func ResourceName

func ResourceName(s string) string

ResourceName converts "my-name" to "myname". This is needed by k8s API server as dashes prevent kubectl from accessing CRDs

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a basic REST client for CRDs implementing config store

func NewClient

func NewClient(config string, descriptor model.ConfigDescriptor, domainSuffix string) (*Client, error)

NewClient creates a client to Kubernetes API using a kubeconfig file. Use an empty value for `kubeconfig` to use the in-cluster config. If the kubeconfig file is empty, defaults to in-cluster config as well.

func (*Client) ConfigDescriptor

func (cl *Client) ConfigDescriptor() model.ConfigDescriptor

ConfigDescriptor for the store

func (*Client) Create

func (cl *Client) Create(config model.Config) (string, error)

Create implements store interface

func (*Client) Delete

func (cl *Client) Delete(typ, name, namespace string) error

Delete implements store interface

func (*Client) DeregisterResources

func (cl *Client) DeregisterResources() error

DeregisterResources removes third party resources

func (*Client) Get

func (cl *Client) Get(typ, name, namespace string) (*model.Config, bool)

Get implements store interface

func (*Client) List

func (cl *Client) List(typ, namespace string) ([]model.Config, error)

List implements store interface

func (*Client) RegisterResources

func (cl *Client) RegisterResources() error

RegisterResources sends a request to create CRDs and waits for them to initialize

func (*Client) Update

func (cl *Client) Update(config model.Config) (string, error)

Update implements store interface

type DestinationPolicy

type DestinationPolicy struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

DestinationPolicy is the generic Kubernetes API object wrapper

func (*DestinationPolicy) DeepCopy

func (in *DestinationPolicy) DeepCopy() *DestinationPolicy

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

func (*DestinationPolicy) DeepCopyInto

func (in *DestinationPolicy) DeepCopyInto(out *DestinationPolicy)

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

func (*DestinationPolicy) DeepCopyObject

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

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

func (*DestinationPolicy) GetObjectMeta

func (in *DestinationPolicy) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*DestinationPolicy) GetSpec

func (in *DestinationPolicy) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*DestinationPolicy) SetObjectMeta

func (in *DestinationPolicy) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*DestinationPolicy) SetSpec

func (in *DestinationPolicy) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type DestinationPolicyList

type DestinationPolicyList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []DestinationPolicy `json:"items"`
}

DestinationPolicyList is the generic Kubernetes API list wrapper

func (*DestinationPolicyList) DeepCopy

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

func (*DestinationPolicyList) DeepCopyInto

func (in *DestinationPolicyList) DeepCopyInto(out *DestinationPolicyList)

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

func (*DestinationPolicyList) DeepCopyObject

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

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

func (*DestinationPolicyList) GetItems

func (in *DestinationPolicyList) GetItems() []IstioObject

GetItems from a wrapper

type EgressRule

type EgressRule struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

EgressRule is the generic Kubernetes API object wrapper

func (*EgressRule) DeepCopy

func (in *EgressRule) DeepCopy() *EgressRule

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

func (*EgressRule) DeepCopyInto

func (in *EgressRule) DeepCopyInto(out *EgressRule)

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

func (*EgressRule) DeepCopyObject

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

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

func (*EgressRule) GetObjectMeta

func (in *EgressRule) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*EgressRule) GetSpec

func (in *EgressRule) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*EgressRule) SetObjectMeta

func (in *EgressRule) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*EgressRule) SetSpec

func (in *EgressRule) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type EgressRuleList

type EgressRuleList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []EgressRule `json:"items"`
}

EgressRuleList is the generic Kubernetes API list wrapper

func (*EgressRuleList) DeepCopy

func (in *EgressRuleList) DeepCopy() *EgressRuleList

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

func (*EgressRuleList) DeepCopyInto

func (in *EgressRuleList) DeepCopyInto(out *EgressRuleList)

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

func (*EgressRuleList) DeepCopyObject

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

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

func (*EgressRuleList) GetItems

func (in *EgressRuleList) GetItems() []IstioObject

GetItems from a wrapper

type HTTPAPISpec

type HTTPAPISpec struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

HTTPAPISpec is the generic Kubernetes API object wrapper

func (*HTTPAPISpec) DeepCopy

func (in *HTTPAPISpec) DeepCopy() *HTTPAPISpec

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

func (*HTTPAPISpec) DeepCopyInto

func (in *HTTPAPISpec) DeepCopyInto(out *HTTPAPISpec)

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

func (*HTTPAPISpec) DeepCopyObject

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

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

func (*HTTPAPISpec) GetObjectMeta

func (in *HTTPAPISpec) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*HTTPAPISpec) GetSpec

func (in *HTTPAPISpec) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*HTTPAPISpec) SetObjectMeta

func (in *HTTPAPISpec) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*HTTPAPISpec) SetSpec

func (in *HTTPAPISpec) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type HTTPAPISpecBinding

type HTTPAPISpecBinding struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

HTTPAPISpecBinding is the generic Kubernetes API object wrapper

func (*HTTPAPISpecBinding) DeepCopy

func (in *HTTPAPISpecBinding) DeepCopy() *HTTPAPISpecBinding

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

func (*HTTPAPISpecBinding) DeepCopyInto

func (in *HTTPAPISpecBinding) DeepCopyInto(out *HTTPAPISpecBinding)

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

func (*HTTPAPISpecBinding) DeepCopyObject

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

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

func (*HTTPAPISpecBinding) GetObjectMeta

func (in *HTTPAPISpecBinding) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*HTTPAPISpecBinding) GetSpec

func (in *HTTPAPISpecBinding) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*HTTPAPISpecBinding) SetObjectMeta

func (in *HTTPAPISpecBinding) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*HTTPAPISpecBinding) SetSpec

func (in *HTTPAPISpecBinding) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type HTTPAPISpecBindingList

type HTTPAPISpecBindingList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []HTTPAPISpecBinding `json:"items"`
}

HTTPAPISpecBindingList is the generic Kubernetes API list wrapper

func (*HTTPAPISpecBindingList) DeepCopy

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

func (*HTTPAPISpecBindingList) DeepCopyInto

func (in *HTTPAPISpecBindingList) DeepCopyInto(out *HTTPAPISpecBindingList)

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

func (*HTTPAPISpecBindingList) DeepCopyObject

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

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

func (*HTTPAPISpecBindingList) GetItems

func (in *HTTPAPISpecBindingList) GetItems() []IstioObject

GetItems from a wrapper

type HTTPAPISpecList

type HTTPAPISpecList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []HTTPAPISpec `json:"items"`
}

HTTPAPISpecList is the generic Kubernetes API list wrapper

func (*HTTPAPISpecList) DeepCopy

func (in *HTTPAPISpecList) DeepCopy() *HTTPAPISpecList

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

func (*HTTPAPISpecList) DeepCopyInto

func (in *HTTPAPISpecList) DeepCopyInto(out *HTTPAPISpecList)

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

func (*HTTPAPISpecList) DeepCopyObject

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

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

func (*HTTPAPISpecList) GetItems

func (in *HTTPAPISpecList) GetItems() []IstioObject

GetItems from a wrapper

type IngressRule

type IngressRule struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

IngressRule is the generic Kubernetes API object wrapper

func (*IngressRule) DeepCopy

func (in *IngressRule) DeepCopy() *IngressRule

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

func (*IngressRule) DeepCopyInto

func (in *IngressRule) DeepCopyInto(out *IngressRule)

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

func (*IngressRule) DeepCopyObject

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

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

func (*IngressRule) GetObjectMeta

func (in *IngressRule) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*IngressRule) GetSpec

func (in *IngressRule) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*IngressRule) SetObjectMeta

func (in *IngressRule) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*IngressRule) SetSpec

func (in *IngressRule) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type IngressRuleList

type IngressRuleList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []IngressRule `json:"items"`
}

IngressRuleList is the generic Kubernetes API list wrapper

func (*IngressRuleList) DeepCopy

func (in *IngressRuleList) DeepCopy() *IngressRuleList

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

func (*IngressRuleList) DeepCopyInto

func (in *IngressRuleList) DeepCopyInto(out *IngressRuleList)

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

func (*IngressRuleList) DeepCopyObject

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

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

func (*IngressRuleList) GetItems

func (in *IngressRuleList) GetItems() []IstioObject

GetItems from a wrapper

type IstioKind

type IstioKind struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

IstioKind is the generic Kubernetes API object wrapper

func ParseInputs

func ParseInputs(inputs string) ([]model.Config, []IstioKind, error)

ParseInputs reads multiple documents from `kubectl` output and checks with the schema. It also returns the list of unrecognized kinds as the second response.

NOTE: This function only decodes a subset of the complete k8s ObjectMeta as identified by the fields in model.ConfigMeta. This would typically only be a problem if a user dumps an configuration object with kubectl and then re-ingests it.

func (*IstioKind) DeepCopy

func (in *IstioKind) DeepCopy() *IstioKind

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

func (*IstioKind) DeepCopyInto

func (in *IstioKind) DeepCopyInto(out *IstioKind)

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

func (*IstioKind) DeepCopyObject

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

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

func (*IstioKind) GetObjectMeta

func (in *IstioKind) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*IstioKind) GetSpec

func (in *IstioKind) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*IstioKind) SetObjectMeta

func (in *IstioKind) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*IstioKind) SetSpec

func (in *IstioKind) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type IstioKindList

type IstioKindList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []IstioKind `json:"items"`
}

IstioKindList is the generic Kubernetes API list wrapper

func (*IstioKindList) DeepCopy

func (in *IstioKindList) DeepCopy() *IstioKindList

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

func (*IstioKindList) DeepCopyInto

func (in *IstioKindList) DeepCopyInto(out *IstioKindList)

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

func (*IstioKindList) DeepCopyObject

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

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

func (*IstioKindList) GetItems

func (in *IstioKindList) GetItems() []IstioObject

GetItems from a wrapper

type IstioObject

type IstioObject interface {
	runtime.Object
	GetSpec() map[string]interface{}
	SetSpec(map[string]interface{})
	GetObjectMeta() meta_v1.ObjectMeta
	SetObjectMeta(meta_v1.ObjectMeta)
}

IstioObject is a k8s wrapper interface for config objects

func ConvertConfig

func ConvertConfig(schema model.ProtoSchema, config model.Config) (IstioObject, error)

ConvertConfig translates Istio config to k8s config JSON

type IstioObjectList

type IstioObjectList interface {
	runtime.Object
	GetItems() []IstioObject
}

IstioObjectList is a k8s wrapper interface for config lists

type MockConfig

type MockConfig struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

MockConfig is the generic Kubernetes API object wrapper

func (*MockConfig) DeepCopy

func (in *MockConfig) DeepCopy() *MockConfig

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

func (*MockConfig) DeepCopyInto

func (in *MockConfig) DeepCopyInto(out *MockConfig)

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

func (*MockConfig) DeepCopyObject

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

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

func (*MockConfig) GetObjectMeta

func (in *MockConfig) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*MockConfig) GetSpec

func (in *MockConfig) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*MockConfig) SetObjectMeta

func (in *MockConfig) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*MockConfig) SetSpec

func (in *MockConfig) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type MockConfigList

type MockConfigList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []MockConfig `json:"items"`
}

MockConfigList is the generic Kubernetes API list wrapper

func (*MockConfigList) DeepCopy

func (in *MockConfigList) DeepCopy() *MockConfigList

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

func (*MockConfigList) DeepCopyInto

func (in *MockConfigList) DeepCopyInto(out *MockConfigList)

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

func (*MockConfigList) DeepCopyObject

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

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

func (*MockConfigList) GetItems

func (in *MockConfigList) GetItems() []IstioObject

GetItems from a wrapper

type QuotaSpec

type QuotaSpec struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

QuotaSpec is the generic Kubernetes API object wrapper

func (*QuotaSpec) DeepCopy

func (in *QuotaSpec) DeepCopy() *QuotaSpec

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

func (*QuotaSpec) DeepCopyInto

func (in *QuotaSpec) DeepCopyInto(out *QuotaSpec)

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

func (*QuotaSpec) DeepCopyObject

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

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

func (*QuotaSpec) GetObjectMeta

func (in *QuotaSpec) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*QuotaSpec) GetSpec

func (in *QuotaSpec) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*QuotaSpec) SetObjectMeta

func (in *QuotaSpec) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*QuotaSpec) SetSpec

func (in *QuotaSpec) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type QuotaSpecBinding

type QuotaSpecBinding struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

QuotaSpecBinding is the generic Kubernetes API object wrapper

func (*QuotaSpecBinding) DeepCopy

func (in *QuotaSpecBinding) DeepCopy() *QuotaSpecBinding

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

func (*QuotaSpecBinding) DeepCopyInto

func (in *QuotaSpecBinding) DeepCopyInto(out *QuotaSpecBinding)

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

func (*QuotaSpecBinding) DeepCopyObject

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

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

func (*QuotaSpecBinding) GetObjectMeta

func (in *QuotaSpecBinding) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*QuotaSpecBinding) GetSpec

func (in *QuotaSpecBinding) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*QuotaSpecBinding) SetObjectMeta

func (in *QuotaSpecBinding) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*QuotaSpecBinding) SetSpec

func (in *QuotaSpecBinding) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type QuotaSpecBindingList

type QuotaSpecBindingList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []QuotaSpecBinding `json:"items"`
}

QuotaSpecBindingList is the generic Kubernetes API list wrapper

func (*QuotaSpecBindingList) DeepCopy

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

func (*QuotaSpecBindingList) DeepCopyInto

func (in *QuotaSpecBindingList) DeepCopyInto(out *QuotaSpecBindingList)

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

func (*QuotaSpecBindingList) DeepCopyObject

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

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

func (*QuotaSpecBindingList) GetItems

func (in *QuotaSpecBindingList) GetItems() []IstioObject

GetItems from a wrapper

type QuotaSpecList

type QuotaSpecList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []QuotaSpec `json:"items"`
}

QuotaSpecList is the generic Kubernetes API list wrapper

func (*QuotaSpecList) DeepCopy

func (in *QuotaSpecList) DeepCopy() *QuotaSpecList

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

func (*QuotaSpecList) DeepCopyInto

func (in *QuotaSpecList) DeepCopyInto(out *QuotaSpecList)

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

func (*QuotaSpecList) DeepCopyObject

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

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

func (*QuotaSpecList) GetItems

func (in *QuotaSpecList) GetItems() []IstioObject

GetItems from a wrapper

type RouteRule

type RouteRule struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               map[string]interface{} `json:"spec"`
}

RouteRule is the generic Kubernetes API object wrapper

func (*RouteRule) DeepCopy

func (in *RouteRule) DeepCopy() *RouteRule

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

func (*RouteRule) DeepCopyInto

func (in *RouteRule) DeepCopyInto(out *RouteRule)

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

func (*RouteRule) DeepCopyObject

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

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

func (*RouteRule) GetObjectMeta

func (in *RouteRule) GetObjectMeta() meta_v1.ObjectMeta

GetObjectMeta from a wrapper

func (*RouteRule) GetSpec

func (in *RouteRule) GetSpec() map[string]interface{}

GetSpec from a wrapper

func (*RouteRule) SetObjectMeta

func (in *RouteRule) SetObjectMeta(metadata meta_v1.ObjectMeta)

SetObjectMeta for a wrapper

func (*RouteRule) SetSpec

func (in *RouteRule) SetSpec(spec map[string]interface{})

SetSpec for a wrapper

type RouteRuleList

type RouteRuleList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`
	Items            []RouteRule `json:"items"`
}

RouteRuleList is the generic Kubernetes API list wrapper

func (*RouteRuleList) DeepCopy

func (in *RouteRuleList) DeepCopy() *RouteRuleList

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

func (*RouteRuleList) DeepCopyInto

func (in *RouteRuleList) DeepCopyInto(out *RouteRuleList)

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

func (*RouteRuleList) DeepCopyObject

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

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

func (*RouteRuleList) GetItems

func (in *RouteRuleList) GetItems() []IstioObject

GetItems from a wrapper

Jump to

Keyboard shortcuts

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