minio

package
v1.0.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: EUPL-1.2 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MinioOperator = component.BasicComponent{
		Name:   "minio",
		Source: "minio",
		Type:   "HelmRelease",
		Scope:  "Objectstore",
		DependsOn: []meta.NamespacedObjectReference{

			{
				Name: "cert-manager",
			},
			{
				Name: "ingress-nginx",
			},
		},
	}

	ObjectStorageOperator = component.BasicComponent{
		Name: "object-storage-operator",

		Type:     "Kustomization",
		Scope:    "Objectstore",
		Required: true,
		DependsOn: []meta.NamespacedObjectReference{

			{
				Name: "cert-manager",
			},
			{
				Name: "ingress-nginx",
			},
		},
	}
)

Functions

func MinioReady

func MinioReady(c *minio.Client) (bool, error)

Types

type Model

type Model struct {
	/*
		MinioOperator         ComponentConfig
		   	ObjectStorageOperator ComponentConfig
	*/
	*component.ScopeModel
	// 	components     []string
	MinioProviders []string

	CurrentData     string
	CurrentProvider string

	Providers []configv1alpha1.MinIOProvider

	DataProvider    []configv1alpha1.MinIOProvider
	PITRProvider    []configv1alpha1.MinIOProvider
	MetricsProvider []configv1alpha1.MinIOProvider

	Mapping map[string]string

	MinioOperator                 *bool
	MinioOperatorDone             *bool
	ObjectStoreOperatorConfigDone *bool
	ObjectStoreOperatorDone       *bool

	MinioReady *bool
}

func (Model) Components

func (o Model) Components() []component.Component

func (*Model) Init

func (c *Model) Init() error

func (Model) Items

func (n Model) Items() bubble.ItemList

func (Model) ObjectStoreComponents

func (o Model) ObjectStoreComponents() []component.Component

func (*Model) Stage

func (m *Model) Stage() (component.Model, error)

Jump to

Keyboard shortcuts

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