v1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "v1"
	Type    = "file"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Type runtime.Type `json:"type"`
	// Path is the path to the file.
	Path string `json:"path"`
	// MediaType is the media type of the file.
	MediaType string `json:"mediaType,omitempty"`
	// Compress indicates whether the file should be compressed with gzip.
	Compress bool `json:"compress,omitempty"`
}

File describes an input sourced by a file.

+k8s:deepcopy-gen:interfaces=ocm.software/open-component-model/bindings/go/runtime.Typed +k8s:deepcopy-gen=true +ocm:typegen=true

func (*File) DeepCopy

func (in *File) DeepCopy() *File

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

func (*File) DeepCopyInto

func (in *File) DeepCopyInto(out *File)

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

func (*File) DeepCopyTyped

func (in *File) DeepCopyTyped() runtime.Typed

DeepCopyTyped is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Typed.

func (*File) GetType

func (t *File) GetType() runtime.Type

GetType is an autogenerated getter function, useful for type inference and defaulting.

func (*File) SetType

func (t *File) SetType(typ runtime.Type)

SetType is an autogenerated setter function, useful for type inference and defaulting.

func (*File) String

func (t *File) String() string

Jump to

Keyboard shortcuts

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