fixture

package
v0.0.0-...-b110700 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSBuilder

type FSBuilder struct {
	// contains filtered or unexported fields
}

func Builder

func Builder() *FSBuilder

func (*FSBuilder) AddConfigMap

func (b *FSBuilder) AddConfigMap(file string) *FSBuilder

func (*FSBuilder) AddSecret

func (b *FSBuilder) AddSecret(file string) *FSBuilder

func (*FSBuilder) Build

func (b *FSBuilder) Build() *Objects

func (*FSBuilder) WithAPI

func (b *FSBuilder) WithAPI(file string) *FSBuilder

func (*FSBuilder) WithAPIv4

func (b *FSBuilder) WithAPIv4(file string) *FSBuilder

func (*FSBuilder) WithApplication

func (b *FSBuilder) WithApplication(file string) *FSBuilder

func (*FSBuilder) WithContext

func (b *FSBuilder) WithContext(file string) *FSBuilder

func (*FSBuilder) WithIngress

func (b *FSBuilder) WithIngress(file string) *FSBuilder

func (*FSBuilder) WithResource

func (b *FSBuilder) WithResource(file string) *FSBuilder

func (*FSBuilder) WithSubscription

func (b *FSBuilder) WithSubscription(file string) *FSBuilder

type Files

type Files struct {
	Secrets      []string
	ConfigMaps   []string
	Context      string
	Resource     string
	API          string
	APIv4        string
	Application  string
	Ingress      string
	Subscription string
}

type Objects

type Objects struct {
	Secrets    []*coreV1.Secret
	ConfigMaps []*coreV1.ConfigMap

	Ingress *netV1.Ingress

	Context      *v1alpha1.ManagementContext
	Resource     *v1alpha1.ApiResource
	API          *v1alpha1.ApiDefinition
	APIv4        *v1alpha1.ApiV4Definition
	Application  *v1alpha1.Application
	Subscription *v1alpha1.Subscription
	// contains filtered or unexported fields
}

func (*Objects) Apply

func (o *Objects) Apply() *Objects

func (*Objects) GetGeneratedSuffix

func (o *Objects) GetGeneratedSuffix() string

func (*Objects) GetIngressPEMRegistryKey

func (o *Objects) GetIngressPEMRegistryKey() string

Jump to

Keyboard shortcuts

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