v1alpha1

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=networkservicemesh.io

Index

Constants

View Source
const (
	OFFLINE = "OFFLINE"
	RUNNING = "RUNNING"
	PAUSED  = "PAUSED"
	ERROR   = "ERROR"
)

Variables

View Source
var AddToScheme = scheme.AddToScheme
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   networkservice.GroupName,
	Version: "v1alpha1",
}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type Destination

type Destination struct {
	DestinationSelector map[string]string `json:"destinationSelector,omitempty"`
	Weight              uint32            `json:"weight,omitempty"`
}

func (*Destination) DeepCopy

func (in *Destination) DeepCopy() *Destination

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

func (*Destination) DeepCopyInto

func (in *Destination) DeepCopyInto(out *Destination)

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

type Match

type Match struct {
	SourceSelector map[string]string `json:"sourceSelector,omitempty"`
	Routes         []*Destination    `json:"route"`
}

func (*Match) DeepCopy

func (in *Match) DeepCopy() *Match

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

func (*Match) DeepCopyInto

func (in *Match) DeepCopyInto(out *Match)

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

type NetworkService

type NetworkService struct {
	metaV1.TypeMeta   `json:",inline"`
	metaV1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NetworkServiceSpec   `json:"spec"`
	Status NetworkServiceStatus `json:"status"`
}

+genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NetworkService) DeepCopy

func (in *NetworkService) DeepCopy() *NetworkService

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

func (*NetworkService) DeepCopyInto

func (in *NetworkService) DeepCopyInto(out *NetworkService)

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

func (*NetworkService) DeepCopyObject

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

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

type NetworkServiceEndpoint

type NetworkServiceEndpoint struct {
	metaV1.TypeMeta   `json:",inline"`
	metaV1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NetworkServiceEndpointSpec   `json:"spec"`
	Status NetworkServiceEndpointStatus `json:"status"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NetworkServiceEndpoint) DeepCopy

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

func (*NetworkServiceEndpoint) DeepCopyInto

func (in *NetworkServiceEndpoint) DeepCopyInto(out *NetworkServiceEndpoint)

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

func (*NetworkServiceEndpoint) DeepCopyObject

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

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

type NetworkServiceEndpointList

type NetworkServiceEndpointList struct {
	metaV1.TypeMeta `json:",inline"`
	metaV1.ListMeta `json:"metadata,omitempty"`

	Items []NetworkServiceEndpoint `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NetworkServiceEndpointList) DeepCopy

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

func (*NetworkServiceEndpointList) DeepCopyInto

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

func (*NetworkServiceEndpointList) DeepCopyObject

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

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

type NetworkServiceEndpointSpec

type NetworkServiceEndpointSpec struct {
	NetworkServiceName string `json:"networkservicename"`
	Payload            string `json:"payload"`
	NsmName            string `json:"nsmname"`
}

func (*NetworkServiceEndpointSpec) DeepCopy

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

func (*NetworkServiceEndpointSpec) DeepCopyInto

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

type NetworkServiceEndpointStatus

type NetworkServiceEndpointStatus struct {
	State State `json:"state"`
}

func (*NetworkServiceEndpointStatus) DeepCopy

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

func (*NetworkServiceEndpointStatus) DeepCopyInto

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

type NetworkServiceList

type NetworkServiceList struct {
	metaV1.TypeMeta `json:",inline"`
	metaV1.ListMeta `json:"metadata,omitempty"`

	Items []NetworkService `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NetworkServiceList) DeepCopy

func (in *NetworkServiceList) DeepCopy() *NetworkServiceList

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

func (*NetworkServiceList) DeepCopyInto

func (in *NetworkServiceList) DeepCopyInto(out *NetworkServiceList)

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

func (*NetworkServiceList) DeepCopyObject

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

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

type NetworkServiceManager

type NetworkServiceManager struct {
	metaV1.TypeMeta   `json:",inline"`
	metaV1.ObjectMeta `json:"metadata,omitempty"`

	Spec   NetworkServiceManagerSpec   `json:"spec"`
	Status NetworkServiceManagerStatus `json:"status"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NetworkServiceManager) DeepCopy

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

func (*NetworkServiceManager) DeepCopyInto

func (in *NetworkServiceManager) DeepCopyInto(out *NetworkServiceManager)

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

func (*NetworkServiceManager) DeepCopyObject

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

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

type NetworkServiceManagerList

type NetworkServiceManagerList struct {
	metaV1.TypeMeta `json:",inline"`
	metaV1.ListMeta `json:"metadata,omitempty"`

	Items []NetworkServiceManager `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*NetworkServiceManagerList) DeepCopy

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

func (*NetworkServiceManagerList) DeepCopyInto

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

func (*NetworkServiceManagerList) DeepCopyObject

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

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

type NetworkServiceManagerSpec

type NetworkServiceManagerSpec struct {
	URL            string      `json:"url"`
	ExpirationTime metaV1.Time `json:"expirationtime"`
}

func (*NetworkServiceManagerSpec) DeepCopy

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

func (*NetworkServiceManagerSpec) DeepCopyInto

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

type NetworkServiceManagerStatus

type NetworkServiceManagerStatus struct {
	State State `json:"state"`
}

func (*NetworkServiceManagerStatus) DeepCopy

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

func (*NetworkServiceManagerStatus) DeepCopyInto

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

type NetworkServiceSpec

type NetworkServiceSpec struct {
	Payload string   `json:"payload"`
	Matches []*Match `json:"matches"`
}

func (*NetworkServiceSpec) DeepCopy

func (in *NetworkServiceSpec) DeepCopy() *NetworkServiceSpec

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

func (*NetworkServiceSpec) DeepCopyInto

func (in *NetworkServiceSpec) DeepCopyInto(out *NetworkServiceSpec)

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

type NetworkServiceStatus

type NetworkServiceStatus struct{}

func (*NetworkServiceStatus) DeepCopy

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

func (*NetworkServiceStatus) DeepCopyInto

func (in *NetworkServiceStatus) DeepCopyInto(out *NetworkServiceStatus)

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

type State

type State string

Jump to

Keyboard shortcuts

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