v1alpha1

package
v0.0.0-...-07ef16f Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: decepto.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AppGraph

type AppGraph struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AppGraphSpec   `json:"spec"`
	Status AppGraphStatus `json:"status,omitempty"`
}

AppGraph is a specification for a AppGraph resource +kubebuilder:subresource:status

func (*AppGraph) DeepCopy

func (in *AppGraph) DeepCopy() *AppGraph

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

func (*AppGraph) DeepCopyInto

func (in *AppGraph) DeepCopyInto(out *AppGraph)

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

func (*AppGraph) DeepCopyObject

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

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

type AppGraphDataFlow

type AppGraphDataFlow struct {
	Name          string `json:"name,omitempty"`
	SourceID      string `json:"sourceid"`
	DestinationID string `json:"destinationid"`
}

AppGraphDataFlow represent a data flow

func (*AppGraphDataFlow) DeepCopy

func (in *AppGraphDataFlow) DeepCopy() *AppGraphDataFlow

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

func (*AppGraphDataFlow) DeepCopyInto

func (in *AppGraphDataFlow) DeepCopyInto(out *AppGraphDataFlow)

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

type AppGraphList

type AppGraphList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

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

AppGraphList is a list of AppGraph resources

func (*AppGraphList) DeepCopy

func (in *AppGraphList) DeepCopy() *AppGraphList

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

func (*AppGraphList) DeepCopyInto

func (in *AppGraphList) DeepCopyInto(out *AppGraphList)

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

func (*AppGraphList) DeepCopyObject

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

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

type AppGraphMicroservice

type AppGraphMicroservice struct {
	Name          string            `json:"name"`
	IsDecoy       bool              `json:"isdecoy,omitempty"`
	SecurityScore resource.Quantity `json:"securityscore"`
}

AppGraphMicroservice represent a AppGraph microservice

func (*AppGraphMicroservice) DeepCopy

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

func (*AppGraphMicroservice) DeepCopyInto

func (in *AppGraphMicroservice) DeepCopyInto(out *AppGraphMicroservice)

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

type AppGraphSpec

type AppGraphSpec struct {
	Microservices []*AppGraphMicroservice `json:"microservices"`
	DataFlows     []*AppGraphDataFlow     `json:"dataflows,omitempty"`
}

AppGraphSpec is the spec for a AppGraph resource

func (*AppGraphSpec) DeepCopy

func (in *AppGraphSpec) DeepCopy() *AppGraphSpec

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

func (*AppGraphSpec) DeepCopyInto

func (in *AppGraphSpec) DeepCopyInto(out *AppGraphSpec)

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

type AppGraphStatus

type AppGraphStatus struct {
	CurrentStatus DeceptoStatus `json:"currentstatus"`
}

AppGraphStatus is the status for a FADepl resource

func (*AppGraphStatus) DeepCopy

func (in *AppGraphStatus) DeepCopy() *AppGraphStatus

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

func (*AppGraphStatus) DeepCopyInto

func (in *AppGraphStatus) DeepCopyInto(out *AppGraphStatus)

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

type DeceptoStatus

type DeceptoStatus int32

DeceptoStatus is a type for the possible status values

const (
	New DeceptoStatus = iota
	Synced
	Failed
	OutOfSync
)

Possible values of DeceptoStatus

Jump to

Keyboard shortcuts

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