crd

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 33 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 (

	// InvalidCRDs contains a sync.Map keyed by the namespace/name of the entry, and has the error as value.
	// It can be used by tools like ctrlz to display the errors.
	InvalidCRDs atomic.Value
)

Functions

func CamelCaseToKebabCase

func CamelCaseToKebabCase(s string) string

CamelCaseToKebabCase 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 ConvertObjectFromUnstructured

func ConvertObjectFromUnstructured(schema model.ProtoSchema, un *unstructured.Unstructured, domain string) (*model.Config, error)

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

func KebabCaseToCamelCase

func KebabCaseToCamelCase(s string) string

KebabCaseToCamelCase 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 ResourceGroup

func ResourceGroup(schema *model.ProtoSchema) string

ResourceGroup generates the k8s API group for each schema.

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 AuthorizationPolicy

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

AuthorizationPolicy is the generic Kubernetes API object wrapper

func (*AuthorizationPolicy) DeepCopy

func (in *AuthorizationPolicy) DeepCopy() *AuthorizationPolicy

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

func (*AuthorizationPolicy) DeepCopyInto

func (in *AuthorizationPolicy) DeepCopyInto(out *AuthorizationPolicy)

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

func (*AuthorizationPolicy) DeepCopyObject

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

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

func (*AuthorizationPolicy) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*AuthorizationPolicy) GetSpec

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

GetSpec from a wrapper

func (*AuthorizationPolicy) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*AuthorizationPolicy) SetSpec

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

SetSpec for a wrapper

type AuthorizationPolicyList

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

AuthorizationPolicyList is the generic Kubernetes API list wrapper

func (*AuthorizationPolicyList) DeepCopy

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

func (*AuthorizationPolicyList) DeepCopyInto

func (in *AuthorizationPolicyList) DeepCopyInto(out *AuthorizationPolicyList)

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

func (*AuthorizationPolicyList) DeepCopyObject

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

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

func (*AuthorizationPolicyList) GetItems

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

GetItems from a wrapper

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, context 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. You can also choose a config context by providing the desired context name.

func NewForConfig

func NewForConfig(cfg *rest.Config, descriptor model.ConfigDescriptor, domainSuffix string) (*Client, error)

NewForConfig creates a client to the Kubernetes API using a rest config.

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

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 ClusterRbacConfig

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

ClusterRbacConfig is the generic Kubernetes API object wrapper

func (*ClusterRbacConfig) DeepCopy

func (in *ClusterRbacConfig) DeepCopy() *ClusterRbacConfig

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

func (*ClusterRbacConfig) DeepCopyInto

func (in *ClusterRbacConfig) DeepCopyInto(out *ClusterRbacConfig)

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

func (*ClusterRbacConfig) DeepCopyObject

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

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

func (*ClusterRbacConfig) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*ClusterRbacConfig) GetSpec

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

GetSpec from a wrapper

func (*ClusterRbacConfig) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*ClusterRbacConfig) SetSpec

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

SetSpec for a wrapper

type ClusterRbacConfigList

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

ClusterRbacConfigList is the generic Kubernetes API list wrapper

func (*ClusterRbacConfigList) DeepCopy

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

func (*ClusterRbacConfigList) DeepCopyInto

func (in *ClusterRbacConfigList) DeepCopyInto(out *ClusterRbacConfigList)

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

func (*ClusterRbacConfigList) DeepCopyObject

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

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

func (*ClusterRbacConfigList) GetItems

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

GetItems from a wrapper

type DestinationRule

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

DestinationRule is the generic Kubernetes API object wrapper

func (*DestinationRule) DeepCopy

func (in *DestinationRule) DeepCopy() *DestinationRule

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

func (*DestinationRule) DeepCopyInto

func (in *DestinationRule) DeepCopyInto(out *DestinationRule)

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

func (*DestinationRule) DeepCopyObject

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

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

func (*DestinationRule) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*DestinationRule) GetSpec

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

GetSpec from a wrapper

func (*DestinationRule) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*DestinationRule) SetSpec

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

SetSpec for a wrapper

type DestinationRuleList

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

DestinationRuleList is the generic Kubernetes API list wrapper

func (*DestinationRuleList) DeepCopy

func (in *DestinationRuleList) DeepCopy() *DestinationRuleList

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

func (*DestinationRuleList) DeepCopyInto

func (in *DestinationRuleList) DeepCopyInto(out *DestinationRuleList)

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

func (*DestinationRuleList) DeepCopyObject

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

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

func (*DestinationRuleList) GetItems

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

GetItems from a wrapper

type EnvoyFilter

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

EnvoyFilter is the generic Kubernetes API object wrapper

func (*EnvoyFilter) DeepCopy

func (in *EnvoyFilter) DeepCopy() *EnvoyFilter

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

func (*EnvoyFilter) DeepCopyInto

func (in *EnvoyFilter) DeepCopyInto(out *EnvoyFilter)

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

func (*EnvoyFilter) DeepCopyObject

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

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

func (*EnvoyFilter) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*EnvoyFilter) GetSpec

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

GetSpec from a wrapper

func (*EnvoyFilter) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*EnvoyFilter) SetSpec

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

SetSpec for a wrapper

type EnvoyFilterList

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

EnvoyFilterList is the generic Kubernetes API list wrapper

func (*EnvoyFilterList) DeepCopy

func (in *EnvoyFilterList) DeepCopy() *EnvoyFilterList

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

func (*EnvoyFilterList) DeepCopyInto

func (in *EnvoyFilterList) DeepCopyInto(out *EnvoyFilterList)

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

func (*EnvoyFilterList) DeepCopyObject

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

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

func (*EnvoyFilterList) GetItems

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

GetItems from a wrapper

type Gateway

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

Gateway is the generic Kubernetes API object wrapper

func (*Gateway) DeepCopy

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto

func (in *Gateway) DeepCopyInto(out *Gateway)

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

func (*Gateway) DeepCopyObject

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

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

func (*Gateway) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*Gateway) GetSpec

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

GetSpec from a wrapper

func (*Gateway) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*Gateway) SetSpec

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

SetSpec for a wrapper

type GatewayList

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

GatewayList is the generic Kubernetes API list wrapper

func (*GatewayList) DeepCopy

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto

func (in *GatewayList) DeepCopyInto(out *GatewayList)

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

func (*GatewayList) DeepCopyObject

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

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

func (*GatewayList) GetItems

func (in *GatewayList) 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 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 ParseInputsWithoutValidation

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

ParseInputsWithoutValidation same as ParseInputs, but do not apply schema validation.

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 MeshPolicy

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

MeshPolicy is the generic Kubernetes API object wrapper

func (*MeshPolicy) DeepCopy

func (in *MeshPolicy) DeepCopy() *MeshPolicy

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

func (*MeshPolicy) DeepCopyInto

func (in *MeshPolicy) DeepCopyInto(out *MeshPolicy)

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

func (*MeshPolicy) DeepCopyObject

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

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

func (*MeshPolicy) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*MeshPolicy) GetSpec

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

GetSpec from a wrapper

func (*MeshPolicy) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*MeshPolicy) SetSpec

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

SetSpec for a wrapper

type MeshPolicyList

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

MeshPolicyList is the generic Kubernetes API list wrapper

func (*MeshPolicyList) DeepCopy

func (in *MeshPolicyList) DeepCopy() *MeshPolicyList

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

func (*MeshPolicyList) DeepCopyInto

func (in *MeshPolicyList) DeepCopyInto(out *MeshPolicyList)

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

func (*MeshPolicyList) DeepCopyObject

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

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

func (*MeshPolicyList) GetItems

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

GetItems from a wrapper

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 Policy

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

Policy is the generic Kubernetes API object wrapper

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*Policy) GetSpec

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

GetSpec from a wrapper

func (*Policy) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*Policy) SetSpec

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

SetSpec for a wrapper

type PolicyList

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

PolicyList is the generic Kubernetes API list wrapper

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

func (*PolicyList) GetItems

func (in *PolicyList) 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 RbacConfig

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

RbacConfig is the generic Kubernetes API object wrapper

func (*RbacConfig) DeepCopy

func (in *RbacConfig) DeepCopy() *RbacConfig

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

func (*RbacConfig) DeepCopyInto

func (in *RbacConfig) DeepCopyInto(out *RbacConfig)

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

func (*RbacConfig) DeepCopyObject

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

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

func (*RbacConfig) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*RbacConfig) GetSpec

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

GetSpec from a wrapper

func (*RbacConfig) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*RbacConfig) SetSpec

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

SetSpec for a wrapper

type RbacConfigList

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

RbacConfigList is the generic Kubernetes API list wrapper

func (*RbacConfigList) DeepCopy

func (in *RbacConfigList) DeepCopy() *RbacConfigList

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

func (*RbacConfigList) DeepCopyInto

func (in *RbacConfigList) DeepCopyInto(out *RbacConfigList)

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

func (*RbacConfigList) DeepCopyObject

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

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

func (*RbacConfigList) GetItems

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

GetItems from a wrapper

type ServiceEntry

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

ServiceEntry is the generic Kubernetes API object wrapper

func (*ServiceEntry) DeepCopy

func (in *ServiceEntry) DeepCopy() *ServiceEntry

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

func (*ServiceEntry) DeepCopyInto

func (in *ServiceEntry) DeepCopyInto(out *ServiceEntry)

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

func (*ServiceEntry) DeepCopyObject

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

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

func (*ServiceEntry) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*ServiceEntry) GetSpec

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

GetSpec from a wrapper

func (*ServiceEntry) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*ServiceEntry) SetSpec

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

SetSpec for a wrapper

type ServiceEntryList

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

ServiceEntryList is the generic Kubernetes API list wrapper

func (*ServiceEntryList) DeepCopy

func (in *ServiceEntryList) DeepCopy() *ServiceEntryList

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

func (*ServiceEntryList) DeepCopyInto

func (in *ServiceEntryList) DeepCopyInto(out *ServiceEntryList)

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

func (*ServiceEntryList) DeepCopyObject

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

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

func (*ServiceEntryList) GetItems

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

GetItems from a wrapper

type ServiceRole

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

ServiceRole is the generic Kubernetes API object wrapper

func (*ServiceRole) DeepCopy

func (in *ServiceRole) DeepCopy() *ServiceRole

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

func (*ServiceRole) DeepCopyInto

func (in *ServiceRole) DeepCopyInto(out *ServiceRole)

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

func (*ServiceRole) DeepCopyObject

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

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

func (*ServiceRole) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*ServiceRole) GetSpec

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

GetSpec from a wrapper

func (*ServiceRole) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*ServiceRole) SetSpec

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

SetSpec for a wrapper

type ServiceRoleBinding

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

ServiceRoleBinding is the generic Kubernetes API object wrapper

func (*ServiceRoleBinding) DeepCopy

func (in *ServiceRoleBinding) DeepCopy() *ServiceRoleBinding

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

func (*ServiceRoleBinding) DeepCopyInto

func (in *ServiceRoleBinding) DeepCopyInto(out *ServiceRoleBinding)

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

func (*ServiceRoleBinding) DeepCopyObject

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

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

func (*ServiceRoleBinding) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*ServiceRoleBinding) GetSpec

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

GetSpec from a wrapper

func (*ServiceRoleBinding) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*ServiceRoleBinding) SetSpec

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

SetSpec for a wrapper

type ServiceRoleBindingList

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

ServiceRoleBindingList is the generic Kubernetes API list wrapper

func (*ServiceRoleBindingList) DeepCopy

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

func (*ServiceRoleBindingList) DeepCopyInto

func (in *ServiceRoleBindingList) DeepCopyInto(out *ServiceRoleBindingList)

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

func (*ServiceRoleBindingList) DeepCopyObject

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

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

func (*ServiceRoleBindingList) GetItems

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

GetItems from a wrapper

type ServiceRoleList

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

ServiceRoleList is the generic Kubernetes API list wrapper

func (*ServiceRoleList) DeepCopy

func (in *ServiceRoleList) DeepCopy() *ServiceRoleList

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

func (*ServiceRoleList) DeepCopyInto

func (in *ServiceRoleList) DeepCopyInto(out *ServiceRoleList)

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

func (*ServiceRoleList) DeepCopyObject

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

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

func (*ServiceRoleList) GetItems

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

GetItems from a wrapper

type Sidecar

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

Sidecar is the generic Kubernetes API object wrapper

func (*Sidecar) DeepCopy

func (in *Sidecar) DeepCopy() *Sidecar

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

func (*Sidecar) DeepCopyInto

func (in *Sidecar) DeepCopyInto(out *Sidecar)

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

func (*Sidecar) DeepCopyObject

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

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

func (*Sidecar) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*Sidecar) GetSpec

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

GetSpec from a wrapper

func (*Sidecar) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*Sidecar) SetSpec

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

SetSpec for a wrapper

type SidecarList

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

SidecarList is the generic Kubernetes API list wrapper

func (*SidecarList) DeepCopy

func (in *SidecarList) DeepCopy() *SidecarList

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

func (*SidecarList) DeepCopyInto

func (in *SidecarList) DeepCopyInto(out *SidecarList)

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

func (*SidecarList) DeepCopyObject

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

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

func (*SidecarList) GetItems

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

GetItems from a wrapper

type VirtualService

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

VirtualService is the generic Kubernetes API object wrapper

func (*VirtualService) DeepCopy

func (in *VirtualService) DeepCopy() *VirtualService

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

func (*VirtualService) DeepCopyInto

func (in *VirtualService) DeepCopyInto(out *VirtualService)

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

func (*VirtualService) DeepCopyObject

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

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

func (*VirtualService) GetObjectMeta

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

GetObjectMeta from a wrapper

func (*VirtualService) GetSpec

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

GetSpec from a wrapper

func (*VirtualService) SetObjectMeta

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

SetObjectMeta for a wrapper

func (*VirtualService) SetSpec

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

SetSpec for a wrapper

type VirtualServiceList

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

VirtualServiceList is the generic Kubernetes API list wrapper

func (*VirtualServiceList) DeepCopy

func (in *VirtualServiceList) DeepCopy() *VirtualServiceList

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

func (*VirtualServiceList) DeepCopyInto

func (in *VirtualServiceList) DeepCopyInto(out *VirtualServiceList)

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

func (*VirtualServiceList) DeepCopyObject

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

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

func (*VirtualServiceList) GetItems

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

GetItems from a wrapper

Jump to

Keyboard shortcuts

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