v1

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the mesh v1 API group +kubebuilder:object:generate=true +groupName=storage.webmesh.io

Index

Constants

View Source
const (
	// FieldOwner is the field used to identify the owner of mesh data.
	FieldOwner = "storage.webmesh.io"
	// NodeIDLabel is the label used to store the node ID.
	NodeIDLabel = "webmesh.io/node-id"
	// PublicKeyLabel is the label used to store the hashed public key of a node.
	PublicKeyLabel = "webmesh.io/public-key"
	// NodeIPv4Label is the label used to store the IPv4 address of a node.
	NodeIPv4Label = "webmesh.io/node-ipv4"
	// NodeIPv6Label is the label used to store the IPv6 address of a node.
	NodeIPv6Label = "webmesh.io/node-ipv6"
	// EdgeSourceLabel is the label used to store the source node ID.
	EdgeSourceLabel = "webmesh.io/edge-source"
	// EdgeTargetLabel is the label used to store the target node ID.
	EdgeTargetLabel = "webmesh.io/edge-target"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "storage.webmesh.io", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var CustomObjects = []client.Object{
	&MeshState{},
	&Peer{},
	&MeshEdge{},
	&NetworkACL{},
	&Route{},
	&Role{},
	&RoleBinding{},
	&Group{},
	&StoragePeer{},
}

CustomObjects is a list of all custom objects used for storage.

View Source
var GroupTypeMeta = metav1.TypeMeta{
	APIVersion: GroupVersion.String(),
	Kind:       "Group",
}

GroupTypeMeta is the type meta for a Group.

View Source
var MeshEdgeTypeMeta = metav1.TypeMeta{
	APIVersion: GroupVersion.String(),
	Kind:       "MeshEdge",
}

MeshEdgeTypeMeta is the type meta for a MeshEdge.

View Source
var MeshStateTypeMeta = metav1.TypeMeta{
	APIVersion: GroupVersion.String(),
	Kind:       "MeshState",
}

MeshStateTypeMeta is the type meta for a MeshState.

View Source
var NetworkACLTypeMeta = metav1.TypeMeta{
	APIVersion: GroupVersion.String(),
	Kind:       "NetworkACL",
}

NetworkACLTypeMeta is the type meta for a NetworkACL.

View Source
var PeerTypeMeta = metav1.TypeMeta{
	APIVersion: GroupVersion.String(),
	Kind:       "Peer",
}

PeerTypeMeta is the type meta for a Peer.

View Source
var RoleBindingTypeMeta = metav1.TypeMeta{
	APIVersion: GroupVersion.String(),
	Kind:       "RoleBinding",
}

RoleBindingTypeMeta is the type meta for a RoleBinding.

View Source
var RoleTypeMeta = metav1.TypeMeta{
	APIVersion: GroupVersion.String(),
	Kind:       "Role",
}

RoleTypeMeta is the type meta for a Role.

View Source
var RouteTypeMeta = metav1.TypeMeta{
	APIVersion: GroupVersion.String(),
	Kind:       "Route",
}

RouteTypeMeta is the type meta for a Route.

View Source
var StoragePeerTypeMeta = metav1.TypeMeta{
	APIVersion: GroupVersion.String(),
	Kind:       "StoragePeer",
}

StoragePeerTypeMeta is the type meta for a StoragePeer.

Functions

func GetCustomResourceDefintions

func GetCustomResourceDefintions() []*apiextensionsv1.CustomResourceDefinition

GetCustomResourceDefintions returns a list of all CRDs used for storage.

Types

type Group

type Group struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	types.Group       `json:",inline"`
}

Group is the Schema for the Groups API.

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

func (*Group) DeepCopyObject

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

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

type GroupList

type GroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Group `json:"items"`
}

GroupList contains a list of groups.

func (*GroupList) DeepCopy

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

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

func (*GroupList) DeepCopyObject

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

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

type MeshEdge

type MeshEdge struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	types.MeshEdge    `json:",inline"`
}

MeshEdge is the Schema for the MeshEdges API.

func (*MeshEdge) DeepCopy

func (in *MeshEdge) DeepCopy() *MeshEdge

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

func (*MeshEdge) DeepCopyInto

func (in *MeshEdge) DeepCopyInto(out *MeshEdge)

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

func (*MeshEdge) DeepCopyObject

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

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

type MeshEdgeList

type MeshEdgeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MeshEdge `json:"items"`
}

MeshEdgeList contains a list of edges.

func (*MeshEdgeList) DeepCopy

func (in *MeshEdgeList) DeepCopy() *MeshEdgeList

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

func (*MeshEdgeList) DeepCopyInto

func (in *MeshEdgeList) DeepCopyInto(out *MeshEdgeList)

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

func (*MeshEdgeList) DeepCopyObject

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

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

type MeshState

type MeshState struct {
	metav1.TypeMeta    `json:",inline"`
	metav1.ObjectMeta  `json:"metadata,omitempty"`
	types.NetworkState `json:",inline"`
}

MeshState is the Schema for the MeshState API.

func (*MeshState) DeepCopy

func (in *MeshState) DeepCopy() *MeshState

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

func (*MeshState) DeepCopyInto

func (in *MeshState) DeepCopyInto(out *MeshState)

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

func (*MeshState) DeepCopyObject

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

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

type MeshStateList

type MeshStateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MeshState `json:"items"`
}

MeshStateList contains a list of meshstates.

func (*MeshStateList) DeepCopy

func (in *MeshStateList) DeepCopy() *MeshStateList

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

func (*MeshStateList) DeepCopyInto

func (in *MeshStateList) DeepCopyInto(out *MeshStateList)

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

func (*MeshStateList) DeepCopyObject

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

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

type NetworkACL

type NetworkACL struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	types.NetworkACL  `json:",inline"`
}

NetworkACL is the Schema for the NetworkACLs API.

func (*NetworkACL) DeepCopy

func (in *NetworkACL) DeepCopy() *NetworkACL

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

func (*NetworkACL) DeepCopyInto

func (in *NetworkACL) DeepCopyInto(out *NetworkACL)

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

func (*NetworkACL) DeepCopyObject

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

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

type NetworkACLList

type NetworkACLList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NetworkACL `json:"items"`
}

NetworkACLList contains a list of network acls.

func (*NetworkACLList) DeepCopy

func (in *NetworkACLList) DeepCopy() *NetworkACLList

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

func (*NetworkACLList) DeepCopyInto

func (in *NetworkACLList) DeepCopyInto(out *NetworkACLList)

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

func (*NetworkACLList) DeepCopyObject

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

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

type Peer

type Peer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	types.MeshNode    `json:",inline"`
}

Peer is the Schema for the peers API.

func (*Peer) DeepCopy

func (in *Peer) DeepCopy() *Peer

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

func (*Peer) DeepCopyInto

func (in *Peer) DeepCopyInto(out *Peer)

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

func (*Peer) DeepCopyObject

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

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

type PeerList

type PeerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Peer `json:"items"`
}

PeerList contains a list of peers.

func (*PeerList) DeepCopy

func (in *PeerList) DeepCopy() *PeerList

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

func (*PeerList) DeepCopyInto

func (in *PeerList) DeepCopyInto(out *PeerList)

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

func (*PeerList) DeepCopyObject

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

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

type Role

type Role struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	types.Role        `json:",omitempty"`
}

Role is the Schema for the roles API.

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

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

func (*Role) DeepCopyObject

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

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

type RoleBinding

type RoleBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	types.RoleBinding `json:",inline"`
}

RoleBinding is the Schema for the rolebindings API.

func (*RoleBinding) DeepCopy

func (in *RoleBinding) DeepCopy() *RoleBinding

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

func (*RoleBinding) DeepCopyInto

func (in *RoleBinding) DeepCopyInto(out *RoleBinding)

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

func (*RoleBinding) DeepCopyObject

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

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

type RoleBindingList

type RoleBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RoleBinding `json:"items"`
}

RoleList contains a list of rolebindings.

func (*RoleBindingList) DeepCopy

func (in *RoleBindingList) DeepCopy() *RoleBindingList

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

func (*RoleBindingList) DeepCopyInto

func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList)

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

func (*RoleBindingList) DeepCopyObject

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

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

type RoleList

type RoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Role `json:"items"`
}

RoleList contains a list of roles.

func (*RoleList) DeepCopy

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

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

func (*RoleList) DeepCopyObject

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

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

type Route

type Route struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	types.Route       `json:",inline"`
}

Route is the Schema for the Routes API.

func (*Route) DeepCopy

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

func (*Route) DeepCopyObject

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

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

type RouteList

type RouteList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Route `json:"items"`
}

RouteList contains a list of routes.

func (*RouteList) DeepCopy

func (in *RouteList) DeepCopy() *RouteList

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

func (*RouteList) DeepCopyInto

func (in *RouteList) DeepCopyInto(out *RouteList)

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

func (*RouteList) DeepCopyObject

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

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

type StoragePeer added in v0.0.3

type StoragePeer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	types.StoragePeer `json:",inline"`
}

StoragePeer is the Schema for the StoragePeer API.

func (*StoragePeer) DeepCopy added in v0.0.3

func (in *StoragePeer) DeepCopy() *StoragePeer

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

func (*StoragePeer) DeepCopyInto added in v0.0.3

func (in *StoragePeer) DeepCopyInto(out *StoragePeer)

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

func (*StoragePeer) DeepCopyObject added in v0.0.3

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

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

type StoragePeerList added in v0.0.3

type StoragePeerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StoragePeer `json:"items"`
}

StoragePeerList contains a list of storage peers.

func (*StoragePeerList) DeepCopy added in v0.0.3

func (in *StoragePeerList) DeepCopy() *StoragePeerList

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

func (*StoragePeerList) DeepCopyInto added in v0.0.3

func (in *StoragePeerList) DeepCopyInto(out *StoragePeerList)

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

func (*StoragePeerList) DeepCopyObject added in v0.0.3

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

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

Jump to

Keyboard shortcuts

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