resource

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Name      string
	Namespace string

	Resources []ApplicationResource
}

func App

func App(ctx context.Context, client kubernetes.Client, namespace, name string) (*Application, error)

func Apps

func Apps(ctx context.Context, client kubernetes.Client, namespace string) ([]Application, error)

type ApplicationResource

type ApplicationResource struct {
	Kind   string
	Object interface{}

	Name      string
	Namespace string

	Labels      map[string]interface{}
	Annotations map[string]interface{}
}

Jump to

Keyboard shortcuts

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