casc

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareForSASCApply

func PrepareForSASCApply(roundTripper *mhttp.MockRoundTripper, rootURL, user, password string)

PrepareForSASCApply only for test

func PrepareForSASCExport

func PrepareForSASCExport(roundTripper *mhttp.MockRoundTripper, rootURL, user, password string) (
	response *http.Response)

PrepareForSASCExport only for test

func PrepareForSASCExportWithCode

func PrepareForSASCExportWithCode(roundTripper *mhttp.MockRoundTripper, rootURL, user, password string, code int)

PrepareForSASCExportWithCode only for test

func PrepareForSASCReload

func PrepareForSASCReload(roundTripper *mhttp.MockRoundTripper, rootURL, user, password string)

PrepareForSASCReload only for test

func PrepareForSASCSchema

func PrepareForSASCSchema(roundTripper *mhttp.MockRoundTripper, rootURL, user, password string) (
	response *http.Response)

PrepareForSASCSchema only for test

func PrepareForSASCSchemaWithCode

func PrepareForSASCSchemaWithCode(roundTripper *mhttp.MockRoundTripper, rootURL, user, password string, code int)

PrepareForSASCSchemaWithCode only for test

Types

type Manager

type Manager struct {
	core.JenkinsCore
}

Manager is the client of configuration as code

func (*Manager) Apply

func (c *Manager) Apply() (err error)

Apply apply the config of configuration-as-code

func (*Manager) Export

func (c *Manager) Export() (config string, err error)

Export exports the config of configuration-as-code

func (*Manager) Reload

func (c *Manager) Reload() (err error)

Reload reloads the config of configuration-as-code

func (*Manager) Schema

func (c *Manager) Schema() (schema string, err error)

Schema get the schema of configuration-as-code

Jump to

Keyboard shortcuts

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