Documentation ¶
Overview ¶
Copyright 2016 Capital One Services, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
SPDX-Copyright: Copyright (c) Capital One Services, LLC SPDX-License-Identifier: Apache-2.0
Copyright 2016 Capital One Services, LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
SPDX-Copyright: Copyright (c) Capital One Services, LLC SPDX-License-Identifier: Apache-2.0
Copyright 2016 Capital One Services, LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
SPDX-Copyright: Copyright (c) Capital One Services, LLC SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OkResponse ¶
Types ¶
type Artifact ¶
type Artifact struct { Repo string // Target Repository to use for the artifact Group string // Target Repository group (default: com.capitalone.bankoao) Name string // Target Repository artifact name (default: bankoao_inf_nagios) FileName string // File to upload Version string // version of the artifact }
type ArtifactAccessor ¶
type NexusArtifact ¶
type NexusArtifact struct { Artifact User string // Repository user Password string // Repository Password Url string // Repository URL }
func (*NexusArtifact) Download ¶
func (a *NexusArtifact) Download()
func (*NexusArtifact) Promote ¶
func (a *NexusArtifact) Promote(fromRepo string)
type S3Artifact ¶
type S3Artifact struct { Artifact BucketUrl string Path string Bucket string Region string Key string Encrypt bool }
func (*S3Artifact) Download ¶
func (a *S3Artifact) Download()
func (*S3Artifact) Promote ¶
func (a *S3Artifact) Promote(fromRepo string)
func (*S3Artifact) Upload ¶
func (a *S3Artifact) Upload() string