Documentation
¶
Overview ¶
Package od contains offer decisiong related functions.
Copyright 2021 Michael Bungenstock ¶
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.
Package od contains offer decisiong related functions.
Copyright 2021 Michael Bungenstock ¶
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.
Package od contains offer decisiong related functions.
Copyright 2021 Michael Bungenstock ¶
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.
Package od contains offer decisiong related functions.
Copyright 2021 Michael Bungenstock ¶
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.
Package od contains offer decisiong related functions.
Copyright 2021 Michael Bungenstock ¶
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.
Package od contains offer decisiong related functions.
Copyright 2021 Michael Bungenstock ¶
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.
Package od contains offer decisiong related functions.
Copyright 2021 Michael Bungenstock ¶
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.
Package od contains offer decisiong related functions.
Copyright 2021 Michael Bungenstock ¶
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.
Index ¶
- Variables
- func NewActivitiesCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewActivityCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewCollectionCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewCollectionsCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewFallbackCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewFallbacksCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewGetCommand(conf *helper.Configuration, ac *cache.AutoContainer, schema, use string, ...) *cobra.Command
- func NewOfferCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewOffersCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewPlacementCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewPlacementsCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewQueryCommand(conf *helper.Configuration, ac *cache.AutoContainer, schema, use string, ...) *cobra.Command
- func NewRuleCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewRulesCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewTagCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- func NewTagsCommand(auth *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
- type QueryConf
Constants ¶
This section is empty.
Variables ¶
var StatusMapper = util.Mapper{
"live": "● Live",
"approved": "● Approved",
"draft": "◯ Draft",
}
StatusMapper maps status values to a pretty representation
Functions ¶
func NewActivitiesCommand ¶
func NewActivitiesCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewActivitiesCommand creates an initialized command object
func NewActivityCommand ¶
func NewActivityCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewActivityCommand creates an initialized command object
func NewCollectionCommand ¶
func NewCollectionCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewCollectionCommand creates an initialized command object
func NewCollectionsCommand ¶
func NewCollectionsCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewCollectionsCommand creates an initialized command object
func NewFallbackCommand ¶
func NewFallbackCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewFallbackCommand creates an initialized command object
func NewFallbacksCommand ¶
func NewFallbacksCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewFallbacksCommand creates an initialized command object
func NewGetCommand ¶
func NewGetCommand(conf *helper.Configuration, ac *cache.AutoContainer, schema, use string, t helper.Transformer) *cobra.Command
NewGetCommand creates an initialized command object
func NewOfferCommand ¶
func NewOfferCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewOfferCommand creates an initialized command object
func NewOffersCommand ¶
func NewOffersCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewOffersCommand creates an initialized command object
func NewPlacementCommand ¶
func NewPlacementCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewPlacementCommand creates an initialized command object
func NewPlacementsCommand ¶
func NewPlacementsCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewPlacementsCommand creates an initialized command object
func NewQueryCommand ¶
func NewQueryCommand(conf *helper.Configuration, ac *cache.AutoContainer, schema, use string, t helper.Transformer) *cobra.Command
NewQueryCommand creates an initialized command object
func NewRuleCommand ¶
func NewRuleCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewRuleCommand creates an initialized command object
func NewRulesCommand ¶
func NewRulesCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewRulesCommand creates an initialized command object
func NewTagCommand ¶
func NewTagCommand(conf *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewTagCommand creates an initialized command object
func NewTagsCommand ¶
func NewTagsCommand(auth *helper.Configuration, ac *cache.AutoContainer) *cobra.Command
NewTagsCommand creates an initialized command object
Types ¶
type QueryConf ¶
QueryConf stores the values of the query command
func (*QueryConf) AddQueryFlags ¶
AddQueryFlags adds all flags offered by a query command