Documentation ¶
Index ¶
- func GenerateKnativeConfig(service ServiceSummary, cfg latest.Config) (v1.Service, error)
- func GenerateSkaffoldConfig(service ServiceSummary, manifest latest.Config, knativeFile string) (v1.SkaffoldConfig, error)
- func MarshalKnativeConfig(s v1.Service) ([]byte, error)
- type ProviderConfig
- type ServiceSummary
- type UserConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKnativeConfig ¶
GenerateKnativeConfig generate knative yaml specifics to the Kuda workflow.
func GenerateSkaffoldConfig ¶
func GenerateSkaffoldConfig(service ServiceSummary, manifest latest.Config, knativeFile string) (v1.SkaffoldConfig, error)
GenerateSkaffoldConfig generate skaffold yaml specifics to the Kuda workflow.
Types ¶
type ProviderConfig ¶
type ProviderConfig struct { AuthURL string `yaml:"auth"` APIURL string `yaml:"api"` User *auth.User `yaml:"user"` }
ProviderConfig stores a remote deployer config.
type ServiceSummary ¶
type ServiceSummary struct { Name string Namespace string DockerArtifact string BuildType *v1.BuildType }
ServiceSummary stores a summary of a knative service.
type UserConfig ¶
type UserConfig struct { Namespace string `yaml:"namespace"` Provider ProviderConfig `yaml:"provider"` }
UserConfig stores a local user configuration.
Click to show internal directories.
Click to hide internal directories.