apiresource

package
v0.3.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformIRAndPersist

func TransformIRAndPersist(
	ir irtypes.EnhancedIR,
	outputPath string,
	apiResources []IAPIResource,
	targetCluster collecttypes.ClusterMetadata,
	setDefaultValuesInYamls bool,
) (files []string, err error)

TransformIRAndPersist transforms IR to yamls and writes to filesystem

func TransformObjsAndPersist

func TransformObjsAndPersist(inputPath, outputPath string, apis []IAPIResource, targetCluster collecttypes.ClusterMetadata, setDefaultValuesInYamls bool) (files []string, err error)

TransformObjsAndPersist transforms versions of yamls in current directory and writes to filesystem

Types

type APIResource

type APIResource struct {
	IAPIResource
	// contains filtered or unexported fields
}

APIResource defines functions that are reusable across the api resources

type ArgoCDApplication added in v0.3.3

type ArgoCDApplication struct{}

ArgoCDApplication handles all objects like an ArgoCD Application.

type BuildConfig

type BuildConfig struct {
}

BuildConfig handles all objects like an Openshift BuildConfig.

type Deployment

type Deployment struct {
}

Deployment handles all objects like a Deployment

type EventListener

type EventListener struct {
}

EventListener handles all objects like an event listener.

type IAPIResource

type IAPIResource interface {
	// contains filtered or unexported methods
}

IAPIResource defines the interface to be defined for a new api resource

type ImageStream

type ImageStream struct {
}

ImageStream handles all objects related to image stream

func (*ImageStream) GetImageStreamNameAndTag

func (*ImageStream) GetImageStreamNameAndTag(fullImageName string) (string, string)

GetImageStreamNameAndTag gives the image stream name and tag given the image name.

type KnativeService

type KnativeService struct {
}

KnativeService handles the Knative service object

type NetworkPolicy

type NetworkPolicy struct {
}

NetworkPolicy handles NetworkPolicy objects

type Pipeline

type Pipeline struct {
}

Pipeline handles all objects like a Tekton pipeline.

type Role

type Role struct {
}

Role handles all objects like a role.

type RoleBinding

type RoleBinding struct {
}

RoleBinding handles all objects like a role binding.

type Service

type Service struct {
}

Service handles all objects related to a service

type ServiceAccount

type ServiceAccount struct {
}

ServiceAccount handles all objects like a service account.

type Storage

type Storage struct {
}

Storage handles all storage objectss

type TriggerBinding

type TriggerBinding struct {
}

TriggerBinding handles all objects like a trigger binding.

type TriggerTemplate

type TriggerTemplate struct {
}

TriggerTemplate handles all objects like an trigger template.

Jump to

Keyboard shortcuts

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