api

package
v0.0.0-...-2373d08 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: Apache-2.0, BSD-2-Clause, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package api contains API schema definitions for the gem internal API group. +kubebuilder:object:generate=true +groupName=gem.gardener.cloud

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "gem.gardener.cloud", Version: runtime.APIVersionInternal}

Functions

This section is empty.

Types

type Lock

type Lock struct {
	Hash     string
	Target   Target
	Resolved Target
}

func NewLock

func NewLock() *Lock

func (*Lock) DeepCopy

func (in *Lock) DeepCopy() *Lock

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

func (*Lock) DeepCopyInto

func (in *Lock) DeepCopyInto(out *Lock)

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

func (*Lock) String

func (l *Lock) String() string

type Locks

type Locks struct {
	metav1.TypeMeta

	Locks map[ModuleKey]*Lock
}

Locks is a resolved list of requirement targets with their hashes.

func (*Locks) DeepCopy

func (in *Locks) DeepCopy() *Locks

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

func (*Locks) DeepCopyInto

func (in *Locks) DeepCopyInto(out *Locks)

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

func (*Locks) DeepCopyObject

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

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

type ModuleKey

type ModuleKey struct {
	Repository string
	Submodule  string
}

func (*ModuleKey) DeepCopy

func (in *ModuleKey) DeepCopy() *ModuleKey

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

func (*ModuleKey) DeepCopyInto

func (in *ModuleKey) DeepCopyInto(out *ModuleKey)

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

func (*ModuleKey) String

func (m *ModuleKey) String() string

type Requirement

type Requirement struct {
	Target   Target
	Filename string
}

func NewRequirement

func NewRequirement() *Requirement

func (*Requirement) DeepCopy

func (in *Requirement) DeepCopy() *Requirement

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

func (*Requirement) DeepCopyInto

func (in *Requirement) DeepCopyInto(out *Requirement)

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

type Requirements

type Requirements struct {
	metav1.TypeMeta `json:",inline"`

	Requirements map[ModuleKey]*Requirement
}

Requirements is a list of gardener extension requirements.

func (*Requirements) DeepCopy

func (in *Requirements) DeepCopy() *Requirements

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

func (*Requirements) DeepCopyInto

func (in *Requirements) DeepCopyInto(out *Requirements)

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

func (*Requirements) DeepCopyObject

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

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

type Target

type Target struct {
	Type     TargetType
	Revision string
	Version  string
	Branch   string
}

func NewTarget

func NewTarget() *Target

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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

func (*Target) String

func (t *Target) String() string

type TargetType

type TargetType uint8
const (
	Revision TargetType = iota
	Version
	Branch
	Latest
)

Directories

Path Synopsis
Package v1alpha1 contains API schema definitions for the gem v1alpha1 API group.
Package v1alpha1 contains API schema definitions for the gem v1alpha1 API group.

Jump to

Keyboard shortcuts

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