cmd

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: BSD-2-Clause Imports: 28 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

View Source
var ErrSilent = errors.New("ErrSilent")

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewRootCommand

func NewRootCommand() *cobra.Command

func NoArgs

func NoArgs(cmd *cobra.Command, args []string) error

Function for commands that provide no arguments. This will turn usage back on so that it will be output if a user tries to pass in an argument when they should not

func RelaxedJSONPathExpression

func RelaxedJSONPathExpression(pathExpression string) (string, error)

RelaxedJSONPathExpression attempts to be flexible with JSONPath expressions, it accepts:

  • metadata.name (no leading '.' or curly braces '{...}'
  • {metadata.name} (no leading '.')
  • .metadata.name (no curly braces '{...}')
  • {.metadata.name} (complete expression)

And transforms them all into a valid jsonpath expression:

{.metadata.name}

Types

type BackupResource

type BackupResource struct {
	Id int `json:"id"`
}

type DeploymentParameter

type DeploymentParameter struct {
	Name    string    `json:"name"`
	Owner   string    `json:"owner"`
	Type    string    `json:"type"`
	Updated time.Time `json:"updated"`
	Value   string    `json:"value"`
}

type DeploymentParameters

type DeploymentParameters struct {
	Items      []DeploymentParameter `json:"items"`
	Limit      int                   `json:"limit"`
	Offset     int                   `json:"offset"`
	TotalCount int                   `json:"totalCount"`
}

type Directive

type Directive struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

type Engine

type Engine struct {
	HostName                    string        `json:"hostName"`
	AssignedQueues              []string      `json:"assignedQueues"`
	ResultFailureCount          int           `json:"resultFailureCount"`
	InstanceName                string        `json:"instanceName"`
	RegistrationProperties      []string      `json:"registrationProperties"`
	EngineManagerNodeName       string        `json:"engineManagerNodeName"`
	MaxTransactionResultFailure int           `json:"maxTransactionResultFailure"`
	Type                        string        `json:"type"`
	BuildNumber                 int           `json:"buildNumber"`
	Platform                    string        `json:"platform"`
	ResultSuccessCount          int           `json:"resultSuccessCount"`
	MaxTransactionResultSuccess int           `json:"maxTransactionResultSuccess"`
	AssignedStreams             []interface{} `json:"assignedStreams"`
	TransactionPort             int           `json:"transactionPort"`
	CurrentJobID                int           `json:"currentJobID"`
}

type Engines

type Engines struct {
	Offset     int      `json:"offset"`
	Limit      int      `json:"limit"`
	TotalCount int      `json:"totalCount"`
	Items      []Engine `json:"items"`
}

type FMEFlowInfo

type FMEFlowInfo struct {
	CurrentTime       string `json:"currentTime"`
	LicenseManagement bool   `json:"licenseManagement"`
	Build             string `json:"build"`
	TimeZone          string `json:"timeZone"`
	Version           string `json:"version"`
}

type FMEFlowProjects

type FMEFlowProjects struct {
	Offset     int       `json:"offset"`
	Limit      int       `json:"limit"`
	TotalCount int       `json:"totalCount"`
	Items      []Project `json:"items"`
}

type FMEFlowRepositoriesV3

type FMEFlowRepositoriesV3 struct {
	Offset     int                   `json:"offset"`
	Limit      int                   `json:"limit"`
	TotalCount int                   `json:"totalCount"`
	Items      []FMEFlowRepositoryV3 `json:"items"`
}

type FMEFlowRepositoriesV4

type FMEFlowRepositoriesV4 struct {
	Items      []FMEFlowRepositoryV4 `json:"items"`
	Limit      int                   `json:"limit"`
	Offset     int                   `json:"offset"`
	TotalCount int                   `json:"totalCount"`
}

type FMEFlowRepositoryV3

type FMEFlowRepositoryV3 struct {
	Owner       string `json:"owner"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Sharable    bool   `json:"sharable"`
}

type FMEFlowRepositoryV4

type FMEFlowRepositoryV4 struct {
	CustomFormatCount      int    `json:"customFormatCount"`
	CustomTransformerCount int    `json:"customTransformerCount"`
	Description            string `json:"description"`
	FileCount              int    `json:"fileCount"`
	Name                   string `json:"name"`
	Owner                  string `json:"owner"`
	OwnerID                string `json:"ownerID"`
	Sharable               bool   `json:"sharable"`
	TemplateCount          int    `json:"templateCount"`
	TotalFileSize          int    `json:"totalFileSize"`
	WorkspaceCount         int    `json:"workspaceCount"`
}

type FMEFlowWorkspaceDetailedV3

type FMEFlowWorkspaceDetailedV3 struct {
	LegalTermsConditions string  `json:"legalTermsConditions"`
	AvgCPUPct            float64 `json:"avgCpuPct"`
	Usage                string  `json:"usage"`
	AvgPeakMemUsage      int     `json:"avgPeakMemUsage"`
	Description          string  `json:"description"`
	Datasets             struct {
		Destination []struct {
			Format       string `json:"format"`
			Name         string `json:"name"`
			Location     string `json:"location"`
			Source       bool   `json:"source"`
			Featuretypes []struct {
				Name        string `json:"name"`
				Description string `json:"description"`
				Attributes  []struct {
					Decimals int    `json:"decimals"`
					Name     string `json:"name"`
					Width    int    `json:"width"`
					Type     string `json:"type"`
				} `json:"attributes"`
				Properties []interface{} `json:"properties"`
			} `json:"featuretypes"`
			Properties []struct {
				Name       string `json:"name"`
				Attributes struct {
				} `json:"attributes"`
				Category string `json:"category"`
				Value    string `json:"value"`
			} `json:"properties"`
		} `json:"destination"`
		Source []struct {
			Format       string `json:"format"`
			Name         string `json:"name"`
			Location     string `json:"location"`
			Source       bool   `json:"source"`
			Featuretypes []struct {
				Name        string `json:"name"`
				Description string `json:"description"`
				Attributes  []struct {
					Decimals int    `json:"decimals"`
					Name     string `json:"name"`
					Width    int    `json:"width"`
					Type     string `json:"type"`
				} `json:"attributes"`
				Properties []interface{} `json:"properties"`
			} `json:"featuretypes"`
			Properties []struct {
				Name       string `json:"name"`
				Attributes struct {
				} `json:"attributes"`
				Category string `json:"category"`
				Value    string `json:"value"`
			} `json:"properties"`
		} `json:"source"`
	} `json:"datasets"`
	Title           string    `json:"title"`
	Type            string    `json:"type"`
	BuildNumber     int       `json:"buildNumber"`
	Enabled         bool      `json:"enabled"`
	AvgCPUTime      int       `json:"avgCpuTime"`
	LastPublishDate time.Time `json:"lastPublishDate"`
	LastSaveBuild   string    `json:"lastSaveBuild"`
	AvgElapsedTime  int       `json:"avgElapsedTime"`
	LastSaveDate    time.Time `json:"lastSaveDate"`
	Requirements    string    `json:"requirements"`
	Resources       []struct {
		Size        int    `json:"size"`
		Name        string `json:"name"`
		Description string `json:"description"`
	} `json:"resources"`
	History  string `json:"history"`
	Services []struct {
		DisplayName string `json:"displayName"`
		Name        string `json:"name"`
	} `json:"services"`
	UserName            string        `json:"userName"`
	RequirementsKeyword string        `json:"requirementsKeyword"`
	FileSize            int           `json:"fileSize"`
	Name                string        `json:"name"`
	TotalRuns           int           `json:"totalRuns"`
	Category            string        `json:"category"`
	Parameters          []interface{} `json:"parameters"`
	Properties          []struct {
		Name       string `json:"name"`
		Attributes struct {
		} `json:"attributes"`
		Category string `json:"category"`
		Value    string `json:"value"`
	} `json:"properties"`
}

type FMEFlowWorkspaceDetailedV4

type FMEFlowWorkspaceDetailedV4 struct {
	AverageCPUPercent      float64 `json:"averageCpuPercent"`
	AverageCPUTime         float64 `json:"averageCpuTime"`
	AverageElapsedTime     float64 `json:"averageElapsedTime"`
	AveragePeakMemoryUsage int     `json:"averagePeakMemoryUsage"`
	BuildNumber            int     `json:"buildNumber"`
	Category               string  `json:"category"`
	Datasets               struct {
		Destination []struct {
			FeatureTypes []struct {
				Attributes []struct {
					Decimals int    `json:"decimals"`
					Name     string `json:"name"`
					Type     string `json:"type"`
					Width    int    `json:"width"`
				} `json:"attributes"`
				Description string `json:"description"`
				Name        string `json:"name"`
				Properties  []struct {
					Attributes struct {
						AdditionalProp1 string `json:"additionalProp1"`
						AdditionalProp2 string `json:"additionalProp2"`
						AdditionalProp3 string `json:"additionalProp3"`
					} `json:"attributes"`
					Category string `json:"category"`
					Name     string `json:"name"`
					Value    string `json:"value"`
				} `json:"properties"`
			} `json:"featureTypes"`
			Format     string `json:"format"`
			Location   string `json:"location"`
			Name       string `json:"name"`
			Properties []struct {
				Attributes struct {
					AdditionalProp1 string `json:"additionalProp1"`
					AdditionalProp2 string `json:"additionalProp2"`
					AdditionalProp3 string `json:"additionalProp3"`
				} `json:"attributes"`
				Category string `json:"category"`
				Name     string `json:"name"`
				Value    string `json:"value"`
			} `json:"properties"`
			Source bool `json:"source"`
		} `json:"destination"`
		Source []struct {
			FeatureTypes []struct {
				Attributes []struct {
					Decimals int    `json:"decimals"`
					Name     string `json:"name"`
					Type     string `json:"type"`
					Width    int    `json:"width"`
				} `json:"attributes"`
				Description string `json:"description"`
				Name        string `json:"name"`
				Properties  []struct {
					Attributes struct {
						AdditionalProp1 string `json:"additionalProp1"`
						AdditionalProp2 string `json:"additionalProp2"`
						AdditionalProp3 string `json:"additionalProp3"`
					} `json:"attributes"`
					Category string `json:"category"`
					Name     string `json:"name"`
					Value    string `json:"value"`
				} `json:"properties"`
			} `json:"featureTypes"`
			Format     string `json:"format"`
			Location   string `json:"location"`
			Name       string `json:"name"`
			Properties []struct {
				Attributes struct {
					AdditionalProp1 string `json:"additionalProp1"`
					AdditionalProp2 string `json:"additionalProp2"`
					AdditionalProp3 string `json:"additionalProp3"`
				} `json:"attributes"`
				Category string `json:"category"`
				Name     string `json:"name"`
				Value    string `json:"value"`
			} `json:"properties"`
			Source bool `json:"source"`
		} `json:"source"`
	} `json:"datasets"`
	Description          string    `json:"description"`
	Favorite             bool      `json:"favorite"`
	FileSize             int       `json:"fileSize"`
	History              string    `json:"history"`
	LastPublishDate      time.Time `json:"lastPublishDate"`
	LastSaveBuild        string    `json:"lastSaveBuild"`
	LastSaveDate         time.Time `json:"lastSaveDate"`
	LegalTermsConditions string    `json:"legalTermsConditions"`
	Name                 string    `json:"name"`
	Parameters           []struct {
		AdditionalProp1 struct {
		} `json:"additionalProp1"`
		AdditionalProp2 struct {
		} `json:"additionalProp2"`
		AdditionalProp3 struct {
		} `json:"additionalProp3"`
	} `json:"parameters"`
	Properties []struct {
		Attributes struct {
			AdditionalProp1 string `json:"additionalProp1"`
			AdditionalProp2 string `json:"additionalProp2"`
			AdditionalProp3 string `json:"additionalProp3"`
		} `json:"attributes"`
		Category string `json:"category"`
		Name     string `json:"name"`
		Value    string `json:"value"`
	} `json:"properties"`
	Requirements        string `json:"requirements"`
	RequirementsKeyword string `json:"requirementsKeyword"`
	Resources           []struct {
		Name string `json:"name"`
		Size int    `json:"size"`
	} `json:"resources"`
	Services struct {
		DataDownload struct {
			Reader     string   `json:"reader"`
			Registered bool     `json:"registered"`
			Writers    []string `json:"writers"`
			ZipLayout  struct {
				AdditionalProp1 string `json:"additionalProp1"`
				AdditionalProp2 string `json:"additionalProp2"`
				AdditionalProp3 string `json:"additionalProp3"`
			} `json:"zipLayout"`
		} `json:"dataDownload"`
		DataStreaming struct {
			Reader     string   `json:"reader"`
			Registered bool     `json:"registered"`
			Writers    []string `json:"writers"`
		} `json:"dataStreaming"`
		JobSubmitter struct {
			Reader     string `json:"reader"`
			Registered bool   `json:"registered"`
		} `json:"jobSubmitter"`
		KmlNetworkLink struct {
			Description  string `json:"description"`
			LatLonAltBox struct {
				East  int `json:"east"`
				North int `json:"north"`
				South int `json:"south"`
				West  int `json:"west"`
			} `json:"latLonAltBox"`
			Link struct {
				RefreshMode         string `json:"refreshMode"`
				ViewFormat          string `json:"viewFormat"`
				ViewRefreshInterval int    `json:"viewRefreshInterval"`
				ViewRefreshMode     string `json:"viewRefreshMode"`
				ViewRefreshTime     int    `json:"viewRefreshTime"`
			} `json:"link"`
			Lod struct {
				MaxLodPixels int `json:"maxLodPixels"`
				MinLodPixels int `json:"minLodPixels"`
			} `json:"lod"`
			Name       string   `json:"name"`
			Registered bool     `json:"registered"`
			Visibility string   `json:"visibility"`
			Writers    []string `json:"writers"`
		} `json:"kmlNetworkLink"`
	} `json:"services"`
	Title     string `json:"title"`
	TotalRuns int    `json:"totalRuns"`
	Type      string `json:"type"`
	Usage     string `json:"usage"`
	UserName  string `json:"userName"`
}

type FMEFlowWorkspaceV3

type FMEFlowWorkspaceV3 struct {
	LastSaveDate    time.Time `json:"lastSaveDate"`
	AvgCPUPct       float64   `json:"avgCpuPct"`
	AvgPeakMemUsage int       `json:"avgPeakMemUsage"`
	Description     string    `json:"description"`
	RepositoryName  string    `json:"repositoryName"`
	Title           string    `json:"title"`
	Type            string    `json:"type"`
	UserName        string    `json:"userName"`
	FileCount       int       `json:"fileCount"`
	AvgCPUTime      int       `json:"avgCpuTime"`
	LastPublishDate time.Time `json:"lastPublishDate"`
	Name            string    `json:"name"`
	TotalFileSize   int       `json:"totalFileSize"`
	TotalRuns       int       `json:"totalRuns"`
	AvgElapsedTime  int       `json:"avgElapsedTime"`
}

type FMEFlowWorkspacesV3

type FMEFlowWorkspacesV3 struct {
	Offset     int                  `json:"offset"`
	Limit      int                  `json:"limit"`
	TotalCount int                  `json:"totalCount"`
	Items      []FMEFlowWorkspaceV3 `json:"items"`
}

type FMEFlowWorkspacesV4

type FMEFlowWorkspacesV4 struct {
	Items []struct {
		AverageCPUPercent      float64   `json:"averageCpuPercent"`
		AverageCPUTime         float64   `json:"averageCpuTime"`
		AverageElapsedTime     float64   `json:"averageElapsedTime"`
		AveragePeakMemoryUsage int       `json:"averagePeakMemoryUsage"`
		Description            string    `json:"description"`
		Favorite               bool      `json:"favorite"`
		FileCount              int       `json:"fileCount"`
		LastPublishDate        time.Time `json:"lastPublishDate"`
		LastPublishUser        string    `json:"lastPublishUser"`
		LastPublishUserID      string    `json:"lastPublishUserId"`
		LastSaveDate           time.Time `json:"lastSaveDate"`
		Name                   string    `json:"name"`
		RepositoryName         string    `json:"repositoryName"`
		Title                  string    `json:"title"`
		TotalFileSize          int       `json:"totalFileSize"`
		TotalRuns              int       `json:"totalRuns"`
		Type                   string    `json:"type"`
	} `json:"items"`
	Limit      int `json:"limit"`
	Offset     int `json:"offset"`
	TotalCount int `json:"totalCount"`
}

type HealthcheckV3

type HealthcheckV3 struct {
	Status string `json:"status"`
}

type HealthcheckV4

type HealthcheckV4 struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

type JobId

type JobId struct {
	Id int `json:"id"`
}

type JobRequest

type JobRequest struct {
	PublishedParameters    []interface{}     `json:"-"`
	RawPublishedParameters []json.RawMessage `json:"publishedParameters,omitempty"`
	TMDirectives           struct {
		Rtc         bool   `json:"rtc"`
		Ttc         int    `json:"ttc,omitempty"`
		Description string `json:"description,omitempty"`
		Tag         string `json:"tag,omitempty"`
		TTL         int    `json:"ttl,omitempty"`
	} `json:"TMDirectives,omitempty"`
	NMDirectives struct {
		Directives    []Directive `json:"directives,omitempty"`
		SuccessTopics []string    `json:"successTopics,omitempty"`
		FailureTopics []string    `json:"failureTopics,omitempty"`
	} `json:"NMDirectives,omitempty"`
}

func (*JobRequest) MarshalJSON

func (f *JobRequest) MarshalJSON() ([]byte, error)

func (*JobRequest) UnmarshalJSON

func (f *JobRequest) UnmarshalJSON(b []byte) error

since the JSON for published parameters has subtypes, we need to implement this ourselves

type JobResult

type JobResult struct {
	TimeRequested       time.Time `json:"timeRequested"`
	RequesterResultPort int       `json:"requesterResultPort"`
	NumFeaturesOutput   int       `json:"numFeaturesOutput"`
	RequesterHost       string    `json:"requesterHost"`
	TimeStarted         time.Time `json:"timeStarted"`
	ID                  int       `json:"id"`
	TimeFinished        time.Time `json:"timeFinished"`
	Priority            int       `json:"priority"`
	StatusMessage       string    `json:"statusMessage"`
	Status              string    `json:"status"`
}

type JobStatus

type JobStatus struct {
	Request       JobRequest `json:"request"`
	TimeDelivered time.Time  `json:"timeDelivered"`
	Workspace     string     `json:"workspace"`
	NumErrors     int        `json:"numErrors"`
	NumLines      int        `json:"numLines"`
	EngineHost    string     `json:"engineHost"`
	TimeQueued    time.Time  `json:"timeQueued"`
	CPUPct        float64    `json:"cpuPct"`
	Description   string     `json:"description"`
	TimeStarted   time.Time  `json:"timeStarted"`
	Repository    string     `json:"repository"`
	UserName      string     `json:"userName"`
	Result        JobResult  `json:"result"`
	CPUTime       int        `json:"cpuTime"`
	ID            int        `json:"id"`
	TimeFinished  time.Time  `json:"timeFinished"`
	EngineName    string     `json:"engineName"`
	NumWarnings   int        `json:"numWarnings"`
	TimeSubmitted time.Time  `json:"timeSubmitted"`
	ElapsedTime   int        `json:"elapsedTime"`
	PeakMemUsage  int        `json:"peakMemUsage"`
	Status        string     `json:"status"`
}

type Jobs

type Jobs struct {
	Offset     int         `json:"offset"`
	Limit      int         `json:"limit"`
	TotalCount int         `json:"totalCount"`
	Items      []JobStatus `json:"items"`
}

type LicenseStatus

type LicenseStatus struct {
	ExpiryDate       string `json:"expiryDate"`
	MaximumEngines   int    `json:"maximumEngines"`
	SerialNumber     string `json:"serialNumber"`
	IsLicenseExpired bool   `json:"isLicenseExpired"`
	IsLicensed       bool   `json:"isLicensed"`
	MaximumAuthors   int    `json:"maximumAuthors"`
}

type ListParameter

type ListParameter struct {
	Value []string `json:"value"`
	PublishedParameter
}

type MachineKey

type MachineKey struct {
	MachineKey string `json:"machineKey"`
}

type Message

type Message struct {
	Message string `json:"message"`
}

type MutableProjectItemName

type MutableProjectItemName struct {
	Name string `json:"name"`
	UUID string `json:"uuid"`
}

type NewDeplymentParameter

type NewDeplymentParameter struct {
	Type  string `json:"type"`
	Name  string `json:"name"`
	Value string `json:"value"`
}

type NewRepository

type NewRepository struct {
	Description string `json:"description"`
	Name        string `json:"name"`
}

type Project

type Project struct {
	Owner              string                   `json:"owner"`
	UID                string                   `json:"uid"`
	LastSaveDate       time.Time                `json:"lastSaveDate"`
	HasIcon            bool                     `json:"hasIcon"`
	Name               string                   `json:"name"`
	Description        string                   `json:"description"`
	Sharable           bool                     `json:"sharable"`
	Readme             string                   `json:"readme"`
	UserName           string                   `json:"userName"`
	Version            string                   `json:"version"`
	FmeHubPublisherUID string                   `json:"fmeHubPublisherUid"`
	Accounts           []ProjectItem            `json:"accounts"`
	AppSuites          []ProjectItem            `json:"appSuites"`
	Apps               []ProjectItem            `json:"apps"`
	AutomationApps     []MutableProjectItemName `json:"automationApps"`
	Automations        []MutableProjectItemName `json:"automations"`
	CleanupTasks       []struct {
		Category string `json:"category"`
		Name     string `json:"name"`
	}
	Connections         []ProjectItem      `json:"connections"`
	CustomFormats       []RepositoryItem   `json:"customFormats"`
	CustomTransformers  []RepositoryItem   `json:"customTransformers"`
	Projects            []ProjectItem      `json:"projects"`
	Publications        []ProjectItem      `json:"publications"`
	Repositories        []ProjectItem      `json:"repositories"`
	ResourceConnections []ProjectItem      `json:"resourceConnections"`
	ResourcePaths       []ResourcePathItem `json:"resourcePaths"`
	Roles               []ProjectItem      `json:"roles"`
	Schedules           []struct {
		Name     string `json:"name"`
		Category string `json:"category"`
	}
	Streams       []MutableProjectItemName `json:"streams"`
	Subscriptions []ProjectItem            `json:"subscriptions"`
	Templates     []RepositoryItem         `json:"templates"`
	Tokens        []struct {
		Name     string `json:"name"`
		UserName string `json:"userName"`
	}
	Topics     []ProjectItem    `json:"topics"`
	Workspaces []RepositoryItem `json:"workspaces"`
}

type ProjectItem

type ProjectItem struct {
	Name string `json:"name"`
}

type ProjectUploadTask

type ProjectUploadTask struct {
	Id int `json:"id"`
}

type ProjectsResource

type ProjectsResource struct {
	Id int `json:"id"`
}

type PublishedParameter

type PublishedParameter struct {
	Name string `json:"name"`
}

type RefreshStatus

type RefreshStatus struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

type RepositoryItem

type RepositoryItem struct {
	Name           string `json:"name"`
	RepositoryName string `json:"repositoryName"`
}

type RequestStatus

type RequestStatus struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

type ResourcePathItem

type ResourcePathItem struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

type RestoreResource

type RestoreResource struct {
	Id int `json:"id"`
}

type SimpleParameter

type SimpleParameter struct {
	Value string `json:"value"`
	PublishedParameter
}

type SystemCode

type SystemCode struct {
	SystemCode string `json:"systemCode"`
}

type TokenRequest

type TokenRequest struct {
	Restricted        bool   `json:"restricted"`
	Name              string `json:"name"`
	Description       string `json:"description"`
	ExpirationTimeout int    `json:"expirationTimeout"`
	User              string `json:"user"`
	Enabled           bool   `json:"enabled"`
}

type TokenResponse

type TokenResponse struct {
	LastSaveDate   time.Time `json:"lastSaveDate"`
	CreatedDate    time.Time `json:"createdDate"`
	Restricted     bool      `json:"restricted"`
	Name           string    `json:"name"`
	Description    string    `json:"description"`
	Type           string    `json:"type"`
	User           string    `json:"user"`
	Enabled        bool      `json:"enabled"`
	ExpirationDate time.Time `json:"expirationDate"`
	Token          string    `json:"token"`
}

type UpdateDeplymentParameter

type UpdateDeplymentParameter struct {
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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