Help us shape the future of Go! Take the 2026 Go Developer Survey

v1

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: Apache-2.0 Imports: 7 Imported by: 116

Documentation

Index

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

func (m *API) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*API) UnmarshalBinary

func (m *API) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*API) Validate

func (m *API) Validate(formats strfmt.Registry) error

Validate validates this API

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

func (*Application) Validate

func (m *Application) Validate(formats strfmt.Registry) error

Validate validates this application

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

func (m *BaseImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BaseImage) UnmarshalBinary

func (m *BaseImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BaseImage) Validate

func (m *BaseImage) Validate(formats strfmt.Registry) error

Validate validates this base image

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

func (*CloudEvent) Validate

func (m *CloudEvent) Validate(formats strfmt.Registry) error

Validate validates this cloud event

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

func (m *Config) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Config) UnmarshalBinary

func (m *Config) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Config) Validate

func (m *Config) Validate(formats strfmt.Registry) error

Validate validates this config

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

func (m *Emission) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Emission) UnmarshalBinary

func (m *Emission) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Emission) Validate

func (m *Emission) Validate(formats strfmt.Registry) error

Validate validates this emission

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

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

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

func (*EventDriver) Validate

func (m *EventDriver) Validate(formats strfmt.Registry) error

Validate validates this driver

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

func (*EventDriverType) Validate

func (m *EventDriverType) Validate(formats strfmt.Registry) error

Validate validates this driver type

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

func (m *Function) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Function) UnmarshalBinary

func (m *Function) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Function) Validate

func (m *Function) Validate(formats strfmt.Registry) error

Validate validates this function

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

func (m *Image) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Image) UnmarshalBinary

func (m *Image) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Image) Validate

func (m *Image) Validate(formats strfmt.Registry) error

Validate validates this image

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

func (m *Logs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Logs) UnmarshalBinary

func (m *Logs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Logs) Validate

func (m *Logs) Validate(formats strfmt.Registry) error

Validate validates this logs

type Message

type Message struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

Message message swagger:model Message

func (*Message) MarshalBinary

func (m *Message) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Message) UnmarshalBinary

func (m *Message) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Message) Validate

func (m *Message) Validate(formats strfmt.Registry) error

Validate validates this message

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

func (m *Policy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary

func (m *Policy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policy) Validate

func (m *Policy) Validate(formats strfmt.Registry) error

Validate validates this policy

type Redirect

type Redirect struct {

	// location
	// Required: true
	Location *string `json:"location"`
}

Redirect redirect swagger:model Redirect

func (*Redirect) MarshalBinary

func (m *Redirect) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Redirect) UnmarshalBinary

func (m *Redirect) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Redirect) Validate

func (m *Redirect) Validate(formats strfmt.Registry) error

Validate validates this redirect

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

func (m *Rule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Rule) UnmarshalBinary

func (m *Rule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rule) Validate

func (m *Rule) Validate(formats strfmt.Registry) error

Validate validates this rule

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

func (m *Run) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Run) UnmarshalBinary

func (m *Run) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Run) Validate

func (m *Run) Validate(formats strfmt.Registry) error

Validate validates this run

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

func (*RuntimeDependencies) Validate

func (m *RuntimeDependencies) Validate(formats strfmt.Registry) error

Validate validates this runtime dependencies

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

func (m *Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Schema) UnmarshalBinary

func (m *Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Schema) Validate

func (m *Schema) Validate(formats strfmt.Registry) error

Validate validates this schema

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

func (m *Secret) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secret) UnmarshalBinary

func (m *Secret) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secret) Validate

func (m *Secret) Validate(formats strfmt.Registry) error

Validate validates this secret

type SecretValue

type SecretValue map[string]string

SecretValue secret value swagger:model SecretValue

func (SecretValue) Validate

func (m SecretValue) Validate(formats strfmt.Registry) error

Validate validates this secret value

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

func (*ServiceAccount) Validate

func (m *ServiceAccount) Validate(formats strfmt.Registry) error

Validate validates this service account

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

func (*ServiceBinding) Validate

func (m *ServiceBinding) Validate(formats strfmt.Registry) error

Validate validates this service binding

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

func (*ServiceClass) Validate

func (m *ServiceClass) Validate(formats strfmt.Registry) error

Validate validates this service class

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

func (*ServiceInstance) Validate

func (m *ServiceInstance) Validate(formats strfmt.Registry) error

Validate validates this service instance

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

func (*ServicePlan) Validate

func (m *ServicePlan) Validate(formats strfmt.Registry) error

Validate validates this service plan

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

func (*ServicePlanSchema) Validate

func (m *ServicePlanSchema) Validate(formats strfmt.Registry) error

Validate validates this service plan schema

type Spec

type Spec string

Spec spec swagger:model Spec

const (

	// SpecCONFIGURE captures enum value "CONFIGURE"
	SpecCONFIGURE Spec = "CONFIGURE"

	// SpecCREATE captures enum value "CREATE"
	SpecCREATE Spec = "CREATE"

	// SpecDELETE captures enum value "DELETE"
	SpecDELETE Spec = "DELETE"
)

func (Spec) Validate

func (m Spec) Validate(formats strfmt.Registry) error

Validate validates this spec

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"
)

func (Status) Validate

func (m Status) Validate(formats strfmt.Registry) error

Validate validates this status

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

func (*Subscription) Validate

func (m *Subscription) Validate(formats strfmt.Registry) error

Validate validates this subscription

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

func (*SystemDependencies) Validate

func (m *SystemDependencies) Validate(formats strfmt.Registry) error

Validate validates this system dependencies

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

func (*SystemDependency) Validate

func (m *SystemDependency) Validate(formats strfmt.Registry) error

Validate validates this system dependency

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

func (m *Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary

func (m *Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tag) Validate

func (m *Tag) Validate(formats strfmt.Registry) error

Validate validates this tag

Jump to

Keyboard shortcuts

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