Documentation
¶
Index ¶
- type API
- type Application
- type BaseImage
- type CloudEvent
- type Config
- type Emission
- type Error
- type EventDriver
- type EventDriverType
- type Function
- type Image
- type Logs
- type Message
- type Policy
- type Redirect
- type Rule
- type Run
- type RuntimeDependencies
- type Schema
- type Secret
- type SecretValue
- type ServiceAccount
- type ServiceBinding
- type ServiceClass
- type ServiceInstance
- type ServicePlan
- type ServicePlanSchema
- type Spec
- type Status
- type Subscription
- type SystemDependencies
- type SystemDependency
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// the authentication method for api consumers (public, basic, oidc, etc.)
Authentication string `json:"authentication,omitempty"`
// enable Cross-Origin Resource Sharing (CORS)
Cors bool `json:"cors,omitempty"`
// a easy way to disable an API without deleting it.
Enabled bool `json:"enabled,omitempty"`
// the name of the function associated with
// Required: true
Function *string `json:"function"`
// a list of domain names that point to the API
Hosts []string `json:"hosts"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// a list of HTTP/S methods that point to the API
Methods []string `json:"methods"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// a list of support protocols (i.e. http, https)
Protocols []string `json:"protocols"`
// status
Status Status `json:"status,omitempty"`
// tags
Tags []*Tag `json:"tags"`
// the tls credentials (imported from serverless secret) for https connection
TLS string `json:"tls,omitempty"`
// a list of URIs prefixes that point to the API
Uris []string `json:"uris"`
}
API API swagger:model API
func (*API) MarshalBinary ¶
MarshalBinary interface implementation
func (*API) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Application ¶
type Application struct {
// created time
// Read Only: true
CreatedTime int64 `json:"createdTime,omitempty"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modifiedTime,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// status
// Read Only: true
Status Status `json:"status,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
Application application swagger:model Application
func (*Application) MarshalBinary ¶
func (m *Application) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Application) UnmarshalBinary ¶
func (m *Application) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BaseImage ¶
type BaseImage struct {
// created time
CreatedTime int64 `json:"createdTime,omitempty"`
// docker Url
// Required: true
DockerURL *string `json:"dockerUrl"`
// groups
Groups []string `json:"groups"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// language
// Required: true
Language *string `json:"language"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// reason
Reason []string `json:"reason"`
// spec
Spec Spec `json:"spec,omitempty"`
// status
Status Status `json:"status,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
BaseImage base image swagger:model BaseImage
func (*BaseImage) MarshalBinary ¶
MarshalBinary interface implementation
func (*BaseImage) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CloudEvent ¶
type CloudEvent struct {
// cloud events version
// Required: true
CloudEventsVersion *string `json:"cloud-events-version"`
// content type
ContentType string `json:"content-type,omitempty"`
// data
Data string `json:"data,omitempty"`
// event id
// Required: true
EventID *string `json:"event-id"`
// event time
EventTime strfmt.DateTime `json:"event-time,omitempty"`
// event type
// Required: true
// Max Length: 128
// Pattern: ^[\w\d\-\.]+$
EventType *string `json:"event-type"`
// event type version
EventTypeVersion string `json:"event-type-version,omitempty"`
// extensions
Extensions map[string]interface{} `json:"extensions,omitempty"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// schema url
SchemaURL string `json:"schema-url,omitempty"`
// source id
// Required: true
SourceID *string `json:"source-id"`
// source type
// Required: true
SourceType *string `json:"source-type"`
}
CloudEvent cloud event swagger:model CloudEvent
func (*CloudEvent) MarshalBinary ¶
func (m *CloudEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudEvent) UnmarshalBinary ¶
func (m *CloudEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Config ¶
type Config struct {
// key
Key string `json:"key,omitempty"`
// value
Value string `json:"value,omitempty"`
}
Config config swagger:model Config
func (*Config) MarshalBinary ¶
MarshalBinary interface implementation
func (*Config) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Emission ¶
type Emission struct {
// emitted time
// Read Only: true
EmittedTime int64 `json:"emitted-time,omitempty"`
// event
// Required: true
Event *CloudEvent `json:"event"`
// id
// Read Only: true
ID strfmt.UUID `json:"id,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
Emission emission swagger:model Emission
func (*Emission) MarshalBinary ¶
MarshalBinary interface implementation
func (*Emission) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// code
Code int64 `json:"code,omitempty"`
// function error
FunctionError interface{} `json:"function-error,omitempty"`
// message
// Required: true
Message *string `json:"message"`
// user error
UserError interface{} `json:"user-error,omitempty"`
}
Error error swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EventDriver ¶
type EventDriver struct {
// config
Config []*Config `json:"config"`
// created time
// Read Only: true
CreatedTime int64 `json:"created-time,omitempty"`
// id
// Read Only: true
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modified-time,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// secrets
Secrets []string `json:"secrets"`
// status
// Read Only: true
Status Status `json:"status,omitempty"`
// tags
Tags []*Tag `json:"tags"`
// type
// Required: true
// Max Length: 32
Type *string `json:"type"`
}
EventDriver driver swagger:model EventDriver
func (*EventDriver) MarshalBinary ¶
func (m *EventDriver) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventDriver) UnmarshalBinary ¶
func (m *EventDriver) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventDriverType ¶
type EventDriverType struct {
// built in
// Read Only: true
BuiltIn *bool `json:"built-in,omitempty"`
// config
Config []*Config `json:"config"`
// created time
// Read Only: true
CreatedTime int64 `json:"created-time,omitempty"`
// id
// Read Only: true
ID strfmt.UUID `json:"id,omitempty"`
// image
// Required: true
Image *string `json:"image"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modified-time,omitempty"`
// name
// Required: true
// Max Length: 32
Name *string `json:"name"`
// tags
Tags []*Tag `json:"tags"`
}
EventDriverType driver type swagger:model EventDriverType
func (*EventDriverType) MarshalBinary ¶
func (m *EventDriverType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventDriverType) UnmarshalBinary ¶
func (m *EventDriverType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Function ¶
type Function struct {
// code
// Required: true
Code *string `json:"code"`
// created time
CreatedTime int64 `json:"createdTime,omitempty"`
// faas Id
FaasID strfmt.UUID `json:"faasId,omitempty"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// image
// Required: true
Image *string `json:"image"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// main
Main *string `json:"main,omitempty"`
// modified time
ModifiedTime int64 `json:"modifiedTime,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// schema
Schema *Schema `json:"schema,omitempty"`
// secrets
Secrets []string `json:"secrets"`
// services
Services []string `json:"services"`
// status
Status Status `json:"status,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
Function function swagger:model Function
func (*Function) MarshalBinary ¶
MarshalBinary interface implementation
func (*Function) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Image ¶
type Image struct {
// base image name
// Required: true
// Pattern: ^[\w\d\-]+$
BaseImageName *string `json:"baseImageName"`
// created time
CreatedTime int64 `json:"createdTime,omitempty"`
// docker Url
DockerURL string `json:"dockerUrl,omitempty"`
// groups
Groups []string `json:"groups"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// language
Language string `json:"language,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// reason
Reason []string `json:"reason"`
// runtime dependencies
RuntimeDependencies *RuntimeDependencies `json:"runtimeDependencies,omitempty"`
// spec
Spec Spec `json:"spec,omitempty"`
// status
Status Status `json:"status,omitempty"`
// system dependencies
SystemDependencies *SystemDependencies `json:"systemDependencies,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
Image image swagger:model Image
func (*Image) MarshalBinary ¶
MarshalBinary interface implementation
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Logs ¶
type Logs struct {
// stderr
// Required: true
Stderr []string `json:"stderr"`
// stdout
// Required: true
Stdout []string `json:"stdout"`
}
Logs logs swagger:model Logs
func (*Logs) MarshalBinary ¶
MarshalBinary interface implementation
func (*Logs) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Message ¶
type Message struct {
// message
// Required: true
Message *string `json:"message"`
}
Message message swagger:model Message
func (*Message) MarshalBinary ¶
MarshalBinary interface implementation
func (*Message) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Policy ¶
type Policy struct {
// created time
// Read Only: true
CreatedTime int64 `json:"createdTime,omitempty"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modifiedTime,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// rules
// Required: true
Rules []*Rule `json:"rules"`
// status
// Read Only: true
Status Status `json:"status,omitempty"`
}
Policy policy swagger:model Policy
func (*Policy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Redirect ¶
type Redirect struct {
// location
// Required: true
Location *string `json:"location"`
}
Redirect redirect swagger:model Redirect
func (*Redirect) MarshalBinary ¶
MarshalBinary interface implementation
func (*Redirect) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Rule ¶
type Rule struct {
// actions
// Required: true
Actions []string `json:"actions"`
// resources
// Required: true
Resources []string `json:"resources"`
// subjects
// Required: true
Subjects []string `json:"subjects"`
}
Rule rule swagger:model Rule
func (*Rule) MarshalBinary ¶
MarshalBinary interface implementation
func (*Rule) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Run ¶
type Run struct {
// blocking
Blocking bool `json:"blocking,omitempty"`
// event
Event *CloudEvent `json:"event,omitempty"`
// executed time
// Read Only: true
ExecutedTime int64 `json:"executedTime,omitempty"`
// faas Id
FaasID strfmt.UUID `json:"faasId,omitempty"`
// finished time
// Read Only: true
FinishedTime int64 `json:"finishedTime,omitempty"`
// function Id
// Read Only: true
FunctionID string `json:"functionId,omitempty"`
// function name
// Read Only: true
FunctionName string `json:"functionName,omitempty"`
// http context
// Read Only: true
HTTPContext map[string]interface{} `json:"httpContext,omitempty"`
// input
Input interface{} `json:"input,omitempty"`
// logs
Logs *Logs `json:"logs,omitempty"`
// name
// Read Only: true
Name strfmt.UUID `json:"name,omitempty"`
// output
// Read Only: true
Output interface{} `json:"output,omitempty"`
// reason
Reason []string `json:"reason"`
// secrets
Secrets []string `json:"secrets"`
// services
Services []string `json:"services"`
// status
Status Status `json:"status,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
Run run swagger:model Run
func (*Run) MarshalBinary ¶
MarshalBinary interface implementation
func (*Run) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RuntimeDependencies ¶
type RuntimeDependencies struct {
// manifest
Manifest string `json:"manifest,omitempty"`
}
RuntimeDependencies runtime dependencies swagger:model RuntimeDependencies
func (*RuntimeDependencies) MarshalBinary ¶
func (m *RuntimeDependencies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RuntimeDependencies) UnmarshalBinary ¶
func (m *RuntimeDependencies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Schema ¶
type Schema struct {
// in
In interface{} `json:"in,omitempty"`
// out
Out interface{} `json:"out,omitempty"`
}
Schema schema swagger:model Schema
func (*Schema) MarshalBinary ¶
MarshalBinary interface implementation
func (*Schema) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Secret ¶
type Secret struct {
// id
// Read Only: true
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// secrets
Secrets SecretValue `json:"secrets,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
Secret secret swagger:model Secret
func (*Secret) MarshalBinary ¶
MarshalBinary interface implementation
func (*Secret) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SecretValue ¶
SecretValue secret value swagger:model SecretValue
type ServiceAccount ¶
type ServiceAccount struct {
// created time
// Read Only: true
CreatedTime int64 `json:"createdTime,omitempty"`
// domain
// Pattern: ^[\w\d\-\.]+$
Domain string `json:"domain,omitempty"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modifiedTime,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-\.]+$
Name *string `json:"name"`
// public key
// Required: true
PublicKey *string `json:"publicKey"`
// status
// Read Only: true
Status Status `json:"status,omitempty"`
}
ServiceAccount service account swagger:model ServiceAccount
func (*ServiceAccount) MarshalBinary ¶
func (m *ServiceAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccount) UnmarshalBinary ¶
func (m *ServiceAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceBinding ¶
type ServiceBinding struct {
// binding secret
BindingSecret string `json:"bindingSecret,omitempty"`
// created time
CreatedTime int64 `json:"createdTime,omitempty"`
// parameters
Parameters interface{} `json:"parameters,omitempty"`
// reason
Reason []string `json:"reason"`
// secret parameters
SecretParameters []string `json:"secretParameters"`
// status
Status Status `json:"status,omitempty"`
}
ServiceBinding service binding swagger:model ServiceBinding
func (*ServiceBinding) MarshalBinary ¶
func (m *ServiceBinding) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceBinding) UnmarshalBinary ¶
func (m *ServiceBinding) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceClass ¶
type ServiceClass struct {
// bindable
Bindable bool `json:"bindable,omitempty"`
// broker
// Required: true
Broker *string `json:"broker"`
// created time
CreatedTime int64 `json:"createdTime,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// plans
Plans []*ServicePlan `json:"plans"`
// reason
Reason []string `json:"reason"`
// status
Status Status `json:"status,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
ServiceClass service class swagger:model ServiceClass
func (*ServiceClass) MarshalBinary ¶
func (m *ServiceClass) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceClass) UnmarshalBinary ¶
func (m *ServiceClass) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceInstance ¶
type ServiceInstance struct {
// binding
Binding *ServiceBinding `json:"binding,omitempty"`
// created time
CreatedTime int64 `json:"createdTime,omitempty"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// parameters
Parameters interface{} `json:"parameters,omitempty"`
// reason
Reason []string `json:"reason"`
// secret parameters
SecretParameters []string `json:"secretParameters"`
// service class
// Required: true
// Pattern: ^[\w\d\-]+$
ServiceClass *string `json:"serviceClass"`
// service plan
// Required: true
// Pattern: ^[\w\d\-]+$
ServicePlan *string `json:"servicePlan"`
// status
Status Status `json:"status,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
ServiceInstance service instance swagger:model ServiceInstance
func (*ServiceInstance) MarshalBinary ¶
func (m *ServiceInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceInstance) UnmarshalBinary ¶
func (m *ServiceInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServicePlan ¶
type ServicePlan struct {
// bindable
Bindable bool `json:"bindable,omitempty"`
// description
Description string `json:"description,omitempty"`
// free
Free bool `json:"free,omitempty"`
// id
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// metadata
Metadata interface{} `json:"metadata,omitempty"`
// name
// Pattern: ^[\w\d\-]+$
Name string `json:"name,omitempty"`
// schema
Schema *ServicePlanSchema `json:"schema,omitempty"`
}
ServicePlan service plan swagger:model ServicePlan
func (*ServicePlan) MarshalBinary ¶
func (m *ServicePlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicePlan) UnmarshalBinary ¶
func (m *ServicePlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServicePlanSchema ¶
type ServicePlanSchema struct {
// bind
Bind interface{} `json:"bind,omitempty"`
// create
Create interface{} `json:"create,omitempty"`
// update
Update interface{} `json:"update,omitempty"`
}
ServicePlanSchema service plan schema swagger:model ServicePlanSchema
func (*ServicePlanSchema) MarshalBinary ¶
func (m *ServicePlanSchema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicePlanSchema) UnmarshalBinary ¶
func (m *ServicePlanSchema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Status ¶
type Status string
Status status swagger:model Status
const ( // StatusINITIALIZED captures enum value "INITIALIZED" StatusINITIALIZED Status = "INITIALIZED" // StatusCREATING captures enum value "CREATING" StatusCREATING Status = "CREATING" // StatusREADY captures enum value "READY" StatusREADY Status = "READY" // StatusUPDATING captures enum value "UPDATING" StatusUPDATING Status = "UPDATING" // StatusERROR captures enum value "ERROR" StatusERROR Status = "ERROR" // StatusDELETING captures enum value "DELETING" StatusDELETING Status = "DELETING" //StatusDELETED captures enum value "DELETED" StatusDELETED Status = "DELETED" )
type Subscription ¶
type Subscription struct {
// created time
// Read Only: true
CreatedTime int64 `json:"created-time,omitempty"`
// event type
// Required: true
// Max Length: 128
// Pattern: ^[\w\d\-\.]+$
EventType *string `json:"event-type"`
// function
// Required: true
// Pattern: ^[\w\d\-]+$
Function *string `json:"function"`
// id
// Read Only: true
ID strfmt.UUID `json:"id,omitempty"`
// kind
// Read Only: true
// Pattern: ^[\w\d\-]+$
Kind string `json:"kind,omitempty"`
// modified time
// Read Only: true
ModifiedTime int64 `json:"modified-time,omitempty"`
// name
// Required: true
// Pattern: ^[\w\d\-]+$
Name *string `json:"name"`
// secrets
Secrets []string `json:"secrets"`
// source type
// Required: true
// Max Length: 32
// Pattern: ^[\w\d\-]+$
SourceType *string `json:"source-type"`
// status
// Read Only: true
Status Status `json:"status,omitempty"`
// tags
Tags []*Tag `json:"tags"`
}
Subscription subscription swagger:model Subscription
func (*Subscription) MarshalBinary ¶
func (m *Subscription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Subscription) UnmarshalBinary ¶
func (m *Subscription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemDependencies ¶
type SystemDependencies struct {
// packages
Packages []*SystemDependency `json:"packages"`
}
SystemDependencies system dependencies swagger:model SystemDependencies
func (*SystemDependencies) MarshalBinary ¶
func (m *SystemDependencies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemDependencies) UnmarshalBinary ¶
func (m *SystemDependencies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SystemDependency ¶
type SystemDependency struct {
// name
// Required: true
Name *string `json:"name"`
// version
Version string `json:"version,omitempty"`
}
SystemDependency system dependency swagger:model SystemDependency
func (*SystemDependency) MarshalBinary ¶
func (m *SystemDependency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SystemDependency) UnmarshalBinary ¶
func (m *SystemDependency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Tag ¶
type Tag struct {
// key
Key string `json:"key,omitempty"`
// value
Value string `json:"value,omitempty"`
}
Tag tag swagger:model Tag
func (*Tag) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files
¶
- api.go
- application.go
- base_image.go
- cloud_event.go
- config.go
- emission.go
- error.go
- event_driver.go
- event_driver_type.go
- function.go
- image.go
- logs.go
- message.go
- policy.go
- redirect.go
- rule.go
- run.go
- runtime_dependencies.go
- schema.go
- secret.go
- secret_value.go
- service_account.go
- service_binding.go
- service_class.go
- service_instance.go
- service_plan.go
- service_plan_schema.go
- spec.go
- status.go
- subscription.go
- system_dependencies.go
- system_dependency.go
- tag.go