Documentation ¶
Index ¶
- func TransformIRAndPersist(ir irtypes.EnhancedIR, outputPath string, apiResources []IAPIResource, ...) (files []string, err error)
- func TransformObjsAndPersist(inputPath, outputPath string, apis []IAPIResource, ...) (files []string, err error)
- type APIResource
- type ArgoCDApplication
- type BuildConfig
- type Deployment
- type EventListener
- type IAPIResource
- type ImageStream
- type KnativeService
- type NetworkPolicy
- type Pipeline
- type Role
- type RoleBinding
- type Service
- type ServiceAccount
- type Storage
- type TriggerBinding
- type TriggerTemplate
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 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 ServiceAccount ¶
type ServiceAccount struct { }
ServiceAccount handles all objects like a service account.
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.