Documentation ¶
Index ¶
- type Approval
- type CreateProject
- type CreateService
- type DeleteProjectResponse
- type DeleteServiceResponse
- type Error
- type Evaluation
- type EventContext
- type EventContextInfo
- type Events
- type KeptnContextExtendedCE
- type Metadata
- type Project
- type Projects
- type Resource
- type Resources
- type Service
- type Services
- type Stage
- type Stages
- type Timeframe
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Approval ¶ added in v0.7.0
type Approval struct { // ID of the event EventID string `json:"eventId,omitempty"` // image Image string `json:"image,omitempty"` // Keptn Context ID of the event KeptnContext string `json:"keptnContext,omitempty"` // tag Tag string `json:"tag,omitempty"` // Time of the event Time string `json:"time,omitempty"` }
Approval approval
swagger:model Approval
func (*Approval) MarshalBinary ¶ added in v0.7.0
MarshalBinary interface implementation
func (*Approval) UnmarshalBinary ¶ added in v0.7.0
UnmarshalBinary interface implementation
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
type CreateService ¶ added in v0.6.2
type CreateService struct { // 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
type DeleteProjectResponse ¶ added in v0.8.0
type DeleteProjectResponse struct { // message Message string `json:"message,omitempty"` }
DeleteProjectResponse delete project response
swagger:model DeleteProjectResponse
func (*DeleteProjectResponse) MarshalBinary ¶ added in v0.8.0
func (m *DeleteProjectResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteProjectResponse) UnmarshalBinary ¶ added in v0.8.0
func (m *DeleteProjectResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteServiceResponse ¶ added in v0.8.0
type DeleteServiceResponse struct { // message Message string `json:"message,omitempty"` }
DeleteServiceResponse delete service response
swagger:model DeleteServiceResponse
func (*DeleteServiceResponse) MarshalBinary ¶ added in v0.8.0
func (m *DeleteServiceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteServiceResponse) UnmarshalBinary ¶ added in v0.8.0
func (m *DeleteServiceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Evaluation ¶ added in v0.8.0
type EventContext ¶
type EventContext struct { // keptn context // Required: true KeptnContext *string `json:"keptnContext"` }
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
type EventContextInfo ¶ added in v0.7.0
type EventContextInfo struct { // ID of the event EventID string `json:"eventId,omitempty"` // Keptn Context ID of the event KeptnContext string `json:"keptnContext,omitempty"` // Time of the event Time string `json:"time,omitempty"` }
EventContextInfo event context info
swagger:model EventContextInfo
func (*EventContextInfo) MarshalBinary ¶ added in v0.7.0
func (m *EventContextInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventContextInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *EventContextInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
MarshalBinary interface implementation
func (*Events) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
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"` // shkeptnspecversion Shkeptnspecversion string `json:"shkeptnspecversion,omitempty"` // source // Required: true Source *string `json:"source"` // specversion Specversion string `json:"specversion,omitempty"` // time // Format: date-time Time strfmt.DateTime `json:"time,omitempty"` // triggeredid Triggeredid string `json:"triggeredid,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
type Metadata ¶ added in v0.7.0
type Metadata struct { // bridgeversion Bridgeversion string `json:"bridgeversion,omitempty"` // keptnlabel Keptnlabel string `json:"keptnlabel,omitempty"` // keptnservices Keptnservices interface{} `json:"keptnservices,omitempty"` // keptnversion Keptnversion string `json:"keptnversion,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` }
Metadata metadata swagger:model metadata
func (*Metadata) MarshalBinary ¶ added in v0.7.0
MarshalBinary interface implementation
func (*Metadata) UnmarshalBinary ¶ added in v0.7.0
UnmarshalBinary interface implementation
type Project ¶
type Project struct { // Creation date of the service CreationDate string `json:"creationDate,omitempty"` // 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"` // Shipyard version ShipyardVersion string `json:"shipyardVersion,omitempty"` // stages Stages []*Stage `json:"stages"` }
Project project
swagger:model Project
func (*Project) MarshalBinary ¶
MarshalBinary interface implementation
func (*Project) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
MarshalBinary interface implementation
func (*Projects) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
type Resource ¶
type Resource struct { // Metadata Metadata *Version `json:"metadata,omitempty"` // Resource content ResourceContent string `json:"resourceContent,omitempty"` // Resource URI // Required: true ResourceURI *string `json:"resourceURI"` }
Resource resource
swagger:model Resource
func (*Resource) MarshalBinary ¶
MarshalBinary interface implementation
func (*Resource) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
MarshalBinary interface implementation
func (*Resources) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
type Service ¶
type Service struct { // Creation date of the service CreationDate string `json:"creationDate,omitempty"` // Currently deployed image DeployedImage string `json:"deployedImage,omitempty"` // last event types LastEventTypes map[string]EventContextInfo `json:"lastEventTypes,omitempty"` // open approvals OpenApprovals []*Approval `json:"openApprovals"` // Service name ServiceName string `json:"serviceName,omitempty"` }
Service service
swagger:model Service
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
MarshalBinary interface implementation
func (*Services) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
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
MarshalBinary interface implementation
func (*Stage) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
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
MarshalBinary interface implementation
func (*Stages) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
type Timeframe ¶ added in v0.8.0
type Timeframe struct { // Evaluation start timestamp From string `json:"from,omitempty"` // Evaluation timeframe Timeframe string `json:"timeframe,omitempty"` // Evaluation end timestamp To string `json:"to,omitempty"` }
Timeframe timeframe
swagger:model timeframe
func (*Timeframe) MarshalBinary ¶ added in v0.8.0
MarshalBinary interface implementation
func (*Timeframe) UnmarshalBinary ¶ added in v0.8.0
UnmarshalBinary interface implementation
type Version ¶ added in v0.6.2
type Version struct { // Branch in repository containing the resource Branch string `json:"branch,omitempty"` // Upstream respository containing the resource UpstreamURL string `json:"upstreamURL,omitempty"` // Version identifier Version string `json:"version,omitempty"` }
Version version
swagger:model Version
func (*Version) MarshalBinary ¶ added in v0.6.2
MarshalBinary interface implementation
func (*Version) UnmarshalBinary ¶ added in v0.6.2
UnmarshalBinary interface implementation
Source Files ¶
- approval.go
- create_project.go
- create_service.go
- delete_project_response.go
- delete_service_response.go
- error.go
- evaluation.go
- event_context.go
- event_context_info.go
- events.go
- keptn_context_extended_c_e.go
- metadata.go
- project.go
- projects.go
- resource.go
- resources.go
- service.go
- services.go
- stage.go
- stages.go
- timeframe.go
- version.go