v1alpha1

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationCMPEnabled = "akuity.io/enabled"
	AnnotationCMPImage   = "akuity.io/image"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppSetDelegate

type AppSetDelegate struct {
	ManagedCluster *ManagedCluster `json:"managedCluster,omitempty"`
}

type AppsetPolicy added in v0.6.0

type AppsetPolicy struct {
	Policy         string `json:"policy,omitempty"`
	OverridePolicy *bool  `json:"overridePolicy,omitempty"`
}

type ArgoCD

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

	Spec ArgoCDSpec `json:"spec,omitempty"`
}

type ArgoCDExtensionInstallEntry

type ArgoCDExtensionInstallEntry struct {
	Id      string `json:"id,omitempty"`
	Version string `json:"version,omitempty"`
}

type ArgoCDSpec

type ArgoCDSpec struct {
	Description  string       `json:"description"`
	Version      string       `json:"version"`
	InstanceSpec InstanceSpec `json:"instanceSpec,omitempty"`
}

type Cluster

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

	Spec ClusterSpec `json:"spec,omitempty"`
}

type ClusterCustomization

type ClusterCustomization struct {
	AutoUpgradeDisabled *bool                `json:"autoUpgradeDisabled,omitempty"`
	Kustomization       runtime.RawExtension `json:"kustomization,omitempty"`
	AppReplication      *bool                `json:"appReplication,omitempty"`
	RedisTunneling      *bool                `json:"redisTunneling,omitempty"`
}

type ClusterData

type ClusterData struct {
	Size                ClusterSize          `json:"size,omitempty"`
	AutoUpgradeDisabled *bool                `json:"autoUpgradeDisabled,omitempty"`
	Kustomization       runtime.RawExtension `json:"kustomization,omitempty"`
	AppReplication      *bool                `json:"appReplication,omitempty"`
	TargetVersion       string               `json:"targetVersion,omitempty"`
	RedisTunneling      *bool                `json:"redisTunneling,omitempty"`
}

type ClusterSize

type ClusterSize string

type ClusterSpec

type ClusterSpec struct {
	Description     string      `json:"description,omitempty"`
	NamespaceScoped bool        `json:"namespaceScoped,omitempty"`
	Data            ClusterData `json:"data,omitempty"`
}

type Command added in v0.6.2

type Command struct {
	Command []string `json:"command,omitempty"`
	Args    []string `json:"args,omitempty"`
}

type ConfigManagementPlugin added in v0.6.2

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

	Spec PluginSpec `json:"spec,omitempty"`
}

type Discover added in v0.6.2

type Discover struct {
	Find     *Find  `json:"find,omitempty"`
	FileName string `json:"fileName,omitempty"`
}

type Dynamic added in v0.6.2

type Dynamic struct {
	Command []string `json:"command,omitempty"`
	Args    []string `json:"args,omitempty"`
}

type Find added in v0.6.2

type Find struct {
	Command []string `json:"command,omitempty"`
	Args    []string `json:"args,omitempty"`
	Glob    string   `json:"glob,omitempty"`
}

type HostAliases added in v0.6.2

type HostAliases struct {
	Ip        string   `json:"ip,omitempty"`
	Hostnames []string `json:"hostnames,omitempty"`
}

type IPAllowListEntry

type IPAllowListEntry struct {
	Ip          string `json:"ip,omitempty"`
	Description string `json:"description,omitempty"`
}

type ImageUpdaterDelegate

type ImageUpdaterDelegate struct {
	ControlPlane   *bool           `json:"controlPlane,omitempty"`
	ManagedCluster *ManagedCluster `json:"managedCluster,omitempty"`
}

type InstanceSpec

type InstanceSpec struct {
	IpAllowList                  []*IPAllowListEntry            `json:"ipAllowList,omitempty"`
	Subdomain                    string                         `json:"subdomain,omitempty"`
	DeclarativeManagementEnabled *bool                          `json:"declarativeManagementEnabled,omitempty"`
	Extensions                   []*ArgoCDExtensionInstallEntry `json:"extensions,omitempty"`
	ClusterCustomizationDefaults *ClusterCustomization          `json:"clusterCustomizationDefaults,omitempty"`
	ImageUpdaterEnabled          *bool                          `json:"imageUpdaterEnabled,omitempty"`
	BackendIpAllowListEnabled    *bool                          `json:"backendIpAllowListEnabled,omitempty"`
	RepoServerDelegate           *RepoServerDelegate            `json:"repoServerDelegate,omitempty"`
	AuditExtensionEnabled        *bool                          `json:"auditExtensionEnabled,omitempty"`
	SyncHistoryExtensionEnabled  *bool                          `json:"syncHistoryExtensionEnabled,omitempty"`
	ImageUpdaterDelegate         *ImageUpdaterDelegate          `json:"imageUpdaterDelegate,omitempty"`
	AppSetDelegate               *AppSetDelegate                `json:"appSetDelegate,omitempty"`
	AssistantExtensionEnabled    *bool                          `json:"assistantExtensionEnabled,omitempty"`
	AppsetPolicy                 *AppsetPolicy                  `json:"appsetPolicy,omitempty"`
	HostAliases                  []*HostAliases                 `json:"hostAliases,omitempty"`
}

type ManagedCluster

type ManagedCluster struct {
	ClusterName string `json:"clusterName,omitempty"`
}

type ParameterAnnouncement added in v0.6.2

type ParameterAnnouncement struct {
	Name           string            `json:"name,omitempty"`
	Title          string            `json:"title,omitempty"`
	Tooltip        string            `json:"tooltip,omitempty"`
	Required       bool              `json:"required,omitempty"`
	ItemType       string            `json:"itemType,omitempty"`
	CollectionType string            `json:"collectionType,omitempty"`
	String_        string            `json:"string,omitempty"`
	Array          []string          `json:"array,omitempty"`
	Map            map[string]string `json:"map,omitempty"`
}

type Parameters added in v0.6.2

type Parameters struct {
	Static  []*ParameterAnnouncement `json:"static,omitempty"`
	Dynamic *Dynamic                 `json:"dynamic,omitempty"`
}

type PluginSpec added in v0.6.2

type PluginSpec struct {
	Version          string      `json:"version,omitempty"`
	Init             *Command    `json:"init,omitempty"`
	Generate         *Command    `json:"generate,omitempty"`
	Discover         *Discover   `json:"discover,omitempty"`
	Parameters       *Parameters `json:"parameters,omitempty"`
	PreserveFileMode bool        `json:"preserveFileMode,omitempty"`
}

type RepoServerDelegate

type RepoServerDelegate struct {
	ControlPlane   *bool           `json:"controlPlane,omitempty"`
	ManagedCluster *ManagedCluster `json:"managedCluster,omitempty"`
}

Jump to

Keyboard shortcuts

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