models

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: Apache-2.0 Imports: 5 Imported by: 42 modules, 97 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateProject added in v0.6.2

type CreateProject struct {

	// git remote URL
	GitRemoteURL string `json:"gitRemoteURL,omitempty"`

	// git token
	GitToken string `json:"gitToken,omitempty"`

	// git user
	GitUser string `json:"gitUser,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// shipyard
	// Required: true
	Shipyard *string `json:"shipyard"`
}

CreateProject create project swagger:model CreateProject

func (*CreateProject) MarshalBinary added in v0.6.2

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

MarshalBinary interface implementation

func (*CreateProject) UnmarshalBinary added in v0.6.2

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

UnmarshalBinary interface implementation

func (*CreateProject) Validate added in v0.6.2

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

Validate validates this create project

type CreateService added in v0.6.2

type CreateService struct {

	// deployment strategies
	DeploymentStrategies map[string]string `json:"deploymentStrategies,omitempty"`

	// helm chart
	HelmChart string `json:"helmChart,omitempty"`

	// service name
	// Required: true
	ServiceName *string `json:"serviceName"`
}

CreateService create service swagger:model CreateService

func (*CreateService) MarshalBinary added in v0.6.2

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

MarshalBinary interface implementation

func (*CreateService) UnmarshalBinary added in v0.6.2

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

UnmarshalBinary interface implementation

func (*CreateService) Validate added in v0.6.2

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

Validate validates this create service

type Error

type Error struct {

	// Error code
	Code int64 `json:"code,omitempty"`

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

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 EventContext

type EventContext struct {

	// keptn context
	// Required: true
	KeptnContext *string `json:"keptnContext"`

	// token
	// Required: true
	Token *string `json:"token"`
}

EventContext event context swagger:model EventContext

func (*EventContext) MarshalBinary

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

MarshalBinary interface implementation

func (*EventContext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EventContext) Validate

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

Validate validates this event context

type Events added in v0.6.2

type Events struct {

	// events
	Events []*KeptnContextExtendedCE `json:"events"`

	// Pointer to next page, base64 encoded
	NextPageKey string `json:"nextPageKey,omitempty"`

	// Size of returned page
	PageSize float64 `json:"pageSize,omitempty"`

	// Total number of resources
	TotalCount float64 `json:"totalCount,omitempty"`
}

Events events swagger:model Events

func (*Events) MarshalBinary added in v0.6.2

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

MarshalBinary interface implementation

func (*Events) UnmarshalBinary added in v0.6.2

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

UnmarshalBinary interface implementation

func (*Events) Validate added in v0.6.2

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

Validate validates this events

type KeptnContextExtendedCE added in v0.2.4

type KeptnContextExtendedCE struct {

	// contenttype
	Contenttype string `json:"contenttype,omitempty"`

	// data
	// Required: true
	Data interface{} `json:"data"`

	// extensions
	Extensions interface{} `json:"extensions,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// shkeptncontext
	Shkeptncontext string `json:"shkeptncontext,omitempty"`

	// source
	// Required: true
	Source *string `json:"source"`

	// specversion
	Specversion string `json:"specversion,omitempty"`

	// time
	// Format: date-time
	Time strfmt.DateTime `json:"time,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`
}

KeptnContextExtendedCE keptn context extended c e swagger:model KeptnContextExtendedCE

func (*KeptnContextExtendedCE) MarshalBinary added in v0.2.4

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

MarshalBinary interface implementation

func (*KeptnContextExtendedCE) UnmarshalBinary added in v0.2.4

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

UnmarshalBinary interface implementation

func (*KeptnContextExtendedCE) Validate added in v0.2.4

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

Validate validates this keptn context extended c e

type Project

type Project struct {

	// Git remote URI
	GitRemoteURI string `json:"gitRemoteURI,omitempty"`

	// Git token
	GitToken string `json:"gitToken,omitempty"`

	// Git User
	GitUser string `json:"gitUser,omitempty"`

	// Project name
	ProjectName string `json:"projectName,omitempty"`

	// stages
	Stages []*Stage `json:"stages"`
}

Project project swagger:model Project

func (*Project) MarshalBinary

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

MarshalBinary interface implementation

func (*Project) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Project) Validate

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

Validate validates this project

type Projects added in v0.6.2

type Projects struct {

	// Pointer to next page, base64 encoded
	NextPageKey string `json:"nextPageKey,omitempty"`

	// Size of returned page
	PageSize float64 `json:"pageSize,omitempty"`

	// projects
	Projects []*Project `json:"projects"`

	// Total number of projects
	TotalCount float64 `json:"totalCount,omitempty"`
}

Projects projects swagger:model Projects

func (*Projects) MarshalBinary added in v0.6.2

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

MarshalBinary interface implementation

func (*Projects) UnmarshalBinary added in v0.6.2

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

UnmarshalBinary interface implementation

func (*Projects) Validate added in v0.6.2

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

Validate validates this projects

type Resource

type Resource struct {

	// Resource content
	ResourceContent string `json:"resourceContent,omitempty"`

	// Resource URI
	// Required: true
	ResourceURI *string `json:"resourceURI"`
}

Resource resource swagger:model Resource

func (*Resource) MarshalBinary

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

MarshalBinary interface implementation

func (*Resource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Resource) Validate

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

Validate validates this resource

type Resources added in v0.6.2

type Resources struct {

	// Pointer to next page, base64 encoded
	NextPageKey string `json:"nextPageKey,omitempty"`

	// Size of returned page
	PageSize float64 `json:"pageSize,omitempty"`

	// resources
	Resources []*Resource `json:"resources"`

	// Total number of resources
	TotalCount float64 `json:"totalCount,omitempty"`
}

Resources resources swagger:model Resources

func (*Resources) MarshalBinary added in v0.6.2

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

MarshalBinary interface implementation

func (*Resources) UnmarshalBinary added in v0.6.2

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

UnmarshalBinary interface implementation

func (*Resources) Validate added in v0.6.2

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

Validate validates this resources

type Service

type Service struct {

	// Service name
	ServiceName string `json:"serviceName,omitempty"`
}

Service service swagger:model Service

func (*Service) MarshalBinary

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

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Service) Validate

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

Validate validates this service

type Services added in v0.6.2

type Services struct {

	// Pointer to next page, base64 encoded
	NextPageKey string `json:"nextPageKey,omitempty"`

	// Size of returned page
	PageSize float64 `json:"pageSize,omitempty"`

	// services
	Services []*Service `json:"services"`

	// Total number of services
	TotalCount float64 `json:"totalCount,omitempty"`
}

Services services swagger:model Services

func (*Services) MarshalBinary added in v0.6.2

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

MarshalBinary interface implementation

func (*Services) UnmarshalBinary added in v0.6.2

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

UnmarshalBinary interface implementation

func (*Services) Validate added in v0.6.2

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

Validate validates this services

type Stage added in v0.6.2

type Stage struct {

	// services
	Services []*Service `json:"services"`

	// Stage name
	StageName string `json:"stageName,omitempty"`
}

Stage stage swagger:model Stage

func (*Stage) MarshalBinary added in v0.6.2

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

MarshalBinary interface implementation

func (*Stage) UnmarshalBinary added in v0.6.2

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

UnmarshalBinary interface implementation

func (*Stage) Validate added in v0.6.2

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

Validate validates this stage

type Stages added in v0.6.2

type Stages struct {

	// Pointer to next page, base64 encoded
	NextPageKey string `json:"nextPageKey,omitempty"`

	// Size of returned page
	PageSize float64 `json:"pageSize,omitempty"`

	// stages
	Stages []*Stage `json:"stages"`

	// Total number of stages
	TotalCount float64 `json:"totalCount,omitempty"`
}

Stages stages swagger:model Stages

func (*Stages) MarshalBinary added in v0.6.2

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

MarshalBinary interface implementation

func (*Stages) UnmarshalBinary added in v0.6.2

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

UnmarshalBinary interface implementation

func (*Stages) Validate added in v0.6.2

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

Validate validates this stages

type Version added in v0.6.2

type Version struct {

	// Version identifier
	Version string `json:"version,omitempty"`
}

Version version swagger:model Version

func (*Version) MarshalBinary added in v0.6.2

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

MarshalBinary interface implementation

func (*Version) UnmarshalBinary added in v0.6.2

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

UnmarshalBinary interface implementation

func (*Version) Validate added in v0.6.2

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

Validate validates this version

Jump to

Keyboard shortcuts

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