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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*File) DeepCopyTyped ¶
DeepCopyTyped is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Typed.
func (*File) GetType ¶
GetType is an autogenerated getter function, useful for type inference and defaulting.
Click to show internal directories.
Click to hide internal directories.