Documentation ¶
Index ¶
- Variables
- type App
- type Auth
- type BasicAuth
- type BearerAuth
- type CMAFIngest
- type CORS
- type CleanupFunction
- type CloudEventFunction
- type Config
- type CopyFunction
- type DASHAndHLSIngest
- type DigestAuth
- type FileSystemVolume
- type Function
- type GenericServe
- type HTTPApp
- type HTTPServer
- type ManifestFunction
- type MemoryVolume
- type NullVolume
- type Reference
- type S3Volume
- type Server
- type Token
- type User
- type Volume
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigKind = "Config" API = "ingest.nagare.media" Version = "v1alpha1" )
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Name string `mapstructure:"name"` Functions []Function `mapstructure:"functions,omitempty"` HTTP *HTTPApp `mapstructure:"http,omitempty"` GenericServe *GenericServe `mapstructure:"genericServe,omitempty"` CMAFIngest *CMAFIngest `mapstructure:"cmafIngest,omitempty"` DASHAndHLSIngest *DASHAndHLSIngest `mapstructure:"dashAndHlsIngest,omitempty"` }
type Auth ¶
type Auth struct { Basic *BasicAuth `mapstructure:"basic,omitempty"` Digest *DigestAuth `mapstructure:"digest,omitempty"` Bearer *BearerAuth `mapstructure:"bearer,omitempty"` }
type BearerAuth ¶
type BearerAuth struct {
Tokens []Token `mapstructure:"tokens"`
}
type CMAFIngest ¶
type CMAFIngest struct { VolumeRef Reference `mapstructure:"volumeRef"` StreamTimeout time.Duration `mapstructure:"streamTimeout,omitempty"` MaxManifestSize bytesize.ByteSize `mapstructure:"maxManifestSize,omitempty"` MaxHeaderSize bytesize.ByteSize `mapstructure:"maxHeaderSize,omitempty"` MaxChunkHeaderSize bytesize.ByteSize `mapstructure:"maxChunkHeaderSize,omitempty"` MaxChunkMdatSize bytesize.ByteSize `mapstructure:"maxChunkDataSize,omitempty"` }
type CORS ¶
type CORS struct { AllowOrigins string `mapstructure:"AllowOrigins,omitempty"` AllowMethods string `mapstructure:"AllowMethods,omitempty"` AllowHeaders string `mapstructure:"AllowHeaders,omitempty"` AllowCredentials bool `mapstructure:"AllowCredentials,omitempty"` ExposeHeaders string `mapstructure:"ExposeHeaders,omitempty"` MaxAge int `mapstructure:"MaxAge,omitempty"` }
type CleanupFunction ¶
type CloudEventFunction ¶
type CloudEventFunction struct { }
type CopyFunction ¶
type CopyFunction struct {
VolumeRef Reference `mapstructure:"volumeRef"`
}
type DASHAndHLSIngest ¶
type DASHAndHLSIngest struct { VolumeRef Reference `mapstructure:"volumeRef"` StreamTimeout time.Duration `mapstructure:"streamTimeout,omitempty"` ReleaseCompleteSegments bool `mapstructure:"releaseCompleteSegments,omitempty"` // needs to be false for low latency mode RequestBodyBufferSize bytesize.ByteSize `mapstructure:"requestBodyBufferSize,omitempty"` MaxManifestSize bytesize.ByteSize `mapstructure:"maxManifestSize,omitempty"` MaxSegmentSize bytesize.ByteSize `mapstructure:"maxSegmentSize,omitempty"` MaxEncryptionKeySize bytesize.ByteSize `mapstructure:"maxEncryptionKeySize,omitempty"` }
type DigestAuth ¶
type FileSystemVolume ¶
type Function ¶
type Function struct { Name string `mapstructure:"name"` Cleanup *CleanupFunction `mapstructure:"cleanup,omitempty"` CloudEvent *CloudEventFunction `mapstructure:"cloudEvent,omitempty"` Copy *CopyFunction `mapstructure:"copy,omitempty"` Manifest *ManifestFunction `mapstructure:"manifest,omitempty"` }
type GenericServe ¶
type GenericServe struct { AppRef Reference `mapstructure:"appRef"` VolumesRef []Reference `mapstructure:"volumeRefs"` DefaultMIMEType string `mapstructure:"defaultMIMEType,omitempty"` UseXAccelHeader bool `mapstructure:"useXAccelHeader,omitempty"` UseXSendfileHeader bool `mapstructure:"useXSendfileHeader,omitempty"` }
type HTTPServer ¶
type ManifestFunction ¶
type ManifestFunction struct {
VolumeRef Reference `mapstructure:"volumeRef"`
}
type MemoryVolume ¶
type NullVolume ¶
type NullVolume struct{}
type Server ¶
type Server struct { Name string `mapstructure:"name"` Address string `mapstructure:"address"` Network string `mapstructure:"network,omitempty"` Apps []App `mapstructure:"apps,omitempty"` HTTP *HTTPServer `mapstructure:"http,omitempty"` }
type Volume ¶
type Volume struct { Name string `mapstructure:"name"` Null *NullVolume `mapstructure:"null,omitempty"` Memory *MemoryVolume `mapstructure:"mem,omitempty"` FileSystem *FileSystemVolume `mapstructure:"fs,omitempty"` S3 *S3Volume `mapstructure:"s3,omitempty"` }
Click to show internal directories.
Click to hide internal directories.