v1alpha3

package
v0.0.0-...-f45c986 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GroupVersion = schema.GroupVersion{Group: api.GroupName, Version: "v1alpha3"}

GroupVersion describes CRD group and its version.

Functions

func AddToContainer

func AddToContainer(container *restful.Container, devopsClient dclient.Interface, k8sClient k8s.Client,
	client client.Client, runtimeCache cache.Cache, jenkins core.JenkinsCore, cfg *config.Config) (wss []*restful.WebService)

AddToContainer adds web service into container.

Types

type GenericArrayResponse

type GenericArrayResponse struct {
	Status  string   `json:"status"`
	Data    []string `json:"data"`
	Message string   `json:"message"`
}

GenericArrayResponse represents a generic array response

func NewSuccessGenericArrayResponse

func NewSuccessGenericArrayResponse(data []string) *GenericArrayResponse

NewSuccessGenericArrayResponse creates a generic array response

type GenericPayload

type GenericPayload struct {
	Data string `json:"data"`
}

GenericPayload represents a generic HTTP request payload data structure

type GenericResponse

type GenericResponse struct {
	Result string `json:"result"`
}

GenericResponse represents a generic HTTP response data structure

func NewSuccessResponse

func NewSuccessResponse() *GenericResponse

NewSuccessResponse creates a response for the success case

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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