shared

package
v0.17.7 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 5

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:openapi-gen=true +gencrdrefdocs:force=true

Index

Constants

View Source
const (
	GraphQueryVarSource      = "src"
	GraphQueryVarTargetGroup = "targetGroup"
	GraphQueryVarTargetKind  = "targetKind"
)

Variables

This section is empty.

Functions

Types

type Action added in v0.14.1

type Action struct {
	ActionInfo `json:",inline,omitempty"`
	// +optional
	Icons       []helmshared.ImageSpec      `json:"icons,omitempty"`
	OperationID string                      `json:"operationId"`
	Flow        string                      `json:"flow"`
	Disabled    bool                        `json:"disabled"`
	Editor      *releasesapi.ChartSourceRef `json:"editor,omitempty"`
}

func (*Action) DeepCopy added in v0.14.1

func (in *Action) DeepCopy() *Action

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

func (*Action) DeepCopyInto added in v0.14.1

func (in *Action) DeepCopyInto(out *Action)

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

type ActionGroup added in v0.14.1

type ActionGroup struct {
	ActionInfo `json:",inline,omitempty"`
	Items      []Action `json:"items"`
}

func (*ActionGroup) DeepCopy added in v0.14.1

func (in *ActionGroup) DeepCopy() *ActionGroup

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

func (*ActionGroup) DeepCopyInto added in v0.14.1

func (in *ActionGroup) DeepCopyInto(out *ActionGroup)

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

type ActionInfo added in v0.14.1

type ActionInfo struct {
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

func (*ActionInfo) DeepCopy added in v0.14.1

func (in *ActionInfo) DeepCopy() *ActionInfo

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

func (*ActionInfo) DeepCopyInto added in v0.14.1

func (in *ActionInfo) DeepCopyInto(out *ActionInfo)

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

type ActionTemplate added in v0.14.1

type ActionTemplate struct {
	ActionInfo `json:",inline,omitempty"`
	// +optional
	Icons            []helmshared.ImageSpec      `json:"icons,omitempty"`
	OperationID      string                      `json:"operationId"`
	Flow             string                      `json:"flow"`
	DisabledTemplate string                      `json:"disabledTemplate,omitempty"`
	Editor           *releasesapi.ChartSourceRef `json:"editor,omitempty"`
}

func (*ActionTemplate) DeepCopy added in v0.14.1

func (in *ActionTemplate) DeepCopy() *ActionTemplate

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

func (*ActionTemplate) DeepCopyInto added in v0.14.1

func (in *ActionTemplate) DeepCopyInto(out *ActionTemplate)

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

type ActionTemplateGroup added in v0.14.1

type ActionTemplateGroup struct {
	ActionInfo `json:",inline,omitempty"`
	Items      []ActionTemplate `json:"items"`
}

func (*ActionTemplateGroup) DeepCopy added in v0.14.1

func (in *ActionTemplateGroup) DeepCopy() *ActionTemplateGroup

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

func (*ActionTemplateGroup) DeepCopyInto added in v0.14.1

func (in *ActionTemplateGroup) DeepCopyInto(out *ActionTemplateGroup)

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

type Dashboard

type Dashboard struct {
	// +optional
	Title string `json:"title,omitempty"`
	// +optional
	Vars []DashboardVar `json:"vars,omitempty"`
	// +optional
	Panels []string `json:"panels,omitempty"`
	// +optional
	If *If `json:"if,omitempty"`
}

func (*Dashboard) DeepCopy

func (in *Dashboard) DeepCopy() *Dashboard

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

func (*Dashboard) DeepCopyInto

func (in *Dashboard) DeepCopyInto(out *Dashboard)

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

type DashboardVar

type DashboardVar struct {
	Name  string `json:"name"`
	Value string `json:"value"`
	// +optional
	// +kubebuilder:default:=Source
	Type DashboardVarType `json:"type,omitempty"`
}

func (*DashboardVar) DeepCopy

func (in *DashboardVar) DeepCopy() *DashboardVar

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

func (*DashboardVar) DeepCopyInto

func (in *DashboardVar) DeepCopyInto(out *DashboardVar)

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

type DashboardVarType

type DashboardVarType string

+kubebuilder:validation:Enum=Source;Target

const (
	DashboardVarTypeSource DashboardVarType = "Source"
	DashboardVarTypeTarget DashboardVarType = "Target"
)

type DeploymentParameters

type DeploymentParameters struct {
	ProductID string                      `json:"productID,omitempty"`
	PlanID    string                      `json:"planID,omitempty"`
	Chart     *releasesapi.ChartSourceRef `json:"chart,omitempty"`
}

func (*DeploymentParameters) DeepCopy

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

func (*DeploymentParameters) DeepCopyInto

func (in *DeploymentParameters) DeepCopyInto(out *DeploymentParameters)

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

type If

type If struct {
	Condition string           `json:"condition,omitempty"`
	Connected *ResourceLocator `json:"connected,omitempty"`
}

func (*If) DeepCopy

func (in *If) DeepCopy() *If

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

func (*If) DeepCopyInto

func (in *If) DeepCopyInto(out *If)

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

type QueryType

type QueryType string

+kubebuilder:validation:Enum=REST;GraphQL

const (
	RESTQuery    QueryType = "REST"
	GraphQLQuery QueryType = "GraphQL"
)

type ResourceLocator

type ResourceLocator struct {
	Ref   metav1.GroupKind `json:"ref"`
	Query ResourceQuery    `json:"query"`
}

func (*ResourceLocator) DeepCopy

func (in *ResourceLocator) DeepCopy() *ResourceLocator

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

func (*ResourceLocator) DeepCopyInto

func (in *ResourceLocator) DeepCopyInto(out *ResourceLocator)

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

func (ResourceLocator) GraphQuery

func (r ResourceLocator) GraphQuery(oid kmapi.OID) (string, map[string]interface{}, error)

type ResourceQuery

type ResourceQuery struct {
	Type    QueryType       `json:"type"`
	ByLabel kmapi.EdgeLabel `json:"byLabel,omitempty"`
	Raw     string          `json:"raw,omitempty"`
}

func (*ResourceQuery) DeepCopy

func (in *ResourceQuery) DeepCopy() *ResourceQuery

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

func (*ResourceQuery) DeepCopyInto

func (in *ResourceQuery) DeepCopyInto(out *ResourceQuery)

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

type UIParameterTemplate added in v0.14.1

type UIParameterTemplate struct {
	Options *releasesapi.ChartSourceRef `json:"options,omitempty"`
	Editor  *releasesapi.ChartSourceRef `json:"editor,omitempty"`
	// +optional
	Actions []*ActionTemplateGroup `json:"actions,omitempty"`
	// app.kubernetes.io/instance label must be updated at these paths when refilling metadata
	// +optional
	InstanceLabelPaths []string `json:"instanceLabelPaths,omitempty"`
}

func (*UIParameterTemplate) DeepCopy added in v0.14.1

func (in *UIParameterTemplate) DeepCopy() *UIParameterTemplate

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

func (*UIParameterTemplate) DeepCopyInto added in v0.14.1

func (in *UIParameterTemplate) DeepCopyInto(out *UIParameterTemplate)

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

type UIParameters

type UIParameters struct {
	Options *releasesapi.ChartSourceRef `json:"options,omitempty"`
	Editor  *releasesapi.ChartSourceRef `json:"editor,omitempty"`
	// +optional
	Actions []*ActionGroup `json:"actions,omitempty"`
	// app.kubernetes.io/instance label must be updated at these paths when refilling metadata
	// +optional
	InstanceLabelPaths []string `json:"instanceLabelPaths,omitempty"`
}

func (*UIParameters) DeepCopy

func (in *UIParameters) DeepCopy() *UIParameters

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

func (*UIParameters) DeepCopyInto

func (in *UIParameters) DeepCopyInto(out *UIParameters)

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

Jump to

Keyboard shortcuts

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